Lines Matching refs:open_devs
270 DL_SEARCH_SCALAR(thread->open_devs[iodev->direction], adev, dev, iodev); in thread_add_open_dev()
286 DL_APPEND(thread->open_devs[iodev->direction], adev); in thread_add_open_dev()
297 dev_io_find_open_dev(thread->open_devs[dir], dev_idx); in thread_rm_open_dev()
301 dev_io_rm_open_dev(&thread->open_devs[dir], adev); in thread_rm_open_dev()
313 thread->open_devs[iodev->direction], iodev->info.idx); in thread_is_dev_open()
337 thread->open_devs[CRAS_STREAM_OUTPUT], dev_idx); in thread_dev_start_ramp()
369 DL_FOREACH (thread->open_devs[rstream->direction], open_dev) { in thread_find_stream()
388 rc = dev_io_remove_stream(&thread->open_devs[stream->direction], stream, in thread_disconnect_stream()
432 dev_io_remove_stream(&thread->open_devs[rstream->direction], in thread_drain_stream()
446 rc = dev_io_append_stream(&thread->open_devs[CRAS_STREAM_OUTPUT], in thread_add_stream()
447 &thread->open_devs[CRAS_STREAM_INPUT], stream, in thread_add_stream()
460 struct open_dev *idev_list = thread->open_devs[CRAS_STREAM_INPUT]; in thread_set_aec_dump()
636 DL_FOREACH (thread->open_devs[CRAS_STREAM_OUTPUT], adev) { in handle_audio_thread_message()
648 DL_FOREACH (thread->open_devs[CRAS_STREAM_INPUT], adev) { in handle_audio_thread_message()
736 ret = dev_io_next_output_wake(&thread->open_devs[CRAS_STREAM_OUTPUT], in fill_next_sleep_interval()
738 ret += dev_io_next_input_wake(&thread->open_devs[CRAS_STREAM_INPUT], in fill_next_sleep_interval()
848 dev_io_run(&thread->open_devs[CRAS_STREAM_OUTPUT], in audio_io_thread()
849 &thread->open_devs[CRAS_STREAM_INPUT], in audio_io_thread()
853 thread->open_devs[CRAS_STREAM_OUTPUT]); in audio_io_thread()
873 DL_FOREACH (thread->open_devs[CRAS_STREAM_OUTPUT], adev) { in audio_io_thread()
882 DL_FOREACH (thread->open_devs[CRAS_STREAM_INPUT], adev) { in audio_io_thread()