Lines Matching refs:sequence
192 const struct adc_sequence *sequence, in cc13xx_cc26xx_read() argument
200 if (sequence->resolution != 12) { in cc13xx_cc26xx_read()
202 sequence->resolution); in cc13xx_cc26xx_read()
207 if (sequence->options) { in cc13xx_cc26xx_read()
208 exp_size *= (1 + sequence->options->extra_samplings); in cc13xx_cc26xx_read()
211 if (sequence->buffer_size < exp_size) { in cc13xx_cc26xx_read()
213 exp_size, sequence->buffer_size); in cc13xx_cc26xx_read()
217 data->buffer = sequence->buffer; in cc13xx_cc26xx_read()
220 adc_context_start_read(&data->ctx, sequence); in cc13xx_cc26xx_read()
227 const struct adc_sequence *sequence) in adc_cc13xx_cc26xx_read() argument
229 return cc13xx_cc26xx_read(dev, sequence, false, NULL); in adc_cc13xx_cc26xx_read()
234 const struct adc_sequence *sequence, in adc_cc13xx_cc26xx_read_async() argument
237 return cc13xx_cc26xx_read(dev, sequence, true, async); in adc_cc13xx_cc26xx_read_async()