Home
last modified time | relevance | path

Searched refs:rdev_map (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/regulator/
Drtq2208-regulator.c265 static int rtq2208_init_irq_mask(struct rtq2208_rdev_map *rdev_map, unsigned int *buck_masks) in rtq2208_init_irq_mask() argument
272 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_FLT_RECORDBUCK_CB, buck_clr_masks, 5); in rtq2208_init_irq_mask()
274 return dev_err_probe(rdev_map->dev, ret, "Failed to clr buck irqs\n"); in rtq2208_init_irq_mask()
277 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_GLOBAL_INT1, sts_clr_masks, 2); in rtq2208_init_irq_mask()
279 return dev_err_probe(rdev_map->dev, ret, "Failed to clr general irqs\n"); in rtq2208_init_irq_mask()
282 ret = regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_FLT_MASKBUCK_CB, buck_masks, 5); in rtq2208_init_irq_mask()
284 return dev_err_probe(rdev_map->dev, ret, "Failed to unmask buck irqs\n"); in rtq2208_init_irq_mask()
287 return regmap_bulk_write(rdev_map->regmap, RTQ2208_REG_GLOBAL_INT1_MASK, sts_masks, 2); in rtq2208_init_irq_mask()
294 struct rtq2208_rdev_map *rdev_map = devid; in rtq2208_irq_handler() local
297 if (!rdev_map) in rtq2208_irq_handler()
[all …]
Dirq_helpers.c161 unsigned long rdev_map = 0; in regulator_notifier_isr() local
179 ret = d->map_event(irq, rid, &rdev_map); in regulator_notifier_isr()
202 if (ret || !rdev_map) in regulator_notifier_isr()
210 for_each_set_bit(i, &rdev_map, num_rdevs) { in regulator_notifier_isr()
236 for_each_set_bit(i, &rdev_map, num_rdevs) { in regulator_notifier_isr()