Lines Matching defs:sdev
22 int hda_probe_compr_assign(struct snd_sof_dev *sdev,
28 stream = hda_dsp_stream_get(sdev, cstream->direction);
39 int hda_probe_compr_free(struct snd_sof_dev *sdev,
46 ret = hda_dsp_stream_put(sdev, cstream->direction,
49 dev_dbg(sdev->dev, "stream put failed: %d\n", ret);
59 int hda_probe_compr_set_params(struct snd_sof_dev *sdev,
75 bits = hda_dsp_get_bits(sdev, bps);
76 rate = hda_dsp_get_mult_div(sdev, params->codec.sample_rate);
83 ret = hda_dsp_stream_hw_params(sdev, stream, dmab, NULL);
85 dev_err(sdev->dev, "error: hdac prepare failed: %x\n", ret);
92 int hda_probe_compr_trigger(struct snd_sof_dev *sdev,
98 return hda_dsp_stream_trigger(sdev, stream, cmd);
101 int hda_probe_compr_pointer(struct snd_sof_dev *sdev,