Searched refs:oss_periods (Results 1 – 1 of 1) sorted by relevance
687 ssize_t oss_period_size, oss_periods; in snd_pcm_oss_period_size() local755 oss_periods = oss_buffer_size / oss_period_size; in snd_pcm_oss_period_size()758 oss_periods = substream->oss.setup.periods; in snd_pcm_oss_period_size()763 if (oss_periods > s) in snd_pcm_oss_period_size()764 oss_periods = s; in snd_pcm_oss_period_size()769 if (oss_periods < s) in snd_pcm_oss_period_size()770 oss_periods = s; in snd_pcm_oss_period_size()772 while (oss_period_size * oss_periods > oss_buffer_size) in snd_pcm_oss_period_size()784 runtime->oss.periods = oss_periods; in snd_pcm_oss_period_size()