Lines Matching refs:pcm_ops
123 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
154 if (spcm->prepared[substream->stream] && pcm_ops && pcm_ops->hw_free) {
155 ret = pcm_ops->hw_free(component, substream);
214 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
220 if (pcm_ops && pcm_ops->platform_stop_during_hw_free)
225 if (pcm_ops && pcm_ops->hw_free) {
226 ret = pcm_ops->hw_free(sdev->component, substream);
229 "pcm_ops->hw_free failed %d\n", ret);
320 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
370 if (pcm_ops && pcm_ops->hw_params) {
371 ret = pcm_ops->hw_params(component, substream, params, platform_params);
390 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
413 if (pcm_ops && pcm_ops->ipc_first_on_start)
427 if (pcm_ops && pcm_ops->ipc_first_on_start)
435 if (pcm_ops && pcm_ops->d0i3_supported_in_s0ix &&
449 if (pcm_ops && pcm_ops->reset_hw_params_during_stop)
460 if (pcm_ops && pcm_ops->trigger)
461 ret = pcm_ops->trigger(component, substream, cmd);
466 /* invoke platform trigger to start DMA only if pcm_ops is successful */
473 /* invoke platform trigger to stop DMA even if pcm_ops isn't set or if it failed */
474 if (!pcm_ops || !pcm_ops->platform_stop_during_hw_free)
482 if (pcm_ops && pcm_ops->platform_stop_during_hw_free &&
502 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
511 if (pcm_ops && pcm_ops->pointer)
512 ret = pcm_ops->pointer(component, substream, &host);
731 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
752 if (pcm_ops && pcm_ops->dai_link_fixup)
753 return pcm_ops->dai_link_fixup(rtd, params);
815 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
817 if (pcm_ops && pcm_ops->delay)
818 return pcm_ops->delay(component, substream);