Lines Matching defs:sdev

45 	struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(scomp);
48 int ret = snd_sof_ipc_pcm_params(sdev, substream, reply);
99 struct snd_sof_dev *sdev,
111 ret = sof_ipc_tx_message(sdev->ipc, stream.hdr.cmd, &stream,
125 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
144 ret = sof_pcm_dsp_pcm_free(substream, sdev, spcm);
205 ret = snd_sof_pcm_platform_hw_params(sdev,
217 ret = sof_ipc_tx_message(sdev->ipc, pcm.hdr.cmd, &pcm, sizeof(pcm),
241 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
257 ret = sof_pcm_dsp_pcm_free(substream, sdev, spcm);
264 ret = snd_sof_pcm_platform_hw_free(sdev, substream);
314 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
378 if (sdev->system_suspend_target == SOF_SUSPEND_S0IX &&
406 snd_sof_pcm_platform_trigger(sdev, substream, cmd);
409 ret = sof_ipc_tx_message(sdev->ipc, stream.hdr.cmd, &stream,
414 snd_sof_pcm_platform_trigger(sdev, substream, cmd);
418 ret = sof_pcm_dsp_pcm_free(substream, sdev, spcm);
427 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
436 if (sof_ops(sdev)->pcm_pointer)
437 return sof_ops(sdev)->pcm_pointer(sdev, substream);
461 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
462 const struct snd_sof_dsp_ops *ops = sof_ops(sdev);
521 ret = snd_sof_pcm_platform_open(sdev, substream);
532 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
547 err = snd_sof_pcm_platform_close(sdev, substream);
568 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
601 SNDRV_DMA_TYPE_DEV_SG, sdev->dev,
623 SNDRV_DMA_TYPE_DEV_SG, sdev->dev,
755 struct snd_sof_dev *sdev = snd_soc_component_get_drvdata(component);
756 struct snd_sof_pdata *plat_data = sdev->pdata;
761 sdev->component = component;
763 tplg_filename = devm_kasprintf(sdev->dev, GFP_KERNEL,
786 void snd_sof_new_platform_drv(struct snd_sof_dev *sdev)
788 struct snd_soc_component_driver *pd = &sdev->plat_drv;
789 struct snd_sof_pdata *plat_data = sdev->pdata;