Lines Matching defs:stream
18 #include <sound/sof/stream.h>
39 struct sof_stream *stream = sps->substream->runtime->private_data;
41 /* The stream might already be closed */
42 if (!stream)
45 posn_offset = stream->posn_offset;
75 struct sof_stream *stream = sps->substream->runtime->private_data;
77 stream->posn_offset = posn_offset;
78 dev_dbg(sdev->dev, "pcm: stream dir %d, posn mailbox offset is %zu",
79 sps->substream->stream, posn_offset);
84 dev_dbg(sdev->dev, "compr: stream dir %d, posn mailbox offset is %zu",
87 dev_err(sdev->dev, "No stream opened");
98 struct sof_stream *stream = kmalloc(sizeof(*stream), GFP_KERNEL);
100 if (!stream)
103 /* binding pcm substream to hda stream */
104 substream->runtime->private_data = stream;
120 struct sof_stream *stream = substream->runtime->private_data;
123 kfree(stream);