Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_alsa_card.c84 struct iodev_list_node *new_dev; in create_iodev_for_device() local
103 new_dev = calloc(1, sizeof(*new_dev)); in create_iodev_for_device()
104 if (new_dev == NULL) in create_iodev_for_device()
112 new_dev->direction = direction; in create_iodev_for_device()
113 new_dev->iodev = in create_iodev_for_device()
120 if (new_dev->iodev == NULL) { in create_iodev_for_device()
122 free(new_dev); in create_iodev_for_device()
130 DL_APPEND(alsa_card->iodevs, new_dev); in create_iodev_for_device()
131 return new_dev->iodev; in create_iodev_for_device()
Dcras_iodev_list.c1144 struct cras_iodev *new_dev; in cras_iodev_list_add_active_node() local
1145 new_dev = find_dev(dev_index_of(node_id)); in cras_iodev_list_add_active_node()
1146 if (!new_dev || new_dev->direction != dir) in cras_iodev_list_add_active_node()
1149 MAINLOG(main_log, MAIN_THREAD_ADD_ACTIVE_NODE, new_dev->info.idx, 0, 0); in cras_iodev_list_add_active_node()
1155 if (cras_iodev_list_dev_is_enabled(new_dev)) { in cras_iodev_list_add_active_node()
1156 if (node_index_of(node_id) == new_dev->active_node->idx) in cras_iodev_list_add_active_node()
1159 cras_iodev_list_disable_dev(new_dev, true); in cras_iodev_list_add_active_node()
1162 new_dev->update_active_node(new_dev, node_index_of(node_id), 1); in cras_iodev_list_add_active_node()
1163 cras_iodev_list_enable_dev(new_dev); in cras_iodev_list_add_active_node()
1532 struct cras_iodev *new_dev = NULL; in cras_iodev_list_select_node() local
[all …]
/external/adhd/cras/src/tests/
Dhfp_ag_profile_unittest.cc98 struct cras_bt_device* new_dev = in TEST_F() local
109 bt_profile->new_connection(NULL, bt_profile, new_dev, 0); in TEST_F()
113 cras_hfp_ag_remove_conflict(new_dev); in TEST_F()
/external/cpuinfo/test/dmesg/
Dgalaxy-a8-2018.log3065 [ 2.404721] [0:irq/131-s2mu004: 1241] [MUIC] muic_core_handle_attach attached_dev: 0, new_dev: 1
3066 …3] [0:irq/131-s2mu004: 1241] [MUIC] muic_core_handle_attached_prev_dev attached_dev: 0, new_dev: 1
3068 …1-s2mu004: 1241] [MUIC] muic_core_handle_attached_new_dev : muic_pdata->attached_dev: 0, new_dev: 1
3076 [ 2.406571] [0:irq/131-s2mu004: 1241] [MUIC] muic_core_handle_attach new_dev failed
Dgalaxy-s7-us.log1767 [ 1.923436] [3: swapper/0: 1] muic-universal:muic_handle_attach attached_dev:59 new_dev
Dgalaxy-s7-global.log943 [ 1.524121] [4: swapper/0: 1] muic-universal:muic_handle_attach attached_dev:62 new_dev
Dgalaxy-s8-us.log1369 [ 2.063559] [4: swapper/0: 1] muic-universal:muic_handle_attach attached_dev:68 new_dev