Lines Matching refs:samples

133 			   int samples)  in start_adc_read()  argument
139 .extra_samplings = samples - 1, in start_adc_read()
142 if (samples > 1) { in start_adc_read()
199 const int samples = 4; in ZTEST_USER() local
217 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
220 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, 0 /* first channel data */, in ZTEST_USER()
223 check_empty_samples(samples); in ZTEST_USER()
231 const int samples = 4; in ZTEST_USER() local
248 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
251 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, 0 /* first channel data */, in ZTEST_USER()
254 check_empty_samples(samples); in ZTEST_USER()
262 const int samples = 4; in ZTEST_USER() local
279 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
282 check_samples(samples, input_mv, 0 /* step */, 1 /* channels */, in ZTEST_USER()
286 check_empty_samples(samples); in ZTEST_USER()
294 const int samples = 3; in ZTEST_USER() local
318 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
321 check_samples(samples * 2, input1_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
324 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
328 check_empty_samples(samples * 2); in ZTEST_USER()
336 const int samples = 4; in ZTEST_USER() local
357 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
360 check_samples(samples, input_mv, SEQUENCE_STEP, 1 /* channels */, in ZTEST_USER()
364 check_empty_samples(samples); in ZTEST_USER()
373 const int samples = 4; in ZTEST_USER() local
392 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
395 check_samples(samples, input_mV, in ZTEST_USER()
399 check_empty_samples(samples); in ZTEST_USER()
412 const int samples = 3; in ZTEST_USER() local
441 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
444 check_samples(samples * 2, input1_mv, SEQUENCE_STEP, in ZTEST_USER()
447 check_samples(samples * 2, input2_mv, SEQUENCE_STEP, in ZTEST_USER()
451 check_empty_samples(samples * 2); in ZTEST_USER()
463 const int samples = 3; in ZTEST_USER() local
490 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
493 check_samples(samples * 2, input1_mv, SEQUENCE_STEP, in ZTEST_USER()
496 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
500 check_empty_samples(samples * 2); in ZTEST_USER()
508 const int samples = 3; in ZTEST_USER() local
533 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER()
536 check_samples(samples * 2, input_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
539 check_samples(samples * 2, input_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
543 check_empty_samples(samples * 2); in ZTEST_USER()
552 start_adc_read(adc_dev, channel_mask, samples); in ZTEST_USER()
555 check_samples(samples * 2, input_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
558 check_samples(samples * 2, input_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
562 check_empty_samples(samples * 2); in ZTEST_USER()
573 const int samples = 4; in ZTEST_USER() local
591 start_adc_read(adc_dev, BIT(ADC_1ST_CHANNEL_ID), samples); in ZTEST_USER()
597 check_samples(samples, ADC_REF_INTERNAL_MV, 0 /* step */, in ZTEST_USER()
601 check_empty_samples(samples); in ZTEST_USER()
603 for (i = 0; i < samples; i++) { in ZTEST_USER()
617 const int samples = 3; in ZTEST_USER() local
655 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
658 check_samples(samples * 2, input1_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
661 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
665 check_empty_samples(samples * 2); in ZTEST_USER()
675 const int samples = 3; in ZTEST_USER() local
706 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
709 check_samples(samples * 2, input1_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
711 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
714 check_empty_samples(samples * 2); in ZTEST_USER()
727 BIT(ADC_2ND_CHANNEL_ID), samples); in ZTEST_USER()
730 check_samples(samples * 2, input1_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
733 check_samples(samples * 2, input2_mv, 0 /* step */, 2 /* channels */, in ZTEST_USER()
737 check_empty_samples(samples * 2); in ZTEST_USER()