Lines Matching refs:cap_cb
40 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()
742 cap_cb->unicast_discovery_complete(conn, err, member, csis_inst); in bt_cap_initiator_discover_complete()
873 if (cap_cb == NULL) { in cap_initiator_unicast_audio_proc_complete()
879 if (cap_cb->unicast_start_complete != NULL) { in cap_initiator_unicast_audio_proc_complete()
880 cap_cb->unicast_start_complete(err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
884 if (cap_cb->unicast_update_complete != NULL) { in cap_initiator_unicast_audio_proc_complete()
885 cap_cb->unicast_update_complete(err, failed_conn); in cap_initiator_unicast_audio_proc_complete()
889 if (cap_cb->unicast_stop_complete != NULL) { in cap_initiator_unicast_audio_proc_complete()
890 cap_cb->unicast_stop_complete(err, failed_conn); in cap_initiator_unicast_audio_proc_complete()