Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dcap_commander.c43 static const struct bt_cap_commander_cb *cap_cb; variable
53 CHECKIF(cap_cb != NULL) { in bt_cap_commander_register_cb()
59 cap_cb = cb; in bt_cap_commander_register_cb()
71 CHECKIF(cap_cb != cb) { in bt_cap_commander_unregister_cb()
76 cap_cb = NULL; in bt_cap_commander_unregister_cb()
86 if (cap_cb && cap_cb->discovery_complete) { in cap_commander_discover_complete()
87 cap_cb->discovery_complete(conn, err, member, csis_inst); in cap_commander_discover_complete()
869 if (cap_cb == NULL) { in cap_commander_proc_complete()
876 if (cap_cb->volume_changed != NULL) { in cap_commander_proc_complete()
877 cap_cb->volume_changed(failed_conn, err); in cap_commander_proc_complete()
[all …]
Dcap_initiator.c40 static const struct bt_cap_initiator_cb *cap_cb; variable
49 CHECKIF(cap_cb != NULL) { in bt_cap_initiator_register_cb()
54 cap_cb = cb; in bt_cap_initiator_register_cb()
66 CHECKIF(cap_cb != cb) { in bt_cap_initiator_unregister_cb()
71 cap_cb = NULL; in bt_cap_initiator_unregister_cb()
274 if (cap_cb && cap_cb->broadcast_started) { in broadcast_source_started_cb()
283 cap_cb->broadcast_started(source); in broadcast_source_started_cb()
290 if (cap_cb && cap_cb->broadcast_stopped) { in broadcast_source_stopped_cb()
299 cap_cb->broadcast_stopped(source, reason); in broadcast_source_stopped_cb()
741 if (cap_cb && cap_cb->unicast_discovery_complete) { in bt_cap_initiator_discover_complete()
[all …]
/Zephyr-latest/samples/bluetooth/tmap_central/src/
Dcap_initiator.c159 static struct bt_cap_initiator_cb cap_cb = { variable
422 err = bt_cap_initiator_register_cb(&cap_cb); in cap_initiator_init()
/Zephyr-latest/samples/bluetooth/cap_initiator/src/
Dcap_initiator_unicast.c713 static struct bt_cap_initiator_cb cap_cb = { in init_cap_initiator() local
725 err = bt_cap_initiator_register_cb(&cap_cb); in init_cap_initiator()
/Zephyr-latest/tests/bluetooth/tester/src/audio/
Dbtp_cap.c142 static struct bt_cap_initiator_cb cap_cb = { variable
938 err = bt_cap_initiator_register_cb(&cap_cb); in tester_init_cap()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcap_commander_test.c184 static struct bt_cap_commander_cb cap_cb = { variable
600 err = bt_cap_commander_register_cb(&cap_cb); in init()
Dgmap_ugg_test.c310 static struct bt_cap_initiator_cb cap_cb = { variable
453 err = bt_cap_initiator_register_cb(&cap_cb); in init()
Dcap_initiator_unicast_test.c271 static struct bt_cap_initiator_cb cap_cb = { variable
461 err = bt_cap_initiator_register_cb(&cap_cb); in init()