Home
last modified time | relevance | path

Searched refs:spcm (Results 1 – 17 of 17) sorted by relevance

/linux-6.3-rc2/sound/soc/sof/
A Dpcm.c29 struct snd_sof_pcm *spcm; in create_page_table() local
34 if (!spcm) in create_page_table()
69 if (!spcm) { in snd_sof_pcm_period_elapsed()
139 if (!spcm) in sof_pcm_hw_params()
208 if (!spcm) in sof_pcm_hw_free()
252 if (!spcm) in sof_pcm_prepare()
293 if (!spcm) in sof_pcm_trigger()
376 if (!spcm) in sof_pcm_pointer()
406 if (!spcm) in sof_pcm_open()
468 if (!spcm) in sof_pcm_close()
[all …]
A Dcompress.c54 struct snd_sof_pcm *spcm; in snd_sof_compr_fragment_elapsed() local
65 if (!spcm) { in snd_sof_compr_fragment_elapsed()
85 struct snd_sof_pcm *spcm; in create_page_table() local
88 if (!spcm) in create_page_table()
101 struct snd_sof_pcm *spcm; in sof_compr_open() local
109 if (!spcm) { in sof_compr_open()
143 if (!spcm) in sof_compr_free()
192 if (!spcm) in sof_compr_set_params()
245 spcm->pcm.pcm_id); in sof_compr_set_params()
280 if (!spcm) in sof_compr_trigger()
[all …]
A Dsof-audio.c668 spcm->stream[dir].list = NULL; in sof_widget_list_free()
682 struct snd_sof_pcm *spcm; in snd_sof_dsp_only_d0i3_compatible_stream_active() local
710 struct snd_sof_pcm *spcm; in snd_sof_stream_suspend_ignored() local
759 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_name() local
764 return spcm; in snd_sof_find_spcm_name()
767 if (*spcm->pcm.caps[0].name && in snd_sof_find_spcm_name()
769 return spcm; in snd_sof_find_spcm_name()
772 if (*spcm->pcm.caps[1].name && in snd_sof_find_spcm_name()
774 return spcm; in snd_sof_find_spcm_name()
785 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_comp() local
[all …]
A Dipc4-pcm.c205 struct snd_sof_pcm *spcm; in sof_ipc4_trigger_pipelines() local
212 if (!spcm) in sof_ipc4_trigger_pipelines()
415 kfree(spcm->stream[stream].private); in sof_ipc4_pcm_free()
416 spcm->stream[stream].private = NULL; in sof_ipc4_pcm_free()
444 sof_ipc4_pcm_free(sdev, spcm); in sof_ipc4_pcm_setup()
453 sof_ipc4_pcm_free(sdev, spcm); in sof_ipc4_pcm_setup()
494 info = spcm->private; in sof_ipc4_build_time_info()
544 struct snd_sof_pcm *spcm; in sof_ipc4_pcm_hw_params() local
605 struct snd_sof_pcm *spcm; in sof_ipc4_pcm_delay() local
610 if (!spcm) in sof_ipc4_pcm_delay()
[all …]
A Dipc3-pcm.c23 struct snd_sof_pcm *spcm; in sof_ipc3_pcm_hw_free() local
25 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_hw_free()
26 if (!spcm) in sof_ipc3_pcm_hw_free()
29 if (!spcm->prepared[substream->stream]) in sof_ipc3_pcm_hw_free()
51 struct snd_sof_pcm *spcm; in sof_ipc3_pcm_hw_params() local
54 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_hw_params()
55 if (!spcm) in sof_ipc3_pcm_hw_params()
136 __func__, spcm->pcm.pcm_id); in sof_ipc3_pcm_hw_params()
150 struct snd_sof_pcm *spcm; in sof_ipc3_pcm_trigger() local
152 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_ipc3_pcm_trigger()
[all …]
A Dsof-audio.h116 int (*pcm_setup)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm);
117 void (*pcm_free)(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm);
552 struct snd_sof_pcm *spcm, int direction,
568 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_dai() local
570 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_dai()
571 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai()
572 return spcm; in snd_sof_find_spcm_dai()
611 int sof_widget_list_setup(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm,
615 int sof_widget_list_free(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm, int dir);
617 struct snd_sof_pcm *spcm);
[all …]
A Dtopology.c1682 spcm = kzalloc(sizeof(*spcm), GFP_KERNEL); in sof_dai_load()
1683 if (!spcm) in sof_dai_load()
1686 spcm->scomp = scomp; in sof_dai_load()
1696 spcm->pcm = *pcm; in sof_dai_load()
1719 if (!spcm->pcm.playback) in sof_dai_load()
1748 if (!spcm->pcm.capture) in sof_dai_load()
1774 if (spcm->pcm.playback) in sof_dai_load()
1788 if (spcm->pcm.playback) in sof_dai_unload()
1791 if (spcm->pcm.capture) in sof_dai_unload()
1799 list_del(&spcm->list); in sof_dai_unload()
[all …]
A Dipc3.c839 struct snd_sof_pcm *spcm; in ipc3_period_elapsed() local
842 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc3_period_elapsed()
843 if (!spcm) { in ipc3_period_elapsed()
849 stream = &spcm->stream[direction]; in ipc3_period_elapsed()
860 if (spcm->pcm.compress) in ipc3_period_elapsed()
874 struct snd_sof_pcm *spcm; in ipc3_xrun() local
877 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc3_xrun()
878 if (!spcm) { in ipc3_xrun()
884 stream = &spcm->stream[direction]; in ipc3_xrun()
A Dipc3-topology.c1803 struct snd_sof_pcm *spcm; in sof_ipc3_keyword_detect_pcm_params() local
1807 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params()
1808 if (!spcm) { in sof_ipc3_keyword_detect_pcm_params()
1813 params = &spcm->params[dir]; in sof_ipc3_keyword_detect_pcm_params()
1881 struct snd_sof_pcm *spcm; in sof_ipc3_keyword_dapm_event() local
1894 if (!spcm) { in sof_ipc3_keyword_dapm_event()
1903 if (spcm->stream[stream].suspend_ignored) { in sof_ipc3_keyword_dapm_event()
1923 if (spcm->stream[stream].suspend_ignored) { in sof_ipc3_keyword_dapm_event()
2255 struct snd_sof_pcm *spcm; in sof_tear_down_left_over_pipelines() local
2263 list_for_each_entry(spcm, &sdev->pcm_list, list) { in sof_tear_down_left_over_pipelines()
[all …]
A Dipc4-topology.c2079 struct snd_sof_pcm *spcm; in sof_ipc4_tear_down_all_pipelines() local
2093 list_for_each_entry(spcm, &sdev->pcm_list, list) { in sof_ipc4_tear_down_all_pipelines()
2095 struct snd_pcm_substream *substream = spcm->stream[dir].substream; in sof_ipc4_tear_down_all_pipelines()
2097 if (!substream || !substream->runtime || spcm->stream[dir].suspend_ignored) in sof_ipc4_tear_down_all_pipelines()
2100 if (spcm->stream[dir].list) { in sof_ipc4_tear_down_all_pipelines()
2101 ret = sof_pcm_stream_free(sdev, substream, spcm, dir, true); in sof_ipc4_tear_down_all_pipelines()
/linux-6.3-rc2/sound/soc/intel/boards/
A Dhda_dsp_common.c24 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 i, hpcm->device, spcm); in hda_dsp_hdmi_build_controls()
/linux-6.3-rc2/sound/soc/intel/avs/boards/
A Dhdaudio.c127 struct snd_pcm *spcm; in avs_card_hdmi_pcm_at() local
130 spcm = rtd->pcm ? rtd->pcm->streams[dir].pcm : NULL; in avs_card_hdmi_pcm_at()
131 if (!spcm || !strstr(spcm->id, FEDAI_NAME_PREFIX)) in avs_card_hdmi_pcm_at()
134 ret = sscanf(spcm->id, FEDAI_NAME_PREFIX "%d", &n); in avs_card_hdmi_pcm_at()
153 struct snd_pcm *spcm; in avs_card_late_probe() local
155 spcm = avs_card_hdmi_pcm_at(card, i); in avs_card_late_probe()
156 if (spcm) { in avs_card_late_probe()
157 hpcm->pcm = spcm; in avs_card_late_probe()
158 hpcm->device = spcm->device; in avs_card_late_probe()
160 __func__, i, hpcm->device, spcm); in avs_card_late_probe()
/linux-6.3-rc2/sound/soc/sof/intel/
A Dhda-pcm.c179 struct snd_sof_pcm *spcm; in hda_dsp_pcm_pointer() local
182 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer()
183 if (!spcm) { in hda_dsp_pcm_pointer()
191 pos = spcm->stream[substream->stream].posn.host_posn; in hda_dsp_pcm_pointer()
210 struct snd_sof_pcm *spcm; in hda_dsp_pcm_open() local
214 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_open()
215 if (!spcm) { in hda_dsp_pcm_open()
236 spcm->stream[substream->stream].d0i3_compatible) in hda_dsp_pcm_open()
A Dhda-dsp.c415 struct snd_sof_pcm *spcm; in hda_dsp_d0i3_streaming_applicable() local
419 list_for_each_entry(spcm, &sdev->pcm_list, list) { in hda_dsp_d0i3_streaming_applicable()
421 substream = spcm->stream[dir].substream; in hda_dsp_d0i3_streaming_applicable()
425 if (!spcm->stream[dir].d0i3_compatible) in hda_dsp_d0i3_streaming_applicable()
/linux-6.3-rc2/include/trace/events/
A Dsof.h64 struct snd_sof_pcm *spcm,
69 TP_ARGS(sdev, spcm, substream, dma_posn, dai_posn),
79 __entry->pcm_id = le32_to_cpu(spcm->pcm.pcm_id);
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8186/
A Dmt8186.c483 struct snd_sof_pcm *spcm; in mt8186_pcm_pointer() local
489 spcm = snd_sof_find_spcm_dai(scomp, rtd); in mt8186_pcm_pointer()
490 if (!spcm) { in mt8186_pcm_pointer()
496 stream = &spcm->stream[substream->stream]; in mt8186_pcm_pointer()
504 pos = spcm->stream[substream->stream].posn.host_posn; in mt8186_pcm_pointer()
/linux-6.3-rc2/sound/soc/sof/mediatek/mt8195/
A Dmt8195.c509 struct snd_sof_pcm *spcm; in mt8195_pcm_pointer() local
515 spcm = snd_sof_find_spcm_dai(scomp, rtd); in mt8195_pcm_pointer()
516 if (!spcm) { in mt8195_pcm_pointer()
522 stream = &spcm->stream[substream->stream]; in mt8195_pcm_pointer()
530 pos = spcm->stream[substream->stream].posn.host_posn; in mt8195_pcm_pointer()

Completed in 60 milliseconds