Home
last modified time | relevance | path

Searched refs:chan_mask (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.4.0/drivers/gpio/
Dgpio_xlnx_axi.c213 const uint32_t chan_mask = BIT(config->channel); in gpio_xlnx_axi_pin_interrupt_configure() local
245 if (!(enabled_interrupts & chan_mask)) { in gpio_xlnx_axi_pin_interrupt_configure()
249 if (sys_read32(config->base + IPISR_OFFSET) & chan_mask) { in gpio_xlnx_axi_pin_interrupt_configure()
250 sys_write32(chan_mask, config->base + IPISR_OFFSET); in gpio_xlnx_axi_pin_interrupt_configure()
254 enabled_interrupts |= chan_mask; in gpio_xlnx_axi_pin_interrupt_configure()
257 enabled_interrupts &= ~chan_mask; in gpio_xlnx_axi_pin_interrupt_configure()
298 const uint32_t chan_mask = BIT(config->channel); in gpio_xlnx_axi_get_pending_int() local
312 if (!(interrupt_flags & chan_mask)) { in gpio_xlnx_axi_get_pending_int()
318 sys_write32(chan_mask, config->base + IPISR_OFFSET); in gpio_xlnx_axi_get_pending_int()
/Zephyr-Core-3.4.0/drivers/i2c/
Di2c_tca954x.c30 uint8_t chan_mask; member
91 res = tca954x_set_channel(down_cfg->root, down_cfg->chan_mask); in tca954x_transfer()
146 if (chan_cfg->chan_mask >= BIT(root_cfg->nchans)) { in tca954x_channel_init()
162 .chan_mask = BIT(DT_REG_ADDR(node_id)), \
/Zephyr-Core-3.4.0/drivers/adc/
Dadc_mchp_xec.c179 uint32_t chan_mask; in adc_xec_validate_buffer_size() local
181 for (chan_mask = 0x80; chan_mask != 0; chan_mask >>= 1) { in adc_xec_validate_buffer_size()
182 if (chan_mask & sequence->channels) { in adc_xec_validate_buffer_size()