Home
last modified time | relevance | path

Searched refs:cras_ionode (Results 1 – 24 of 24) sorted by relevance

/external/adhd/cras/src/server/
Dcras_iodev.h79 struct cras_ionode { struct
98 struct cras_ionode *prev, *next; argument
200 struct cras_ionode *node,
231 struct cras_ionode *nodes;
232 struct cras_ionode *active_node;
372 struct cras_ionode *node,
380 void cras_ionode_plug_event(struct cras_ionode *node, int plugged);
383 int cras_ionode_better(struct cras_ionode *a, struct cras_ionode *b);
391 int cras_iodev_set_node_attr(struct cras_ionode *ionode,
395 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node);
[all …]
Dcras_iodev_list.h19 struct cras_ionode;
184 int cras_iodev_list_node_selected(struct cras_ionode *node);
187 void cras_iodev_list_notify_node_volume(struct cras_ionode *node);
190 void cras_iodev_list_notify_node_capture_gain(struct cras_ionode *node);
193 void cras_iodev_list_notify_node_left_right_swapped(struct cras_ionode *node);
Dcras_bt_io.c28 struct cras_ionode base;
56 static struct cras_ionode *add_profile_dev(struct cras_iodev *bt_iodev, in add_profile_dev()
294 struct cras_ionode *node; in update_active_node()
323 struct cras_ionode *node; in cras_bt_io_create()
415 struct cras_ionode *node; in cras_bt_io_free_resources()
447 struct cras_ionode *cras_bt_io_get_profile(struct cras_iodev *bt_iodev, in cras_bt_io_get_profile()
450 struct cras_ionode *node; in cras_bt_io_get_profile()
463 struct cras_ionode *node; in cras_bt_io_append()
503 struct cras_ionode *node; in cras_bt_io_try_remove()
528 struct cras_ionode *node; in cras_bt_io_remove()
Dcras_alsa_io.c77 struct cras_ionode base;
84 struct cras_ionode base;
163 struct cras_ionode *ionode,
551 static struct cras_ionode *first_plugged_node(struct cras_iodev *iodev) in first_plugged_node()
553 struct cras_ionode *n; in first_plugged_node()
568 struct cras_ionode *n; in update_active_node()
783 struct cras_ionode *node, int enable) in set_alsa_node_swapped()
841 struct cras_ionode *node; in free_alsa_iodev_resources()
880 struct cras_ionode *node; in has_node()
903 static void drop_node_name(struct cras_ionode *node) in drop_node_name()
[all …]
Dcras_iodev.c581 struct cras_ionode *node, int enable) in cras_iodev_dsp_set_swap_mode_for_node()
666 static void plug_node(struct cras_ionode *node, int plugged) in plug_node()
679 static void set_node_volume(struct cras_ionode *node, int value) in set_node_volume()
695 static void set_node_capture_gain(struct cras_ionode *node, int value) in set_node_capture_gain()
709 static void set_node_left_right_swapped(struct cras_ionode *node, int value) in set_node_left_right_swapped()
728 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr()
751 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
757 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node()
764 struct cras_ionode *node) in cras_iodev_set_active_node()
Dcras_hfp_iodev.c201 struct cras_ionode *node; in hfp_free_resources()
222 struct cras_ionode *node; in hfp_iodev_create()
259 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in hfp_iodev_create()
Dcras_iodev_list.c111 static struct cras_ionode *find_node(cras_node_id_t id) in find_node()
114 struct cras_ionode *node; in find_node()
202 static const char *node_type_to_str(struct cras_ionode *node) in node_type_to_str()
252 struct cras_ionode *node; in fill_node_list()
1485 struct cras_ionode *node; in cras_iodev_list_set_node_attr()
1496 void cras_iodev_list_notify_node_volume(struct cras_ionode *node) in cras_iodev_list_notify_node_volume()
1503 void cras_iodev_list_notify_node_left_right_swapped(struct cras_ionode *node) in cras_iodev_list_notify_node_left_right_swapped()
1511 void cras_iodev_list_notify_node_capture_gain(struct cras_ionode *node) in cras_iodev_list_notify_node_capture_gain()
Dcras_bt_io.h22 struct cras_ionode *cras_bt_io_get_profile(
Dcras_empty_iodev.c187 struct cras_ionode *node; in empty_iodev_create()
214 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in empty_iodev_create()
Dcras_alsa_io.h15 struct cras_ionode;
Dtest_iodev.c179 struct cras_ionode *node; in test_iodev_create()
208 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in test_iodev_create()
Dcras_a2dp_iodev.c432 struct cras_ionode *node; in free_resources()
450 struct cras_ionode *node; in a2dp_iodev_create()
501 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in a2dp_iodev_create()
Dcras_loopback_iodev.c290 struct cras_ionode *node; in loopback_iodev_create()
309 node = (struct cras_ionode *)calloc(1, sizeof(*node)); in loopback_iodev_create()
/external/adhd/cras/src/tests/
Dbt_device_unittest.cc18 static struct cras_ionode* cras_bt_io_get_profile_ret;
93 bt_iodev1.nodes = reinterpret_cast<struct cras_ionode*>(0x123); in TEST_F()
180 struct cras_ionode* cras_bt_io_get_profile( in cras_bt_io_get_profile()
294 void cras_iodev_list_notify_node_volume(struct cras_ionode *node) in cras_iodev_list_notify_node_volume()
Ddev_io_stubs.cc91 reinterpret_cast<cras_ionode*>(calloc(1, sizeof(cras_ionode))), free); in create_ionode()
99 cras_ionode* active_node) { in create_open_iodev()
Dbt_io_unittest.cc356 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
362 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node()
374 struct cras_ionode *node) in cras_iodev_set_active_node()
380 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr()
Ddev_io_stubs.h27 using IonodePtr = std::unique_ptr<cras_ionode, decltype(free)*>;
76 cras_ionode* active_node);
Dhfp_iodev_unittest.cc204 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
210 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node()
217 struct cras_ionode *node) in cras_iodev_set_active_node()
Diodev_unittest.cc32 static struct cras_ionode *node_selected;
122 int set_swap_mode_for_node(struct cras_iodev *iodev, struct cras_ionode *node, in set_swap_mode_for_node()
618 struct cras_ionode ionode; in TEST()
652 struct cras_ionode ionode; in TEST()
724 struct cras_ionode ionode; in TEST()
771 struct cras_ionode ionode; in TEST()
1088 struct cras_ionode ionode, ionode2; in TEST()
1115 struct cras_ionode ionode; in TEST()
1129 struct cras_ionode ionode; in TEST()
1141 struct cras_ionode ionode; in TEST()
[all …]
Dloopback_iodev_unittest.cc190 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
196 struct cras_ionode *node) in cras_iodev_set_active_node()
Da2dp_iodev_unittest.cc428 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
434 void cras_iodev_rm_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_rm_node()
441 struct cras_ionode *node) in cras_iodev_set_active_node()
Dalsa_io_unittest.cc101 static struct cras_ionode *cras_iodev_set_node_attr_ionode;
965 struct cras_ionode * const fake_node = (cras_ionode *)calloc( in TEST()
966 1, sizeof(struct cras_ionode)); in TEST()
1575 struct cras_ionode node; in TEST()
1763 struct cras_ionode node; in TEST()
1841 struct cras_ionode *node; in SetUp()
1887 struct cras_ionode *node; in TEST_F()
2243 struct cras_ionode *node = &alsa_node.base; in TEST()
2846 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr()
2858 void cras_iodev_add_node(struct cras_iodev *iodev, struct cras_ionode *node) in cras_iodev_add_node()
[all …]
Diodev_list_unittest.cc255 struct cras_ionode node1, node2, node3;
1181 struct cras_ionode ionode; in TEST_F()
1193 struct cras_ionode ionode; in TEST_F()
1661 void set_node_volume(struct cras_ionode *node, int value) in set_node_volume()
1677 int cras_iodev_set_node_attr(struct cras_ionode *ionode, in cras_iodev_set_node_attr()
1710 struct cras_ionode *node = (struct cras_ionode *)calloc(1, sizeof(*node)); in empty_iodev_create()
Dalsa_card_unittest.cc824 struct cras_ionode nodes[4]; in TEST()