Lines Matching refs:open_dev
48 static void update_estimated_rate(struct open_dev *adev) in update_estimated_rate()
73 static inline int count_non_empty_dev(struct open_dev *adevs) { in count_non_empty_dev()
75 struct open_dev *adev; in count_non_empty_dev()
83 static void check_non_empty_state_transition(struct open_dev *adevs) { in check_non_empty_state_transition()
102 static int fetch_streams(struct open_dev *adev) in fetch_streams()
169 static int input_delay_frames(struct open_dev *adevs) in input_delay_frames()
171 struct open_dev *adev; in input_delay_frames()
191 static unsigned int set_stream_delay(struct open_dev *adev) in set_stream_delay()
219 struct open_dev *adev, in get_stream_limit()
268 struct open_dev *adev, in get_input_dev_max_wake_ts()
303 static int set_input_dev_wake_ts(struct open_dev *adev) in set_input_dev_wake_ts()
377 static int capture_to_streams(struct open_dev *adev) in capture_to_streams()
488 static int write_streams(struct open_dev **odevs, in write_streams()
489 struct open_dev *adev, in write_streams()
575 void update_dev_wakeup_time(struct open_dev *adev, unsigned int *hw_level) in update_dev_wakeup_time()
610 int write_output_samples(struct open_dev **odevs, in write_output_samples()
611 struct open_dev *adev, in write_output_samples()
729 int dev_io_send_captured_samples(struct open_dev *idev_list) in dev_io_send_captured_samples()
731 struct open_dev *adev; in dev_io_send_captured_samples()
757 struct open_dev **odevs, in handle_dev_err()
758 struct open_dev *adev) in handle_dev_err()
771 int dev_io_capture(struct open_dev **list) in dev_io_capture()
773 struct open_dev *idev_list = *list; in dev_io_capture()
774 struct open_dev *adev; in dev_io_capture()
788 void dev_io_playback_fetch(struct open_dev *odev_list) in dev_io_playback_fetch()
790 struct open_dev *adev; in dev_io_playback_fetch()
799 int dev_io_playback_write(struct open_dev **odevs, in dev_io_playback_write()
802 struct open_dev *adev; in dev_io_playback_write()
877 void dev_io_run(struct open_dev **odevs, struct open_dev **idevs, in dev_io_run()
890 static int input_adev_ignore_wake(const struct open_dev *adev) in input_adev_ignore_wake()
905 int dev_io_next_input_wake(struct open_dev **idevs, struct timespec *min_ts) in dev_io_next_input_wake()
907 struct open_dev *adev; in dev_io_next_input_wake()
923 struct open_dev *dev_io_find_open_dev(struct open_dev *odev_list, in dev_io_find_open_dev()
926 struct open_dev *odev; in dev_io_find_open_dev()
933 void dev_io_rm_open_dev(struct open_dev **odev_list, in dev_io_rm_open_dev()
934 struct open_dev *dev_to_rm) in dev_io_rm_open_dev()
936 struct open_dev *odev; in dev_io_rm_open_dev()
981 int dev_io_remove_stream(struct open_dev **dev_list, in dev_io_remove_stream()
985 struct open_dev *open_dev; in dev_io_remove_stream() local
1005 DL_FOREACH(*dev_list, open_dev) { in dev_io_remove_stream()
1006 delete_stream_from_dev(open_dev->dev, stream); in dev_io_remove_stream()