Lines Matching refs:pcm_ops
128 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
146 if (pcm_ops && pcm_ops->hw_free && spcm->prepared[substream->stream]) {
147 ret = pcm_ops->hw_free(component, substream);
180 if (pcm_ops && pcm_ops->hw_params) {
181 ret = pcm_ops->hw_params(component, substream, params, &platform_params);
273 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
297 if (pcm_ops && pcm_ops->ipc_first_on_start)
311 if (pcm_ops && pcm_ops->ipc_first_on_start)
319 if (pcm_ops && pcm_ops->d0i3_supported_in_s0ix &&
333 if (pcm_ops && pcm_ops->reset_hw_params_during_stop)
344 if (pcm_ops && pcm_ops->trigger)
345 ret = pcm_ops->trigger(component, substream, cmd);
350 /* invoke platform trigger to start DMA only if pcm_ops is successful */
357 /* invoke platform trigger to stop DMA even if pcm_ops isn't set or if it failed */
358 if (!pcm_ops || !pcm_ops->platform_stop_during_hw_free)
366 if (pcm_ops && pcm_ops->platform_stop_during_hw_free &&
386 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
395 if (pcm_ops && pcm_ops->pointer)
396 ret = pcm_ops->pointer(component, substream, &host);
599 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
620 if (pcm_ops && pcm_ops->dai_link_fixup)
621 return pcm_ops->dai_link_fixup(rtd, params);
684 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
686 if (pcm_ops && pcm_ops->delay)
687 return pcm_ops->delay(component, substream);