Lines Matching defs:stream
18 #include <sound/sof/stream.h>
35 struct intel_stream *stream = substream->runtime->private_data;
37 /* The stream might already be closed */
38 if (stream)
39 sof_mailbox_read(sdev, stream->posn_offset, p, sz);
48 struct intel_stream *stream = substream->runtime->private_data;
56 stream->posn_offset = sdev->stream_box.offset + posn_offset;
58 dev_dbg(sdev->dev, "pcm: stream dir %d, posn mailbox offset is %zu",
59 substream->stream, stream->posn_offset);
68 struct intel_stream *stream = kmalloc(sizeof(*stream), GFP_KERNEL);
70 if (!stream)
73 /* binding pcm substream to hda stream */
74 substream->runtime->private_data = stream;
83 struct intel_stream *stream = substream->runtime->private_data;
86 kfree(stream);