Lines Matching refs:sdev
27 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
31 adata = sdev->pdata->hw_pdata;
32 stream = acp_dsp_stream_get(sdev, 0);
49 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
54 ret = acp_dsp_stream_put(sdev, stream);
56 dev_err(sdev->dev, "Failed to release probe compress stream\n");
60 adata = sdev->pdata->hw_pdata;
73 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
83 ret = acp_dsp_stream_config(sdev, stream);
85 acp_dsp_stream_put(sdev, stream);
91 buf_offset = sdev->debug_box.offset +
96 snd_sof_dsp_write(sdev, ACP_DSP_BAR, ACP_SCRATCH_REG_0 + buf_offset, size);
133 int acp_probes_register(struct snd_sof_dev *sdev)
135 return sof_client_dev_register(sdev, "acp-probes", 0, &acp_probes_ops,
140 void acp_probes_unregister(struct snd_sof_dev *sdev)
142 sof_client_dev_unregister(sdev, "acp-probes", 0);