Home
last modified time | relevance | path

Searched refs:open_devs (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc265 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
269 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
283 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
334 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
338 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
361 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
367 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
372 adev = thread_->open_devs[CRAS_STREAM_OUTPUT]; in TEST_F()
379 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
385 adev = thread_->open_devs[CRAS_STREAM_INPUT]; in TEST_F()
[all …]
/external/adhd/cras/src/server/
Daudio_thread.c270 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()
[all …]
Daudio_thread.h41 struct open_dev *open_devs[CRAS_NUM_DIRECTIONS]; member
/external/libusb/libusb/
Dcore.c1276 list_add(&_dev_handle->list, &ctx->open_devs); in libusb_wrap_sys_device()
1333 list_add(&_dev_handle->list, &ctx->open_devs); in libusb_open()
2303 list_init(&ctx->open_devs); in libusb_init()
2422 if (list_empty(&ctx->open_devs)) in libusb_exit()
2437 if (!list_empty(&ctx->open_devs)) in libusb_exit()
Dlibusbi.h335 struct list_head open_devs; member
1342 for_each_helper(h, &(ctx)->open_devs, struct libusb_device_handle)
/external/libusb/include/libusb/
Dlibusbi.h335 struct list_head open_devs; member
1342 for_each_helper(h, &(ctx)->open_devs, struct libusb_device_handle)