Lines Matching refs:mask_buf
36 unsigned int *mask_buf; member
115 d->mask_buf[i], in regmap_irq_sync_unlock()
122 d->mask_buf[i]); in regmap_irq_sync_unlock()
130 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock()
159 if (d->mask_buf[i] && (d->chip->ack_base || d->chip->use_ack)) { in regmap_irq_sync_unlock()
164 ret = regmap_write(map, reg, ~d->mask_buf[i]); in regmap_irq_sync_unlock()
166 ret = regmap_write(map, reg, d->mask_buf[i]); in regmap_irq_sync_unlock()
232 d->mask_buf[reg] &= ~mask; in regmap_irq_enable()
241 d->mask_buf[irq_data->reg_offset / map->reg_stride] |= irq_data->mask; in regmap_irq_disable()
473 data->status_buf[i] &= ~data->mask_buf[i]; in regmap_irq_thread()
683 d->mask_buf = kcalloc(chip->num_regs, sizeof(*d->mask_buf), in regmap_add_irq_chip_fwnode()
685 if (!d->mask_buf) in regmap_add_irq_chip_fwnode()
762 d->mask_buf[i] = d->mask_buf_def[i]; in regmap_add_irq_chip_fwnode()
766 d->mask_buf[i], in regmap_add_irq_chip_fwnode()
776 d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
787 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
819 ~(d->status_buf[i] & d->mask_buf[i])); in regmap_add_irq_chip_fwnode()
822 d->status_buf[i] & d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
892 kfree(d->mask_buf); in regmap_add_irq_chip_fwnode()
967 kfree(d->mask_buf); in regmap_del_irq_chip()