Home
last modified time | relevance | path

Searched refs:scomp (Results 1 – 7 of 7) sorted by relevance

/sound/soc/sof/
Dtopology.c61 struct snd_soc_component *scomp = swidget->scomp; in ipc_pcm_params() local
62 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in ipc_pcm_params()
71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()
73 dev_err(scomp->dev, "error: cannot find PCM for %s\n", in ipc_pcm_params()
111 dev_err(scomp->dev, "error: pcm params failed for %s\n", in ipc_pcm_params()
120 struct snd_soc_component *scomp = swidget->scomp; in ipc_trigger() local
121 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in ipc_trigger()
135 dev_err(scomp->dev, "error: failed to trigger %s\n", in ipc_trigger()
145 struct snd_soc_component *scomp; in sof_keyword_dapm_event() local
153 scomp = swidget->scomp; in sof_keyword_dapm_event()
[all …]
Dcontrol.c92 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_volume_put() local
108 if (pm_runtime_active(scomp->dev)) in snd_sof_volume_put()
161 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_switch_put() local
179 if (pm_runtime_active(scomp->dev)) in snd_sof_switch_put()
211 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_enum_put() local
226 if (pm_runtime_active(scomp->dev)) in snd_sof_enum_put()
242 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_get() local
248 dev_err_ratelimited(scomp->dev, in snd_sof_bytes_get()
256 dev_err_ratelimited(scomp->dev, in snd_sof_bytes_get()
276 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_bytes_put() local
[all …]
Dsof-audio.h48 struct snd_soc_component *scomp; member
64 struct snd_soc_component *scomp; member
82 struct snd_soc_component *scomp; member
100 struct snd_soc_component *scomp; member
110 struct snd_soc_component *scomp; member
157 int snd_sof_load_topology(struct snd_soc_component *scomp, const char *file);
170 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp,
174 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp,
177 snd_sof_find_swidget_sname(struct snd_soc_component *scomp,
179 struct snd_sof_dai *snd_sof_find_dai(struct snd_soc_component *scomp,
[all …]
Dsof-audio.c326 struct snd_sof_pcm *snd_sof_find_spcm_name(struct snd_soc_component *scomp, in snd_sof_find_spcm_name() argument
329 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_name()
351 struct snd_sof_pcm *snd_sof_find_spcm_comp(struct snd_soc_component *scomp, in snd_sof_find_spcm_comp() argument
355 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_comp()
371 struct snd_sof_pcm *snd_sof_find_spcm_pcm_id(struct snd_soc_component *scomp, in snd_sof_find_spcm_pcm_id() argument
374 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_spcm_pcm_id()
385 struct snd_sof_widget *snd_sof_find_swidget(struct snd_soc_component *scomp, in snd_sof_find_swidget() argument
388 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget()
401 snd_sof_find_swidget_sname(struct snd_soc_component *scomp, in snd_sof_find_swidget_sname() argument
404 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_find_swidget_sname()
[all …]
Dipc.c452 struct snd_soc_component *scomp = sdev->component; in ipc_period_elapsed() local
458 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_period_elapsed()
482 struct snd_soc_component *scomp = sdev->component; in ipc_xrun() local
488 spcm = snd_sof_find_spcm_comp(scomp, msg_id, &direction); in ipc_xrun()
530 int snd_sof_ipc_stream_posn(struct snd_soc_component *scomp, in snd_sof_ipc_stream_posn() argument
534 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_ipc_stream_posn()
669 struct snd_soc_component *scomp = scontrol->scomp; in snd_sof_ipc_set_get_comp_data() local
671 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in snd_sof_ipc_set_get_comp_data()
Dpcm.c44 struct snd_soc_component *scomp = spcm->scomp; in sof_pcm_dsp_params() local
45 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp); in sof_pcm_dsp_params()
51 dev_err(scomp->dev, "error: got wrong reply for PCM %d\n", in sof_pcm_dsp_params()
/sound/soc/sof/intel/
Dhda-pcm.c156 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_pointer() local
162 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_pointer()
225 struct snd_soc_component *scomp = sdev->component; in hda_dsp_pcm_open() local
231 spcm = snd_sof_find_spcm_dai(scomp, rtd); in hda_dsp_pcm_open()