Lines Matching defs:sdev
29 int sof_ipc_msg_data(struct snd_sof_dev *sdev,
33 if (!sps || !sdev->stream_box.size) {
34 snd_sof_dsp_mailbox_read(sdev, sdev->dsp_box.offset, p, sz);
56 snd_sof_dsp_mailbox_read(sdev, posn_offset, p, sz);
63 int sof_set_stream_data_offset(struct snd_sof_dev *sdev,
68 if (posn_offset > sdev->stream_box.size ||
72 posn_offset += sdev->stream_box.offset;
78 dev_dbg(sdev->dev, "pcm: stream dir %d, posn mailbox offset is %zu",
84 dev_dbg(sdev->dev, "compr: stream dir %d, posn mailbox offset is %zu",
87 dev_err(sdev->dev, "No stream opened");
95 int sof_stream_pcm_open(struct snd_sof_dev *sdev,
117 int sof_stream_pcm_close(struct snd_sof_dev *sdev,