Lines Matching refs:mask_buf
39 unsigned int *mask_buf; member
120 d->mask_buf_def[i], d->mask_buf[i]); in regmap_irq_sync_unlock()
129 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock()
158 if (d->mask_buf[i] && (d->chip->ack_base || d->chip->use_ack)) { in regmap_irq_sync_unlock()
163 ret = regmap_write(map, reg, ~d->mask_buf[i]); in regmap_irq_sync_unlock()
165 ret = regmap_write(map, reg, d->mask_buf[i]); in regmap_irq_sync_unlock()
263 d->mask_buf[reg] &= ~mask; in regmap_irq_enable()
272 d->mask_buf[irq_data->reg_offset / map->reg_stride] |= irq_data->mask; in regmap_irq_disable()
550 data->status_buf[i] &= ~data->mask_buf[i]; in regmap_irq_thread()
782 d->mask_buf = kcalloc(chip->num_regs, sizeof(*d->mask_buf), in regmap_add_irq_chip_fwnode()
784 if (!d->mask_buf) in regmap_add_irq_chip_fwnode()
917 d->mask_buf[i] = d->mask_buf_def[i]; in regmap_add_irq_chip_fwnode()
922 d->mask_buf_def[i], d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
933 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
960 ~(d->status_buf[i] & d->mask_buf[i])); in regmap_add_irq_chip_fwnode()
963 d->status_buf[i] & d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
1050 kfree(d->mask_buf); in regmap_add_irq_chip_fwnode()
1130 kfree(d->mask_buf); in regmap_del_irq_chip()