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()
1656 int snd_pcm_hw_param_first(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_first() argument
1664 int err = snd_pcm_hw_refine(pcm, params); in snd_pcm_hw_param_first()
1703 int snd_pcm_hw_param_last(struct snd_pcm_substream *pcm, in snd_pcm_hw_param_last() argument
1711 int err = snd_pcm_hw_refine(pcm, params); in snd_pcm_hw_param_last()
1732 int snd_pcm_hw_params_choose(struct snd_pcm_substream *pcm, in snd_pcm_hw_params_choose() argument
1750 err = snd_pcm_hw_param_first(pcm, params, *v, NULL); in snd_pcm_hw_params_choose()
1752 err = snd_pcm_hw_param_last(pcm, params, *v, NULL); in snd_pcm_hw_params_choose()
1973 pcm_dbg(substream->pcm, in wait_for_avail()
2564 info->pcm->streams[info->stream].chmap_kctl = NULL; in pcm_chmap_ctl_private_free()
2580 int snd_pcm_add_chmap_ctls(struct snd_pcm *pcm, int stream, in snd_pcm_add_chmap_ctls() argument
2601 info->pcm = pcm; in snd_pcm_add_chmap_ctls()
2609 knew.device = pcm->device; in snd_pcm_add_chmap_ctls()
2610 knew.count = pcm->streams[stream].substream_count; in snd_pcm_add_chmap_ctls()
2618 err = snd_ctl_add(pcm->card, info->kctl); in snd_pcm_add_chmap_ctls()
2621 pcm->streams[stream].chmap_kctl = info->kctl; in snd_pcm_add_chmap_ctls()