Lines Matching refs:pcm_ops
109 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
129 if (spcm->prepared[substream->stream] && pcm_ops && pcm_ops->hw_free) {
130 ret = pcm_ops->hw_free(component, substream);
162 if (pcm_ops && pcm_ops->hw_params) {
163 ret = pcm_ops->hw_params(component, substream, params, &platform_params);
181 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
187 if (pcm_ops && pcm_ops->platform_stop_during_hw_free)
192 if (pcm_ops && pcm_ops->hw_free) {
193 ret = pcm_ops->hw_free(sdev->component, substream);
196 "pcm_ops->hw_free failed %d\n", ret);
331 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
354 if (pcm_ops && pcm_ops->ipc_first_on_start)
368 if (pcm_ops && pcm_ops->ipc_first_on_start)
376 if (pcm_ops && pcm_ops->d0i3_supported_in_s0ix &&
390 if (pcm_ops && pcm_ops->reset_hw_params_during_stop)
401 if (pcm_ops && pcm_ops->trigger)
402 ret = pcm_ops->trigger(component, substream, cmd);
407 /* invoke platform trigger to start DMA only if pcm_ops is successful */
414 /* invoke platform trigger to stop DMA even if pcm_ops isn't set or if it failed */
415 if (!pcm_ops || !pcm_ops->platform_stop_during_hw_free)
423 if (pcm_ops && pcm_ops->platform_stop_during_hw_free &&
443 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
452 if (pcm_ops && pcm_ops->pointer)
453 ret = pcm_ops->pointer(component, substream, &host);
672 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
693 if (pcm_ops && pcm_ops->dai_link_fixup)
694 return pcm_ops->dai_link_fixup(rtd, params);
756 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
758 if (pcm_ops && pcm_ops->delay)
759 return pcm_ops->delay(component, substream);