Lines Matching refs:samples
42 #define SAMPLES_TO_US(rate, samples) \ argument
43 (1000000000 / (((rate) * 1000) / (samples)))
48 #define UTHR_FROM_PERIOD_SIZE(samples, playrate, burstrate) \ argument
49 (((samples)*5000) / (((burstrate)*5000) / ((burstrate) - (playrate))))
1144 int samples_out, samples_in, samples; in dac33_dai_delay() local
1191 samples = dac33->alarm_threshold; in dac33_dai_delay()
1192 samples += (samples_in - samples_out); in dac33_dai_delay()
1194 if (likely(samples > 0)) in dac33_dai_delay()
1195 delay = samples; in dac33_dai_delay()
1209 samples = dac33->alarm_threshold; in dac33_dai_delay()
1210 samples += (samples_in - samples_out); in dac33_dai_delay()
1212 if (likely(samples > 0)) in dac33_dai_delay()
1213 delay = samples > dac33->fifo_size ? in dac33_dai_delay()
1214 dac33->fifo_size : samples; in dac33_dai_delay()