Searched refs:needed_size (Results 1 – 2 of 2) sorted by relevance
93 size_t needed_size; in m_adc_numaker_validate_buffer_size() local101 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()
124 size_t needed_size; in adc_nxp_s32_validate_buffer_size() local128 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()