Lines Matching refs:runtime
117 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_open() local
119 runtime->hw = snd_sh_dac_pcm_hw; in snd_sh_dac_pcm_open()
158 struct snd_pcm_runtime *runtime = chip->substream->runtime; in snd_sh_dac_pcm_prepare() local
160 chip->buffer_size = runtime->buffer_size; in snd_sh_dac_pcm_prepare()
192 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_copy() local
193 ssize_t b_count = frames_to_bytes(runtime , count); in snd_sh_dac_pcm_copy()
194 ssize_t b_pos = frames_to_bytes(runtime , pos); in snd_sh_dac_pcm_copy()
219 struct snd_pcm_runtime *runtime = substream->runtime; in snd_sh_dac_pcm_silence() local
220 ssize_t b_count = frames_to_bytes(runtime , count); in snd_sh_dac_pcm_silence()
221 ssize_t b_pos = frames_to_bytes(runtime , pos); in snd_sh_dac_pcm_silence()
317 struct snd_pcm_runtime *runtime = chip->substream->runtime; in sh_dac_audio_timer() local
318 ssize_t b_ps = frames_to_bytes(runtime, runtime->period_size); in sh_dac_audio_timer()