Lines Matching refs:channels
53 uint32_t channels; member
128 uint8_t channels = 0; in adc_rpi_check_buffer_size() local
133 if (mask & sequence->channels) { in adc_rpi_check_buffer_size()
134 channels++; in adc_rpi_check_buffer_size()
138 needed = channels * sizeof(uint16_t); in adc_rpi_check_buffer_size()
176 if (find_msb_set(sequence->channels) > config->num_channels) { in adc_rpi_start_read()
178 sequence->channels); in adc_rpi_start_read()
220 data->channels &= ~(BIT(ainsel)); in adc_rpi_isr()
223 if (data->channels == 0) { in adc_rpi_isr()
229 ainsel = (uint8_t)(find_lsb_set(data->channels) - 1); in adc_rpi_isr()
259 data->channels = ctx->sequence.channels; in adc_context_start_sampling()
265 adc_select_input(find_lsb_set(data->channels) - 1); in adc_context_start_sampling()