Lines Matching refs:mask_buf
36 unsigned int *mask_buf; member
135 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock()
139 d->mask_buf_def[i], ~d->mask_buf[i]); in regmap_irq_sync_unlock()
150 d->mask_buf[i]); in regmap_irq_sync_unlock()
153 d->mask_buf_def[i], d->mask_buf[i]); in regmap_irq_sync_unlock()
182 if (d->mask_buf[i] && (d->chip->ack_base || d->chip->use_ack)) { in regmap_irq_sync_unlock()
187 ret = regmap_write(map, reg, ~d->mask_buf[i]); in regmap_irq_sync_unlock()
189 ret = regmap_write(map, reg, d->mask_buf[i]); in regmap_irq_sync_unlock()
279 d->mask_buf[reg] &= ~mask; in regmap_irq_enable()
288 d->mask_buf[irq_data->reg_offset / map->reg_stride] |= irq_data->mask; in regmap_irq_disable()
546 data->status_buf[i] &= ~data->mask_buf[i]; in regmap_irq_thread()
686 d->mask_buf = kcalloc(chip->num_regs, sizeof(unsigned int), in regmap_add_irq_chip_fwnode()
688 if (!d->mask_buf) in regmap_add_irq_chip_fwnode()
768 d->mask_buf[i] = d->mask_buf_def[i]; in regmap_add_irq_chip_fwnode()
776 d->mask_buf[i], ~d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
782 d->mask_buf[i], in regmap_add_irq_chip_fwnode()
783 d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
786 d->mask_buf[i], d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
812 ~(d->status_buf[i] & d->mask_buf[i])); in regmap_add_irq_chip_fwnode()
815 d->status_buf[i] & d->mask_buf[i]); in regmap_add_irq_chip_fwnode()
902 kfree(d->mask_buf); in regmap_add_irq_chip_fwnode()
977 kfree(d->mask_buf); in regmap_del_irq_chip()