Home
last modified time | relevance | path

Searched refs:needed_size (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/adc/
Dadc_numaker.c93 size_t needed_size; in m_adc_numaker_validate_buffer_size() local
101 needed_size = channel_cnt * sizeof(uint16_t); in m_adc_numaker_validate_buffer_size()
103 needed_size *= (1 + sequence->options->extra_samplings); in m_adc_numaker_validate_buffer_size()
106 if (sequence->buffer_size < needed_size) { in m_adc_numaker_validate_buffer_size()
Dadc_nxp_s32_adc_sar.c124 size_t needed_size; in adc_nxp_s32_validate_buffer_size() local
128 needed_size = active_channels * sizeof(uint16_t); in adc_nxp_s32_validate_buffer_size()
130 needed_size *= (1 + sequence->options->extra_samplings); in adc_nxp_s32_validate_buffer_size()
133 if (sequence->buffer_size < needed_size) { in adc_nxp_s32_validate_buffer_size()