Searched refs:spcm (Results 1 – 7 of 7) sorted by relevance
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | sof-audio.h | 167 struct snd_sof_pcm *spcm, int direction, 184 struct snd_sof_pcm *spcm = NULL; in snd_sof_find_spcm_dai() local 186 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_dai() 187 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai() 188 return spcm; in snd_sof_find_spcm_dai()
|
| H A 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() 1620 static int spcm_bind(struct snd_soc_component *scomp, struct snd_sof_pcm *spcm, in spcm_bind() argument [all …]
|
| H A D | ipc.c | 444 struct snd_sof_pcm *spcm; in ipc_period_elapsed() local 447 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_period_elapsed() 448 if (!spcm) { in ipc_period_elapsed() 455 stream = &spcm->stream[direction]; in ipc_period_elapsed() 474 struct snd_sof_pcm *spcm; in ipc_xrun() local 477 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_xrun() 478 if (!spcm) { in ipc_xrun() 484 stream = &spcm->stream[direction]; in ipc_xrun() 520 struct snd_sof_pcm *spcm, int direction, in snd_sof_ipc_stream_posn() argument 530 stream.comp_id = spcm->stream[direction].comp_id; in snd_sof_ipc_stream_posn()
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/boards/ |
| H A D | hda_dsp_common.c | 23 struct snd_pcm *spcm; in hda_dsp_hdmi_pcm_handle() local 27 spcm = rtd->pcm ? in hda_dsp_hdmi_pcm_handle() 29 if (spcm && strstr(spcm->id, "HDMI")) { in hda_dsp_hdmi_pcm_handle() 48 struct snd_pcm *spcm; in hda_dsp_hdmi_build_controls() local 59 spcm = hda_dsp_hdmi_pcm_handle(card, i); in hda_dsp_hdmi_build_controls() 60 if (spcm) { in hda_dsp_hdmi_build_controls() 61 hpcm->pcm = spcm; in hda_dsp_hdmi_build_controls() 62 hpcm->device = spcm->device; in hda_dsp_hdmi_build_controls() 65 __func__, i, hpcm->device, spcm); in hda_dsp_hdmi_build_controls()
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/intel/ |
| H A D | hda-pcm.c | 154 struct snd_sof_pcm *spcm; in hda_dsp_pcm_pointer() local 157 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer() 158 if (!spcm) { in hda_dsp_pcm_pointer() 166 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
|