Lines Matching refs:samples
56 #define SAMPLES_TO_US(rate, samples) \ argument
57 (1000000000 / (((rate) * 1000) / (samples)))
62 #define UTHR_FROM_PERIOD_SIZE(samples, playrate, burstrate) \ argument
63 (((samples)*5000) / (((burstrate)*5000) / ((burstrate) - (playrate))))
1157 int samples_out, samples_in, samples; in dac33_dai_delay() local
1204 samples = dac33->alarm_threshold; in dac33_dai_delay()
1205 samples += (samples_in - samples_out); in dac33_dai_delay()
1207 if (likely(samples > 0)) in dac33_dai_delay()
1208 delay = samples; in dac33_dai_delay()
1222 samples = dac33->alarm_threshold; in dac33_dai_delay()
1223 samples += (samples_in - samples_out); in dac33_dai_delay()
1225 if (likely(samples > 0)) in dac33_dai_delay()
1226 delay = samples > dac33->fifo_size ? in dac33_dai_delay()
1227 dac33->fifo_size : samples; in dac33_dai_delay()