Searched refs:channel_mask (Results 1 – 11 of 11) sorted by relevance
/Zephyr-latest/drivers/adc/ |
D | adc_xmc4xxx.c | 32 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()
|
D | adc_numaker.c | 118 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()
|
D | adc_ite_it8xxx2.c | 285 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()
|
D | adc_esp32.c | 254 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/ |
D | pwm_numaker.c | 84 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 …]
|
D | pwm_nxp_s32_emios.c | 593 DT_PROP_BY_PHANDLE(node_id, master_bus, channel_mask), \
|
/Zephyr-latest/tests/drivers/adc/adc_emul/src/ |
D | main.c | 132 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/ |
D | alh.h | 88 uint32_t channel_mask; member
|
D | alh.c | 60 alh->params.channels = POPCOUNT(alh_cfg->mapping[i].channel_mask); in dai_alh_set_config_blob()
|
/Zephyr-latest/drivers/counter/ |
D | counter_mcux_ctimer.c | 230 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/ |
D | dma_emul.c | 44 uint32_t channel_mask; member 591 .channel_mask = DMA_EMUL_INST_CHANNEL_MASK(_inst), \
|