Searched refs:mask_buf (Results 1 – 5 of 5) sorted by relevance
/drivers/base/regmap/ |
D | regmap-irq.c | 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() [all …]
|
/drivers/gpio/ |
D | gpio-idio-16.c | 38 const unsigned int mask_buf, void *const irq_drv_data) in idio_16_handle_mask_sync() 46 if (mask_buf == prev_mask) in idio_16_handle_mask_sync() 50 data->irq_mask = mask_buf; in idio_16_handle_mask_sync() 61 if (mask_buf == mask_buf_def) in idio_16_handle_mask_sync()
|
D | gpio-104-dio-48e.c | 163 const unsigned int mask_buf, in dio48e_handle_mask_sync() argument 172 if (mask_buf == prev_mask) in dio48e_handle_mask_sync() 176 dio48egpio->irq_mask = mask_buf; in dio48e_handle_mask_sync() 187 if (mask_buf == mask_buf_def) in dio48e_handle_mask_sync()
|
D | gpio-ws16c48.c | 134 const unsigned int mask_buf, void *const irq_drv_data) in ws16c48_handle_mask_sync() 143 if (mask_buf == ws16c48gpio->irq_mask[index]) in ws16c48_handle_mask_sync() 145 ws16c48gpio->irq_mask[index] = mask_buf; in ws16c48_handle_mask_sync() 152 ret = regmap_write(ws16c48gpio->map, WS16C48_ENAB + index, ~mask_buf); in ws16c48_handle_mask_sync()
|
D | gpio-pcie-idio-24.c | 159 const unsigned int mask_buf, void *const irq_drv_data) in idio_24_handle_mask_sync() 169 type = (mask_buf == mask_buf_def) ? ~type_mask : idio24gpio->irq_type; in idio_24_handle_mask_sync()
|