Home
last modified time | relevance | path

Searched refs:ionode (Results 1 – 8 of 8) sorted by relevance

/external/adhd/cras/src/tests/
Diodev_unittest.cc618 struct cras_ionode ionode; in TEST() local
622 memset(&ionode, 0, sizeof(ionode)); in TEST()
624 iodev.nodes = &ionode; in TEST()
625 iodev.active_node = &ionode; in TEST()
652 struct cras_ionode ionode; in TEST() local
658 memset(&ionode, 0, sizeof(ionode)); in TEST()
660 iodev.nodes = &ionode; in TEST()
661 iodev.active_node = &ionode; in TEST()
724 struct cras_ionode ionode; in TEST() local
730 memset(&ionode, 0, sizeof(ionode)); in TEST()
[all …]
Ddev_io_stubs.cc90 IonodePtr ionode( in create_ionode() local
92 ionode->type = type; in create_ionode()
93 return ionode; in create_ionode()
Diodev_list_unittest.cc1181 struct cras_ionode ionode; in TEST_F() local
1183 memset(&ionode, 0, sizeof(ionode)); in TEST_F()
1184 ionode.dev = &iodev; in TEST_F()
1185 cras_iodev_list_notify_node_left_right_swapped(&ionode); in TEST_F()
1193 struct cras_ionode ionode; in TEST_F() local
1195 memset(&ionode, 0, sizeof(ionode)); in TEST_F()
1196 ionode.dev = &iodev; in TEST_F()
1197 cras_iodev_list_notify_node_volume(&ionode); in TEST_F()
1198 cras_iodev_list_notify_node_capture_gain(&ionode); in TEST_F()
1677 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() argument
[all …]
Dbt_io_unittest.cc380 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() argument
Dalsa_io_unittest.cc2846 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() argument
2850 cras_iodev_set_node_attr_ionode = ionode; in cras_iodev_set_node_attr()
2853 if (ionode && (attr == IONODE_ATTR_PLUGGED)) in cras_iodev_set_node_attr()
2854 ionode->plugged = value; in cras_iodev_set_node_attr()
/external/adhd/cras/src/server/
Dcras_alsa_io.c163 struct cras_ionode *ionode,
1677 struct cras_ionode *ionode; in build_softvol_scalers() local
1679 DL_FOREACH(aio->base.nodes, ionode) { in build_softvol_scalers()
1683 aout = (struct alsa_output_node *)ionode; in build_softvol_scalers()
1686 ionode->softvol_scalers = softvol_build_from_curve(curve); in build_softvol_scalers()
2301 struct cras_ionode *ionode) in alsa_iodev_unmute_node() argument
2303 struct alsa_output_node *active = (struct alsa_output_node *)ionode; in alsa_iodev_unmute_node()
2318 output->mixer_output, node == ionode); in alsa_iodev_unmute_node()
2324 struct cras_ionode *ionode, in alsa_iodev_set_active_node() argument
2329 if (iodev->active_node == ionode) { in alsa_iodev_set_active_node()
[all …]
Dcras_iodev.c728 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr() argument
733 plug_node(ionode, value); in cras_iodev_set_node_attr()
736 set_node_volume(ionode, value); in cras_iodev_set_node_attr()
739 set_node_capture_gain(ionode, value); in cras_iodev_set_node_attr()
742 set_node_left_right_swapped(ionode, value); in cras_iodev_set_node_attr()
Dcras_iodev.h391 int cras_iodev_set_node_attr(struct cras_ionode *ionode,