Lines Matching refs:pcm
147 substream->pcm->card->number, in snd_pcm_debug_name()
148 substream->pcm->device, in snd_pcm_debug_name()
183 pcm_warn(substream->pcm, "XRUN: %s\n", name); in xrun()
324 pcm_err(substream->pcm, in snd_pcm_update_hw_ptr0()
501 void snd_pcm_set_ops(struct snd_pcm *pcm, int direction, in snd_pcm_set_ops() argument
504 struct snd_pcm_str *stream = &pcm->streams[direction]; in snd_pcm_set_ops()
523 runtime->sync.id32[0] = substream->pcm->card->number; in snd_pcm_set_sync()
1655 int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_first() argument
1663 int err = snd_pcm_hw_refine(pcm, params); in snd_pcm_hw_param_first()
1702 int snd_pcm_hw_param_last(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_last() argument
1710 int err = snd_pcm_hw_refine(pcm, params); in snd_pcm_hw_param_last()
1731 int snd_pcm_hw_params_choose(struct snd_pcm_substream *pcm, in snd_pcm_hw_params_choose() argument
1749 err = snd_pcm_hw_param_first(pcm, params, *v, NULL); in snd_pcm_hw_params_choose()
1751 err = snd_pcm_hw_param_last(pcm, params, *v, NULL); in snd_pcm_hw_params_choose()
1975 pcm_dbg(substream->pcm, in wait_for_avail()
2566 info->pcm->streams[info->stream].chmap_kctl = NULL; in pcm_chmap_ctl_private_free()
2582 int snd_pcm_add_chmap_ctls(struct snd_pcm *pcm, int stream, in snd_pcm_add_chmap_ctls() argument
2603 info->pcm = pcm; in snd_pcm_add_chmap_ctls()
2611 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2612 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2620 err = snd_ctl_add(pcm->card, info->kctl); in snd_pcm_add_chmap_ctls()
2623 pcm->streams[stream].chmap_kctl = info->kctl; in snd_pcm_add_chmap_ctls()