Lines Matching refs:rid
53 struct regulator_irq_data *rid; in regulator_notifier_isr_work() local
61 rid = &h->rdata; in regulator_notifier_isr_work()
62 num_rdevs = rid->num_states; in regulator_notifier_isr_work()
69 ret = d->die(rid); in regulator_notifier_isr_work()
86 ret = d->renable(rid); in regulator_notifier_isr_work()
107 stat = &rid->states[i]; in regulator_notifier_isr_work()
132 stat = &rid->states[i]; in regulator_notifier_isr_work()
160 struct regulator_irq_data *rid; in regulator_notifier_isr() local
166 rid = &h->rdata; in regulator_notifier_isr()
167 num_rdevs = rid->num_states; in regulator_notifier_isr()
179 ret = d->map_event(irq, rid, &rdev_map); in regulator_notifier_isr()
214 rdev = rid->states[i].rdev; in regulator_notifier_isr()
240 stat = &rid->states[i]; in regulator_notifier_isr()
269 ret = d->die(rid); in regulator_notifier_isr()
415 int regulator_irq_map_event_simple(int irq, struct regulator_irq_data *rid, in regulator_irq_map_event_simple() argument
418 int err = rid->states[0].possible_errs; in regulator_irq_map_event_simple()
427 if (WARN_ON(rid->num_states != 1 || hweight32(err) != 1)) in regulator_irq_map_event_simple()
430 rid->states[0].errors = err; in regulator_irq_map_event_simple()
431 rid->states[0].notifs = regulator_err2notif(err); in regulator_irq_map_event_simple()