Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_xmc4xxx.c32 uint8_t channel_mask; member
73 uint32_t channel_mask = data->channel_mask; in adc_xmc4xxx_isr() local
77 while (channel_mask > 0) { in adc_xmc4xxx_isr()
78 ch = find_lsb_set(channel_mask) - 1; in adc_xmc4xxx_isr()
80 channel_mask &= ~BIT(ch); in adc_xmc4xxx_isr()
156 data->channel_mask = requested_channels; in start_read()
Dadc_numaker.c118 uint32_t channel_mask = data->channels; in adc_numaker_isr() local
119 uint32_t module_mask = channel_mask; in adc_numaker_isr()
170 uint32_t channel_mask = data->channels; in m_adc_numaker_start_scan() local
171 uint32_t module_mask = channel_mask; in m_adc_numaker_start_scan()
176 while (channel_mask) { in m_adc_numaker_start_scan()
177 channel_id = find_lsb_set(channel_mask) - 1; in m_adc_numaker_start_scan()
179 channel_mask &= ~BIT(channel_id); in m_adc_numaker_start_scan()
Dadc_ite_it8xxx2.c285 uint32_t channel_mask = sequence->channels; in adc_it8xxx2_start_read() local
288 if (channel_mask > BIT(CHIP_ADC_CH7)) { in adc_it8xxx2_start_read()
289 channel_mask >>= ADC_CHANNEL_SHIFT; in adc_it8xxx2_start_read()
292 if (!channel_mask || channel_mask & ~BIT_MASK(CHIP_ADC_COUNT)) { in adc_it8xxx2_start_read()
Dadc_esp32.c254 uint32_t channel_mask = 1, channels_copy = seq->channels; in adc_esp32_fill_digi_pattern() local
259 if (channels_copy & channel_mask) { in adc_esp32_fill_digi_pattern()
280 channels_copy &= ~channel_mask; in adc_esp32_fill_digi_pattern()
285 channel_mask <<= 1; in adc_esp32_fill_digi_pattern()
/Zephyr-latest/drivers/pwm/
Dpwm_numaker.c84 uint32_t channel_mask = BIT(channel); in pwm_numaker_set_cycles() local
98 EPWM_Stop(epwm, channel_mask); in pwm_numaker_set_cycles()
99 EPWM_ForceStop(epwm, channel_mask); in pwm_numaker_set_cycles()
100 EPWM_DisableOutput(epwm, channel_mask); in pwm_numaker_set_cycles()
109 EPWM_EnableOutput(epwm, channel_mask); in pwm_numaker_set_cycles()
112 EPWM_Start(epwm, channel_mask); in pwm_numaker_set_cycles()
195 uint32_t channel_mask = BIT(channel); in pwm_numaker_enable_capture() local
216 EPWM_EnableCapture(epwm, channel_mask); in pwm_numaker_enable_capture()
219 EPWM_Start(epwm, channel_mask); in pwm_numaker_enable_capture()
238 uint32_t channel_mask = BIT(channel); in pwm_numaker_disable_capture() local
[all …]
Dpwm_nxp_s32_emios.c593 DT_PROP_BY_PHANDLE(node_id, master_bus, channel_mask), \
/Zephyr-latest/tests/drivers/adc/adc_emul/src/
Dmain.c132 static void start_adc_read(const struct device *adc_dev, uint32_t channel_mask, in start_adc_read() argument
150 .channels = channel_mask, in start_adc_read()
507 uint32_t channel_mask; in ZTEST_USER() local
524 channel_mask = BIT(ADC_1ST_CHANNEL_ID) | BIT(ADC_2ND_CHANNEL_ID); in ZTEST_USER()
533 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER()
552 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER()
/Zephyr-latest/drivers/dai/intel/alh/
Dalh.h88 uint32_t channel_mask; member
Dalh.c60 alh->params.channels = POPCOUNT(alh_cfg->mapping[i].channel_mask); in dai_alh_set_config_blob()
/Zephyr-latest/drivers/counter/
Dcounter_mcux_ctimer.c230 uint8_t channel_mask = 0x01 << chan; in mcux_lpc_ctimer_isr() local
232 if (((interrupt_stat & channel_mask) != 0) && in mcux_lpc_ctimer_isr()
/Zephyr-latest/drivers/dma/
Ddma_emul.c44 uint32_t channel_mask; member
591 .channel_mask = DMA_EMUL_INST_CHANNEL_MASK(_inst), \