Lines Matching refs:dev_stream
37 struct dev_stream { struct
45 struct dev_stream *prev, *next; argument
65 struct dev_stream *dev_stream_create(struct cras_rstream *stream,
70 void dev_stream_destroy(struct dev_stream *dev_stream);
87 void dev_stream_set_dev_rate(struct dev_stream *dev_stream,
100 int dev_stream_mix(struct dev_stream *dev_stream,
112 unsigned int dev_stream_capture(struct dev_stream *dev_stream,
118 int dev_stream_attached_devs(const struct dev_stream *dev_stream);
121 void dev_stream_update_frames(const struct dev_stream *dev_stream);
128 int dev_stream_playback_frames(const struct dev_stream *dev_stream);
134 unsigned int dev_stream_capture_avail(const struct dev_stream *dev_stream);
140 unsigned int dev_stream_cb_threshold(const struct dev_stream *dev_stream);
143 void dev_stream_update_next_wake_time(struct dev_stream *dev_stream);
149 int dev_stream_capture_update_rstream(struct dev_stream *dev_stream);
152 int dev_stream_playback_update_rstream(struct dev_stream *dev_stream);
168 void dev_stream_set_delay(const struct dev_stream *dev_stream,
172 int dev_stream_request_playback_samples(struct dev_stream *dev_stream,
191 int dev_stream_wake_time(struct dev_stream *dev_stream, unsigned int curr_level,
200 int dev_stream_poll_stream_fd(const struct dev_stream *dev_stream);
202 static inline int dev_stream_is_running(struct dev_stream *dev_stream) in dev_stream_is_running() argument
204 return dev_stream->is_running; in dev_stream_is_running()
207 static inline void dev_stream_set_running(struct dev_stream *dev_stream) in dev_stream_set_running() argument
209 dev_stream->is_running = 1; in dev_stream_set_running()
213 dev_stream_next_cb_ts(const struct dev_stream *dev_stream) in dev_stream_next_cb_ts() argument
215 if (dev_stream->stream->flags & USE_DEV_TIMING) in dev_stream_next_cb_ts()
218 return &dev_stream->stream->next_cb_ts; in dev_stream_next_cb_ts()
222 dev_stream_sleep_interval_ts(struct dev_stream *dev_stream) in dev_stream_sleep_interval_ts() argument
224 return &dev_stream->stream->sleep_interval_ts; in dev_stream_sleep_interval_ts()
227 int dev_stream_is_pending_reply(const struct dev_stream *dev_stream);
232 int dev_stream_flush_old_audio_messages(struct dev_stream *dev_stream);