Lines Matching refs:sequence
85 data->channels = ctx->sequence.channels; in adc_context_start_sampling()
89 if (ctx->sequence.channels & BIT(i)) { in adc_context_start_sampling()
174 const struct adc_sequence *sequence, in cc32xx_read() argument
182 if (sequence->resolution != 12) { in cc32xx_read()
184 sequence->resolution); in cc32xx_read()
190 if (!(sequence->channels & BIT(i))) { in cc32xx_read()
196 if (sequence->options) { in cc32xx_read()
197 exp_size *= (1 + sequence->options->extra_samplings); in cc32xx_read()
200 if (sequence->buffer_size < exp_size) { in cc32xx_read()
202 exp_size, sequence->buffer_size); in cc32xx_read()
206 data->buffer = sequence->buffer; in cc32xx_read()
209 adc_context_start_read(&data->ctx, sequence); in cc32xx_read()
216 const struct adc_sequence *sequence) in adc_cc32xx_read() argument
218 return cc32xx_read(dev, sequence, false, NULL); in adc_cc32xx_read()
223 const struct adc_sequence *sequence, in adc_cc32xx_read_async() argument
226 return cc32xx_read(dev, sequence, true, async); in adc_cc32xx_read_async()