Lines Matching refs:dev_stream
40 struct cras_iodev *get_master_dev(const struct dev_stream *stream) in get_master_dev()
52 struct dev_stream *dev_stream; in update_estimated_rate() local
54 DL_FOREACH(dev->streams, dev_stream) { in update_estimated_rate()
55 master_dev = get_master_dev(dev_stream); in update_estimated_rate()
61 dev_stream_set_dev_rate(dev_stream, in update_estimated_rate()
104 struct dev_stream *dev_stream; in fetch_streams() local
113 DL_FOREACH(adev->dev->streams, dev_stream) { in fetch_streams()
114 struct cras_rstream *rstream = dev_stream->stream; in fetch_streams()
122 if (dev_stream_is_pending_reply(dev_stream)) { in fetch_streams()
123 dev_stream_flush_old_audio_messages(dev_stream); in fetch_streams()
124 cras_rstream_record_fetch_interval(dev_stream->stream, in fetch_streams()
131 if (cras_rstream_get_is_draining(dev_stream->stream)) in fetch_streams()
134 next_cb_ts = dev_stream_next_cb_ts(dev_stream); in fetch_streams()
144 if (!dev_stream_can_fetch(dev_stream)) { in fetch_streams()
152 dev_stream_set_delay(dev_stream, delay); in fetch_streams()
157 rc = dev_stream_request_playback_samples(dev_stream, &now); in fetch_streams()
193 struct dev_stream *stream; in set_stream_delay()
221 struct dev_stream **limit_stream) in get_stream_limit()
225 struct dev_stream *stream; in get_stream_limit()
308 struct dev_stream *stream; in set_input_dev_wake_ts()
309 struct dev_stream *cap_limit_stream; in set_input_dev_wake_ts()
383 struct dev_stream *cap_limit_stream; in capture_to_streams()
384 struct dev_stream *stream; in capture_to_streams()
494 struct dev_stream *curr; in write_streams()
736 struct dev_stream *stream; in dev_io_send_captured_samples()
803 struct dev_stream *curr; in dev_io_playback_write()
866 struct dev_stream *stream; in dev_io_playback_write()
937 struct dev_stream *dev_stream; in dev_io_rm_open_dev() local
959 DL_FOREACH(dev_to_rm->dev->streams, dev_stream) { in dev_io_rm_open_dev()
960 cras_iodev_rm_stream(dev_to_rm->dev, dev_stream->stream); in dev_io_rm_open_dev()
961 dev_stream_destroy(dev_stream); in dev_io_rm_open_dev()
974 struct dev_stream *out; in delete_stream_from_dev()