Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_iodev_list.c31 struct cras_iodev *iodevs; member
104 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
108 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
130 DL_FOREACH (list->iodevs, tmp) in add_dev_to_list()
143 DL_SEARCH_SCALAR(list->iodevs, tmp, info.idx, new_idx); in add_dev_to_list()
155 DL_PREPEND(list->iodevs, dev); in add_dev_to_list()
166 DL_FOREACH (devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
170 DL_DELETE(devs[dev->direction].iodevs, dev); in rm_dev_from_list()
185 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
91 DL_FOREACH (alsa_card->iodevs, node) { in create_iodev_for_device()
130 DL_APPEND(alsa_card->iodevs, new_dev); in create_iodev_for_device()
141 DL_FOREACH (alsa_card->iodevs, node) { in card_has_hctl_jack()
384 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
401 DL_FOREACH (alsa_card->iodevs, node) { in add_controls_and_iodevs_with_ucm()
420 DL_FOREACH (alsa_card->iodevs, dev_node) { in configure_echo_reference_dev()
428 DL_FOREACH (alsa_card->iodevs, echo_ref_node) { in configure_echo_reference_dev()
616 DL_FOREACH (alsa_card->iodevs, curr) { in cras_alsa_card_destroy()
618 DL_DELETE(alsa_card->iodevs, curr); in cras_alsa_card_destroy()
Ddev_io.h107 struct cras_iodev **iodevs, unsigned int num_iodevs);
Ddev_io.c1387 struct cras_iodev **iodevs, unsigned int num_iodevs) in dev_io_append_stream() argument
1408 DL_SEARCH_SCALAR(*dev_list, open_dev, dev, iodevs[i]); in dev_io_append_stream()
1412 dev = iodevs[i]; in dev_io_append_stream()
Daudio_thread.c441 struct cras_iodev **iodevs, in thread_add_stream() argument
448 iodevs, num_iodevs); in thread_add_stream()
/external/adhd/cras/src/tests/
Daudio_thread_unittest.cc401 struct cras_iodev* iodevs[] = {&iodev, &iodev2}; in TEST_F() local
415 thread_add_stream(thread_, &rstream, iodevs, 2); in TEST_F()
426 thread_add_stream(thread_, &rstream2, iodevs, 2); in TEST_F()
448 struct cras_iodev* iodevs[] = {&iodev}; in TEST_F() local
459 thread_add_stream(thread_, &rstream1, iodevs, 1); in TEST_F()
460 thread_add_stream(thread_, &rstream2, iodevs, 1); in TEST_F()
/external/adhd/cras/src/libcras/
Dcras_client.c3940 struct cras_iodev_info iodevs[CRAS_MAX_IODEVS]; in get_nodes() local
3947 rc = cras_client_get_input_devices(client, iodevs, ionodes, in get_nodes()
3950 rc = cras_client_get_output_devices(client, iodevs, ionodes, in get_nodes()
3964 if (iodevs[i].idx != ionodes[j].iodev_idx) in get_nodes()
3966 (*nodes)[*num] = libcras_node_info_create(&iodevs[i], in get_nodes()