Searched refs:spcm (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.15/sound/soc/sof/ |
| D | pcm.c | 29 struct snd_sof_pcm *spcm; in create_page_table() local 33 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table() 34 if (!spcm) in create_page_table() 38 spcm->stream[stream].page_table.area, size); in create_page_table() 41 static int sof_pcm_dsp_params(struct snd_sof_pcm *spcm, struct snd_pcm_substream *substream, in sof_pcm_dsp_params() argument 44 struct snd_soc_component *scomp = spcm->scomp; in sof_pcm_dsp_params() 52 spcm->pcm.pcm_id); in sof_pcm_dsp_params() 77 struct snd_sof_pcm *spcm; in snd_sof_pcm_period_elapsed() local 79 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_pcm_period_elapsed() 80 if (!spcm) { in snd_sof_pcm_period_elapsed() [all …]
|
| D | sof-audio.c | 21 struct snd_sof_pcm *spcm; in snd_sof_dsp_only_d0i3_compatible_stream_active() local 25 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_dsp_only_d0i3_compatible_stream_active() 27 substream = spcm->stream[dir].substream; in snd_sof_dsp_only_d0i3_compatible_stream_active() 36 if (!spcm->stream[dir].d0i3_compatible) in snd_sof_dsp_only_d0i3_compatible_stream_active() 49 struct snd_sof_pcm *spcm; in snd_sof_stream_suspend_ignored() local 51 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_stream_suspend_ignored() 52 if (spcm->stream[SNDRV_PCM_STREAM_PLAYBACK].suspend_ignored || in snd_sof_stream_suspend_ignored() 53 spcm->stream[SNDRV_PCM_STREAM_CAPTURE].suspend_ignored) in snd_sof_stream_suspend_ignored() 64 struct snd_sof_pcm *spcm; in sof_set_hw_params_upon_resume() local 73 list_for_each_entry(spcm, &sdev->pcm_list, list) { in sof_set_hw_params_upon_resume() [all …]
|
| D | sof-audio.h | 171 struct snd_sof_pcm *spcm, int direction, 188 struct snd_sof_pcm *spcm = NULL; in snd_sof_find_spcm_dai() local 190 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_dai() 191 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai() 192 return spcm; in snd_sof_find_spcm_dai()
|
| D | ipc.c | 455 struct snd_sof_pcm *spcm; in ipc_period_elapsed() local 458 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_period_elapsed() 459 if (!spcm) { in ipc_period_elapsed() 466 stream = &spcm->stream[direction]; in ipc_period_elapsed() 485 struct snd_sof_pcm *spcm; in ipc_xrun() local 488 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_xrun() 489 if (!spcm) { in ipc_xrun() 495 stream = &spcm->stream[direction]; in ipc_xrun() 531 struct snd_sof_pcm *spcm, int direction, in snd_sof_ipc_stream_posn() argument 541 stream.comp_id = spcm->stream[direction].comp_id; in snd_sof_ipc_stream_posn()
|
| D | topology.c | 65 struct snd_sof_pcm *spcm; in ipc_pcm_params() local 71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params() 72 if (!spcm) { in ipc_pcm_params() 78 params = &spcm->params[dir]; in ipc_pcm_params() 147 struct snd_sof_pcm *spcm; in sof_keyword_dapm_event() local 159 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_keyword_dapm_event() 160 if (!spcm) { in sof_keyword_dapm_event() 169 if (spcm->stream[stream].suspend_ignored) { in sof_keyword_dapm_event() 191 if (spcm->stream[stream].suspend_ignored) { in sof_keyword_dapm_event() 1627 static int spcm_bind(struct snd_soc_component *scomp, struct snd_sof_pcm *spcm, in spcm_bind() argument [all …]
|
| /Linux-v5.15/sound/soc/intel/boards/ |
| D | hda_dsp_common.c | 24 struct snd_pcm *spcm; in hda_dsp_hdmi_pcm_handle() local 28 spcm = rtd->pcm ? in hda_dsp_hdmi_pcm_handle() 30 if (spcm && strstr(spcm->id, "HDMI")) { in hda_dsp_hdmi_pcm_handle() 49 struct snd_pcm *spcm; in hda_dsp_hdmi_build_controls() local 60 spcm = hda_dsp_hdmi_pcm_handle(card, i); in hda_dsp_hdmi_build_controls() 61 if (spcm) { in hda_dsp_hdmi_build_controls() 62 hpcm->pcm = spcm; in hda_dsp_hdmi_build_controls() 63 hpcm->device = spcm->device; in hda_dsp_hdmi_build_controls() 66 __func__, i, hpcm->device, spcm); in hda_dsp_hdmi_build_controls()
|
| /Linux-v5.15/sound/soc/sof/intel/ |
| D | hda-pcm.c | 159 struct snd_sof_pcm *spcm; in hda_dsp_pcm_pointer() local 162 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer() 163 if (!spcm) { in hda_dsp_pcm_pointer() 171 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer() 227 struct snd_sof_pcm *spcm; in hda_dsp_pcm_open() local 231 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_open() 232 if (!spcm) { in hda_dsp_pcm_open() 245 spcm->stream[substream->stream].d0i3_compatible) in hda_dsp_pcm_open()
|