Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_bt_io.c62 struct bt_io *btio = (struct bt_io *)bt_iodev; in add_profile_dev() local
69 n->base.idx = btio->next_node_id++; in add_profile_dev()
110 static void bt_possibly_switch_to_a2dp(struct bt_io *btio) in bt_possibly_switch_to_a2dp() argument
112 if (!cras_bt_device_has_a2dp(btio->device)) in bt_possibly_switch_to_a2dp()
114 cras_bt_device_set_active_profile(btio->device, in bt_possibly_switch_to_a2dp()
116 cras_bt_device_switch_profile(btio->device, &btio->base); in bt_possibly_switch_to_a2dp()
137 struct bt_io *btio = (struct bt_io *)iodev; in open_dev() local
142 if (device_using_profile(btio->device, in open_dev()
145 bt_switch_to_profile(btio->device, in open_dev()
147 cras_bt_device_switch_profile_enable_dev(btio->device, iodev); in open_dev()
[all …]