Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_iodev_list.c29 struct cras_iodev *iodevs; member
97 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
101 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
123 DL_FOREACH (list->iodevs, tmp) in add_dev_to_list()
136 DL_SEARCH_SCALAR(list->iodevs, tmp, info.idx, new_idx); in add_dev_to_list()
148 DL_PREPEND(list->iodevs, dev); in add_dev_to_list()
159 DL_FOREACH (devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
163 DL_DELETE(devs[dev->direction].iodevs, dev); in rm_dev_from_list()
178 DL_FOREACH (list->iodevs, tmp) { in fill_dev_list()
240 DL_FOREACH (list->iodevs, dev) { in fill_node_list()
[all …]
Dcras_alsa_card.c58 struct iodev_list_node *iodevs; member
90 DL_FOREACH (alsa_card->iodevs, node) { in create_iodev_for_device()
123 DL_APPEND(alsa_card->iodevs, new_dev); in create_iodev_for_device()
134 DL_FOREACH (alsa_card->iodevs, node) { in card_has_hctl_jack()
370 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
383 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
402 DL_FOREACH (alsa_card->iodevs, dev_node) { in configure_echo_reference_dev()
410 DL_FOREACH (alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev()
591 DL_FOREACH (alsa_card->iodevs, curr) { in cras_alsa_card_destroy()
593 DL_DELETE(alsa_card->iodevs, curr); in cras_alsa_card_destroy()
Ddev_io.h101 struct cras_iodev **iodevs, unsigned int num_iodevs);
Ddev_io.c1250 struct cras_iodev **iodevs, unsigned int num_iodevs) in dev_io_append_stream() argument
1264 DL_SEARCH_SCALAR(*dev_list, open_dev, dev, iodevs[i]); in dev_io_append_stream()
1268 dev = iodevs[i]; in dev_io_append_stream()
Daudio_thread.c443 struct cras_iodev **iodevs, in thread_add_stream() argument
449 iodevs, num_iodevs); in thread_add_stream()
/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc399 struct cras_iodev* iodevs[] = {&iodev, &iodev2}; in TEST_F() local
413 thread_add_stream(thread_, &rstream, iodevs, 2); in TEST_F()
424 thread_add_stream(thread_, &rstream2, iodevs, 2); in TEST_F()
446 struct cras_iodev* iodevs[] = {&iodev}; in TEST_F() local
457 thread_add_stream(thread_, &rstream1, iodevs, 1); in TEST_F()
458 thread_add_stream(thread_, &rstream2, iodevs, 1); in TEST_F()