• Home
  • Raw
  • Download

Lines Matching refs:rt

398 	struct snd_pcm_runtime *rt = ss->runtime;  in snd_harmony_playback_prepare()  local
409 h->st.rate = snd_harmony_rate_bits(rt->rate); in snd_harmony_playback_prepare()
410 h->st.format = snd_harmony_set_data_format(h, rt->format, 0); in snd_harmony_playback_prepare()
412 if (rt->channels == 2) in snd_harmony_playback_prepare()
419 h->pbuf.addr = rt->dma_addr; in snd_harmony_playback_prepare()
428 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_capture_prepare() local
439 h->st.rate = snd_harmony_rate_bits(rt->rate); in snd_harmony_capture_prepare()
440 h->st.format = snd_harmony_set_data_format(h, rt->format, 0); in snd_harmony_capture_prepare()
442 if (rt->channels == 2) in snd_harmony_capture_prepare()
449 h->cbuf.addr = rt->dma_addr; in snd_harmony_capture_prepare()
457 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_playback_pointer() local
480 return bytes_to_frames(rt, played); in snd_harmony_playback_pointer()
486 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_capture_pointer() local
509 return bytes_to_frames(rt, caught); in snd_harmony_capture_pointer()
516 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_playback_open() local
520 rt->hw = snd_harmony_playback; in snd_harmony_playback_open()
521 snd_pcm_hw_constraint_list(rt, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_harmony_playback_open()
524 err = snd_pcm_hw_constraint_integer(rt, SNDRV_PCM_HW_PARAM_PERIODS); in snd_harmony_playback_open()
535 struct snd_pcm_runtime *rt = ss->runtime; in snd_harmony_capture_open() local
539 rt->hw = snd_harmony_capture; in snd_harmony_capture_open()
540 snd_pcm_hw_constraint_list(rt, 0, SNDRV_PCM_HW_PARAM_RATE, in snd_harmony_capture_open()
543 err = snd_pcm_hw_constraint_integer(rt, SNDRV_PCM_HW_PARAM_PERIODS); in snd_harmony_capture_open()