Lines Matching refs:status_buf
38 unsigned int *status_buf; member
253 data->status_buf[i] = buf8[i]; in regmap_irq_thread()
256 data->status_buf[i] = buf16[i]; in regmap_irq_thread()
259 data->status_buf[i] = buf32[i]; in regmap_irq_thread()
272 &data->status_buf[i]); in regmap_irq_thread()
293 data->status_buf[i] &= ~data->mask_buf[i]; in regmap_irq_thread()
295 if (data->status_buf[i] && (chip->ack_base || chip->use_ack)) { in regmap_irq_thread()
298 ret = regmap_write(map, reg, data->status_buf[i]); in regmap_irq_thread()
306 if (data->status_buf[chip->irqs[i].reg_offset / in regmap_irq_thread()
389 d->status_buf = kzalloc(sizeof(unsigned int) * chip->num_regs, in regmap_add_irq_chip()
391 if (!d->status_buf) in regmap_add_irq_chip()
467 ret = regmap_read(map, reg, &d->status_buf[i]); in regmap_add_irq_chip()
474 if (d->status_buf[i] && (chip->ack_base || chip->use_ack)) { in regmap_add_irq_chip()
479 ~(d->status_buf[i] & d->mask_buf[i])); in regmap_add_irq_chip()
482 d->status_buf[i] & d->mask_buf[i]); in regmap_add_irq_chip()
547 kfree(d->status_buf); in regmap_add_irq_chip()
571 kfree(d->status_buf); in regmap_del_irq_chip()