Lines Matching refs:num_regs
95 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock()
112 for (i = 0; i < d->chip->num_regs; i++) { in regmap_irq_sync_unlock()
322 for (i = 0; i < subreg->num_regs; i++) { in read_sub_irq_data()
364 memset32(data->status_buf, GENMASK(31, 0), chip->num_regs); in regmap_irq_thread()
369 chip->num_main_status_bits : chip->num_regs; in regmap_irq_thread()
371 memset32(data->status_buf, 0, chip->num_regs); in regmap_irq_thread()
419 chip->num_regs); in regmap_irq_thread()
426 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread()
444 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread()
459 for (i = 0; i < data->chip->num_regs; i++) in regmap_irq_thread()
469 for (i = 0; i < data->chip->num_regs; i++) { in regmap_irq_thread()
664 if (chip->num_regs <= 0) in regmap_add_irq_chip_fwnode()
677 chip->num_regs) in regmap_add_irq_chip_fwnode()
703 d->status_buf = kcalloc(chip->num_regs, sizeof(*d->status_buf), in regmap_add_irq_chip_fwnode()
708 d->mask_buf = kcalloc(chip->num_regs, sizeof(*d->mask_buf), in regmap_add_irq_chip_fwnode()
713 d->mask_buf_def = kcalloc(chip->num_regs, sizeof(*d->mask_buf_def), in regmap_add_irq_chip_fwnode()
719 d->wake_buf = kcalloc(chip->num_regs, sizeof(*d->wake_buf), in regmap_add_irq_chip_fwnode()
726 d->type_buf_def = kcalloc(chip->num_regs, in regmap_add_irq_chip_fwnode()
731 d->type_buf = kcalloc(chip->num_regs, sizeof(*d->type_buf), GFP_KERNEL); in regmap_add_irq_chip_fwnode()
772 d->status_reg_buf = kmalloc_array(chip->num_regs, in regmap_add_irq_chip_fwnode()
786 for (i = 0; i < chip->num_regs; i++) { in regmap_add_irq_chip_fwnode()
864 for (i = 0; i < chip->num_regs; i++) { in regmap_add_irq_chip_fwnode()