Lines Matching refs:period_size
741 unsigned int period_size) in snd_trident_spurious_threshold() argument
743 unsigned int res = (rate * period_size) / 48000; in snd_trident_spurious_threshold()
959 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); in snd_trident_playback_prepare()
994 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ in snd_trident_playback_prepare()
1012 evoice->isync_mark = runtime->period_size; in snd_trident_playback_prepare()
1013 evoice->ESO = (runtime->period_size * 2) - 1; in snd_trident_playback_prepare()
1104 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); in snd_trident_capture_prepare()
1106 voice->isync_mark = runtime->period_size; in snd_trident_capture_prepare()
1111 voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1; in snd_trident_capture_prepare()
1201 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); in snd_trident_si7018_capture_prepare()
1229 evoice->ESO = (runtime->period_size * 2) + 20 - 1; /* in samples, 20 means correction */ in snd_trident_si7018_capture_prepare()
1242 evoice->isync_mark = runtime->period_size; in snd_trident_si7018_capture_prepare()
1243 evoice->ESO = (runtime->period_size * 2) - 1; in snd_trident_si7018_capture_prepare()
1281 voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size); in snd_trident_foldback_prepare()
1306 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ in snd_trident_foldback_prepare()
1319 evoice->isync_mark = runtime->period_size; in snd_trident_foldback_prepare()
1320 evoice->ESO = (runtime->period_size * 2) - 1; in snd_trident_foldback_prepare()
1420 voice->spurious_threshold = snd_trident_spurious_threshold(runtime->rate, runtime->period_size); in snd_trident_spdif_prepare()
1431 voice->isync_mark = runtime->period_size; in snd_trident_spdif_prepare()
1436 voice->ESO = voice->isync_ESO = (runtime->period_size * 2) + 6 - 1; in snd_trident_spdif_prepare()
1470 voice->spurious_threshold = snd_trident_spurious_threshold(48000, runtime->period_size); in snd_trident_spdif_prepare()
1500 evoice->ESO = (runtime->period_size * 2) + 4 - 1; /* in samples */ in snd_trident_spdif_prepare()
1513 evoice->isync_mark = runtime->period_size; in snd_trident_spdif_prepare()
1514 evoice->ESO = (runtime->period_size * 2) - 1; in snd_trident_spdif_prepare()