Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dtbs.c74 static struct tbs_inst gtbs_inst; variable
96 return inst == &gtbs_inst; in inst_is_gtbs()
123 inst = &gtbs_inst; in inst_lookup_index()
164 call = lookup_call_in_inst(&gtbs_inst, call_index); in lookup_call()
202 if (inst_check_attr(&gtbs_inst, attr)) { in lookup_inst_by_attr()
203 return &gtbs_inst; in lookup_inst_by_attr()
215 if (lookup_call_in_inst(&gtbs_inst, call_index) != NULL) { in lookup_inst_by_call_index()
216 return &gtbs_inst; in lookup_inst_by_call_index()
299 if (uri_scheme_in_list(uri_scheme, gtbs_inst.uri_scheme_list)) { in lookup_inst_by_uri_scheme()
300 return &gtbs_inst; in lookup_inst_by_uri_scheme()
[all …]
Dtbs_client.c66 struct bt_tbs_instance gtbs_inst; member
84 if (func(&server->gtbs_inst, user_data)) { in tbs_instance_find()
85 return &server->gtbs_inst; in tbs_instance_find()
109 return &server->gtbs_inst; in tbs_inst_by_index()
132 if (inst == &server->gtbs_inst) { in tbs_index()
806 return srv_inst->gtbs_inst.start_handle != 0; in gtbs_found()
832 atomic_clear_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY); in tbs_client_discover_complete()
1860 srv_inst->current_inst = &srv_inst->gtbs_inst; in primary_discover_gtbs_cb()
2398 if (atomic_test_and_set_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY)) { in check_and_set_all_busy()
2423 atomic_clear_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY); in check_and_set_all_busy()
[all …]