Lines Matching defs: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);
199 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
216 if (pcm_ops && pcm_ops->platform_stop_during_hw_free)
220 if (pcm_ops && pcm_ops->hw_free) {
221 ret = pcm_ops->hw_free(component, substream);
288 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
310 if (pcm_ops && pcm_ops->ipc_first_on_start)
324 if (pcm_ops && pcm_ops->ipc_first_on_start)
347 if (pcm_ops && pcm_ops->reset_hw_params_during_stop)
358 if (pcm_ops && pcm_ops->trigger)
359 ret = pcm_ops->trigger(component, substream, cmd);
364 /* invoke platform trigger to start DMA only if pcm_ops is successful */
371 /* invoke platform trigger to stop DMA even if pcm_ops isn't set or if it failed */
372 if (!pcm_ops || !pcm_ops->platform_stop_during_hw_free)
596 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
617 if (pcm_ops && pcm_ops->dai_link_fixup)
618 return pcm_ops->dai_link_fixup(rtd, params);
681 const struct sof_ipc_pcm_ops *pcm_ops = sof_ipc_get_ops(sdev, pcm);
683 if (pcm_ops && pcm_ops->delay)
684 return pcm_ops->delay(component, substream);