Home
last modified time | relevance | path

Searched refs:iodevs (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev_list.c32 struct cras_iodev *iodevs; member
100 DL_FOREACH(devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
104 DL_FOREACH(devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
138 DL_FOREACH(list->iodevs, tmp) in add_dev_to_list()
151 DL_SEARCH_SCALAR(list->iodevs, tmp, info.idx, new_idx); in add_dev_to_list()
163 DL_PREPEND(list->iodevs, dev); in add_dev_to_list()
174 DL_FOREACH(devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
178 DL_DELETE(devs[dev->direction].iodevs, dev); in rm_dev_from_list()
194 DL_FOREACH(list->iodevs, tmp) { in fill_dev_list()
253 DL_FOREACH(list->iodevs, dev) { in fill_node_list()
[all …]
Dcras_alsa_card.c58 struct iodev_list_node *iodevs; member
94 DL_FOREACH(alsa_card->iodevs, node) { in create_iodev_for_device()
138 DL_APPEND(alsa_card->iodevs, new_dev); in create_iodev_for_device()
149 DL_FOREACH(alsa_card->iodevs, node) { in card_has_hctl_jack()
392 DL_FOREACH(alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
406 DL_FOREACH(alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
423 DL_FOREACH(alsa_card->iodevs, dev_node) { in configure_echo_reference_dev()
432 DL_FOREACH(alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev()
625 DL_FOREACH(alsa_card->iodevs, curr) { in cras_alsa_card_destroy()
627 DL_DELETE(alsa_card->iodevs, curr); in cras_alsa_card_destroy()
Daudio_thread.c257 struct cras_iodev **iodevs, in append_stream() argument
271 dev, iodevs[i]); in append_stream()
275 dev = iodevs[i]; in append_stream()
507 struct cras_iodev **iodevs, in thread_add_stream() argument
512 rc = append_stream(thread, stream, iodevs, num_iodevs); in thread_add_stream()
517 num_iodevs ? iodevs[0]->info.idx : 0, num_iodevs); in thread_add_stream()
/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc338 struct cras_iodev *iodevs[] = {&iodev, &iodev2}; in TEST_F() local
352 thread_add_stream(thread_, &rstream, iodevs, 2); in TEST_F()
363 thread_add_stream(thread_, &rstream2, iodevs, 2); in TEST_F()
385 struct cras_iodev *iodevs[] = {&iodev}; in TEST_F() local
396 thread_add_stream(thread_, &rstream1, iodevs, 1); in TEST_F()
397 thread_add_stream(thread_, &rstream2, iodevs, 1); in TEST_F()