Lines Matching refs:period_size

75 	u16 period_size;  member
206 sis_update_sso(voice, voice->period_size); in sis_update_voice()
213 if (voice->vperiod > voice->period_size) { in sis_update_voice()
214 voice->vperiod -= voice->period_size; in sis_update_voice()
215 if (voice->vperiod < voice->period_size) in sis_update_voice()
218 sis_update_sso(voice, voice->period_size); in sis_update_voice()
268 sis_update_sso(voice, voice->period_size); in sis_update_voice()
436 unsigned int period_size, buffer_size; in sis_alloc_timing_voice() local
444 period_size = params_period_size(hw_params); in sis_alloc_timing_voice()
446 needed = (period_size != buffer_size && in sis_alloc_timing_voice()
447 period_size != (buffer_size / 2)); in sis_alloc_timing_voice()
525 if (runtime->period_size == (runtime->buffer_size / 2)) { in sis_pcm_playback_prepare()
527 } else if (runtime->period_size != runtime->buffer_size) { in sis_pcm_playback_prepare()
529 voice->sso = runtime->period_size - 1; in sis_pcm_playback_prepare()
530 voice->period_size = runtime->period_size; in sis_pcm_playback_prepare()
535 sso_eso |= (runtime->period_size - 1) << 16; in sis_pcm_playback_prepare()
701 u16 buffer_size, period_size; in sis_prepare_timing_voice() local
710 period_size = buffer_size; in sis_prepare_timing_voice()
724 vperiod = runtime->period_size + 12; in sis_prepare_timing_voice()
725 if (vperiod > period_size) { in sis_prepare_timing_voice()
726 u16 tail = vperiod % period_size; in sis_prepare_timing_voice()
727 u16 quarter_period = period_size / 4; in sis_prepare_timing_voice()
730 u16 loops = vperiod / period_size; in sis_prepare_timing_voice()
735 period_size -= tail; in sis_prepare_timing_voice()
738 sso = period_size - 1; in sis_prepare_timing_voice()
743 period_size = runtime->period_size; in sis_prepare_timing_voice()
753 timing->sync_cso = runtime->period_size; in sis_prepare_timing_voice()
754 timing->sync_period_size = runtime->period_size; in sis_prepare_timing_voice()
756 timing->period_size = period_size; in sis_prepare_timing_voice()
827 if (runtime->period_size != runtime->buffer_size) in sis_pcm_capture_prepare()