Lines Matching refs:dev_stream
33 struct dev_stream { struct
41 struct dev_stream *prev, *next; argument
44 struct dev_stream *dev_stream_create(struct cras_rstream *stream,
48 void dev_stream_destroy(struct dev_stream *dev_stream);
65 void dev_stream_set_dev_rate(struct dev_stream *dev_stream,
80 int dev_stream_mix(struct dev_stream *dev_stream,
93 unsigned int dev_stream_capture(struct dev_stream *dev_stream,
99 int dev_stream_attached_devs(const struct dev_stream *dev_stream);
102 void dev_stream_update_frames(const struct dev_stream *dev_stream);
109 int dev_stream_playback_frames(const struct dev_stream *dev_stream);
115 unsigned int dev_stream_capture_avail(const struct dev_stream *dev_stream);
121 unsigned int dev_stream_cb_threshold(const struct dev_stream *dev_stream);
127 int dev_stream_capture_update_rstream(struct dev_stream *dev_stream);
130 int dev_stream_playback_update_rstream(struct dev_stream *dev_stream);
148 void dev_stream_set_delay(const struct dev_stream *dev_stream,
152 int dev_stream_can_fetch(struct dev_stream *dev_stream);
155 int dev_stream_request_playback_samples(struct dev_stream *dev_stream,
174 int dev_stream_wake_time(struct dev_stream *dev_stream,
185 int dev_stream_poll_stream_fd(const struct dev_stream *dev_stream);
188 dev_stream_next_cb_ts(struct dev_stream *dev_stream) in dev_stream_next_cb_ts() argument
190 if (dev_stream->stream->flags & USE_DEV_TIMING) in dev_stream_next_cb_ts()
193 return &dev_stream->stream->next_cb_ts; in dev_stream_next_cb_ts()
197 dev_stream_sleep_interval_ts(struct dev_stream *dev_stream) in dev_stream_sleep_interval_ts() argument
199 return &dev_stream->stream->sleep_interval_ts; in dev_stream_sleep_interval_ts()
202 int dev_stream_is_pending_reply(const struct dev_stream *dev_stream);
207 int dev_stream_flush_old_audio_messages(struct dev_stream *dev_stream);