Lines Matching defs:sdev
32 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
35 hext_stream = hda_dsp_stream_get(sdev, cstream->direction, 0);
53 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
56 ret = hda_dsp_stream_put(sdev, cstream->direction,
59 dev_dbg(sdev->dev, "stream put failed: %d\n", ret);
75 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
86 bits = hda_dsp_get_bits(sdev, bps);
87 rate = hda_dsp_get_mult_div(sdev, params->codec.sample_rate);
94 ret = hda_dsp_stream_hw_params(sdev, hext_stream, dmab, NULL);
96 dev_err(sdev->dev, "error: hdac prepare failed: %d\n", ret);
108 struct snd_sof_dev *sdev = sof_client_dev_to_sof_dev(cdev);
110 return hda_dsp_stream_trigger(sdev, hext_stream, cmd);
137 int hda_probes_register(struct snd_sof_dev *sdev)
139 return sof_client_dev_register(sdev, "hda-probes", 0, &hda_probes_ops,
143 void hda_probes_unregister(struct snd_sof_dev *sdev)
145 sof_client_dev_unregister(sdev, "hda-probes", 0);