Searched refs:spcm (Results 1 – 8 of 8) sorted by relevance
/linux/sound/soc/sof/ |
A D | pcm.c | 34 if (!spcm) in create_page_table() 52 spcm->pcm.pcm_id); in sof_pcm_dsp_params() 85 if (!spcm) { in snd_sof_pcm_period_elapsed() 175 if (!spcm) in sof_pcm_hw_params() 296 if (!spcm) in sof_pcm_hw_free() 335 if (!spcm) in sof_pcm_prepare() 378 if (!spcm) in sof_pcm_trigger() 499 if (!spcm) in sof_pcm_pointer() 531 if (!spcm) in sof_pcm_open() 593 if (!spcm) in sof_pcm_close() [all …]
|
A D | sof-audio.c | 505 struct snd_sof_pcm *spcm; in snd_sof_dsp_only_d0i3_compatible_stream_active() local 533 struct snd_sof_pcm *spcm; in snd_sof_stream_suspend_ignored() local 548 struct snd_sof_pcm *spcm; in sof_set_hw_params_upon_resume() local 707 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_name() local 712 return spcm; in snd_sof_find_spcm_name() 717 return spcm; in snd_sof_find_spcm_name() 722 return spcm; in snd_sof_find_spcm_name() 733 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_comp() local 740 return spcm; in snd_sof_find_spcm_comp() 752 struct snd_sof_pcm *spcm; in snd_sof_find_spcm_pcm_id() local [all …]
|
A D | compress.c | 34 struct snd_sof_pcm *spcm; in snd_sof_compr_fragment_elapsed() local 42 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_compr_fragment_elapsed() 43 if (!spcm) { in snd_sof_compr_fragment_elapsed() 50 schedule_work(&spcm->stream[cstream->direction].period_elapsed_work); in snd_sof_compr_fragment_elapsed()
|
A D | sof-audio.h | 198 struct snd_sof_pcm *spcm, int direction, 215 struct snd_sof_pcm *spcm = NULL; in snd_sof_find_spcm_dai() local 217 list_for_each_entry(spcm, &sdev->pcm_list, list) { in snd_sof_find_spcm_dai() 218 if (le32_to_cpu(spcm->pcm.dai_id) == rtd->dai_link->id) in snd_sof_find_spcm_dai() 219 return spcm; in snd_sof_find_spcm_dai() 272 int sof_widget_list_setup(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm, int dir); 273 int sof_widget_list_free(struct snd_sof_dev *sdev, struct snd_sof_pcm *spcm, int dir);
|
A D | topology.c | 65 struct snd_sof_pcm *spcm; in ipc_pcm_params() local 72 if (!spcm) { in ipc_pcm_params() 147 struct snd_sof_pcm *spcm; in sof_keyword_dapm_event() local 160 if (!spcm) { in sof_keyword_dapm_event() 2596 spcm = kzalloc(sizeof(*spcm), GFP_KERNEL); in sof_dai_load() 2597 if (!spcm) in sof_dai_load() 2600 spcm->scomp = scomp; in sof_dai_load() 2610 spcm->pcm = *pcm; in sof_dai_load() 2632 spcm->pcm.pcm_name, spcm->stream[stream].d0i3_compatible); in sof_dai_load() 2662 spcm->pcm.pcm_name, spcm->stream[stream].d0i3_compatible); in sof_dai_load() [all …]
|
A D | ipc.c | 525 struct snd_sof_pcm *spcm; in ipc_period_elapsed() local 528 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_period_elapsed() 529 if (!spcm) { in ipc_period_elapsed() 536 stream = &spcm->stream[direction]; in ipc_period_elapsed() 548 if (spcm->pcm.compress) in ipc_period_elapsed() 561 struct snd_sof_pcm *spcm; in ipc_xrun() local 564 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_xrun() 565 if (!spcm) { in ipc_xrun() 571 stream = &spcm->stream[direction]; in ipc_xrun() 611 struct snd_sof_pcm *spcm, int direction, in snd_sof_ipc_stream_posn() argument [all …]
|
/linux/sound/soc/intel/boards/ |
A 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/sound/soc/sof/intel/ |
A 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()
|
Completed in 18 milliseconds