Home
last modified time | relevance | path

Searched refs:active_channels (Results 1 – 15 of 15) sorted by relevance

/Zephyr-Core-3.7.0/drivers/adc/
Dadc_nrfx_adc.c34 uint8_t active_channels; member
119 nrfx_adc_buffer_convert(m_data.buffer, m_data.active_channels); in adc_context_start_sampling()
129 m_data.buffer += m_data.active_channels; in adc_context_update_buffer_pointer()
134 uint8_t active_channels) in check_buffer_size() argument
138 needed_buffer_size = active_channels * sizeof(nrf_adc_value_t); in check_buffer_size()
157 uint8_t active_channels; in start_read() local
192 active_channels = 0U; in start_read()
206 ++active_channels; in start_read()
212 error = check_buffer_size(sequence, active_channels); in start_read()
218 m_data.active_channels = active_channels; in start_read()
Dadc_nrfx_saadc.c90 uint8_t active_channels; member
374 uint8_t active_channels) in set_oversampling() argument
378 if ((active_channels > 1) && (sequence->oversampling > 0)) { in set_oversampling()
423 uint8_t active_channels) in check_buffer_size() argument
427 needed_buffer_size = samples_to_bytes(sequence, active_channels); in check_buffer_size()
473 uint8_t active_channels; in start_read() local
485 active_channels = 0U; in start_read()
534 ++active_channels; in start_read()
552 error = set_oversampling(sequence, active_channels); in start_read()
557 error = check_buffer_size(sequence, active_channels); in start_read()
[all …]
Dadc_cc32xx.c45 size_t active_channels; member
104 data->buffer += data->active_channels; in adc_context_update_buffer_pointer()
188 data->active_channels = 0; in cc32xx_read()
193 data->offset[i] = data->active_channels++; in cc32xx_read()
195 exp_size = data->active_channels * sizeof(uint16_t); in cc32xx_read()
Dadc_ifx_cat1.c158 int active_channels = 0; in validate_buffer_size() local
163 active_channels++; in validate_buffer_size()
167 total_buffer_size = active_channels * sizeof(uint16_t); in validate_buffer_size()
Dadc_xmc4xxx.c89 int active_channels = 0; in adc_xmc4xxx_validate_buffer_size() local
94 active_channels++; in adc_xmc4xxx_validate_buffer_size()
98 total_buffer_size = active_channels * sizeof(uint16_t); in adc_xmc4xxx_validate_buffer_size()
Dadc_nxp_s32_adc_sar.c123 uint8_t active_channels = 0; in adc_nxp_s32_validate_buffer_size() local
126 active_channels = POPCOUNT(sequence->channels); in adc_nxp_s32_validate_buffer_size()
128 needed_size = active_channels * sizeof(uint16_t); in adc_nxp_s32_validate_buffer_size()
Dadc_gecko.c73 uint8_t active_channels) in adc_gecko_check_buffer_size() argument
77 needed_buffer_size = active_channels * sizeof(uint16_t); in adc_gecko_check_buffer_size()
Dadc_sam_afec.c173 uint8_t active_channels) in check_buffer_size() argument
176 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_smartbond_gpadc.c176 uint8_t active_channels) in check_buffer_size() argument
180 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_smartbond_sdadc.c181 uint8_t active_channels) in check_buffer_size() argument
185 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_ite_it8xxx2.c263 uint8_t active_channels) in check_buffer_size() argument
267 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_sam.c182 uint8_t active_channels) in check_buffer_size() argument
184 size_t needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Diadc_gecko.c76 uint8_t active_channels) in adc_gecko_check_buffer_size() argument
80 needed_buffer_size = active_channels * sizeof(uint16_t); in adc_gecko_check_buffer_size()
Dadc_sam0.c300 uint8_t active_channels) in check_buffer_size() argument
304 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer_size()
Dadc_stm32.c340 uint8_t active_channels) in check_buffer() argument
344 needed_buffer_size = active_channels * sizeof(uint16_t); in check_buffer()