Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/audio/
Dtbs.c105 static struct tbs_inst gtbs_inst; variable
127 return inst == &gtbs_inst; in inst_is_gtbs()
154 inst = &gtbs_inst; in inst_lookup_index()
195 call = lookup_call_in_inst(&gtbs_inst, call_index); in lookup_call()
233 if (inst_check_attr(&gtbs_inst, attr)) { in lookup_inst_by_attr()
234 return &gtbs_inst; in lookup_inst_by_attr()
246 if (lookup_call_in_inst(&gtbs_inst, call_index) != NULL) { in lookup_inst_by_call_index()
247 return &gtbs_inst; in lookup_inst_by_call_index()
330 if (uri_scheme_in_list(uri_scheme, gtbs_inst.uri_scheme_list)) { in lookup_inst_by_uri_scheme()
331 return &gtbs_inst; in lookup_inst_by_uri_scheme()
[all …]
Dtbs_client.c65 struct bt_tbs_instance gtbs_inst; member
83 if (func(&server->gtbs_inst, user_data)) { in tbs_instance_find()
84 return &server->gtbs_inst; in tbs_instance_find()
108 return &server->gtbs_inst; in tbs_inst_by_index()
131 if (inst == &server->gtbs_inst) { in tbs_index()
805 return srv_inst->gtbs_inst.start_handle != 0; in gtbs_found()
831 atomic_clear_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY); in tbs_client_discover_complete()
1865 srv_inst->current_inst = &srv_inst->gtbs_inst; in primary_discover_gtbs_cb()
2403 if (atomic_test_and_set_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY)) { in check_and_set_all_busy()
2428 atomic_clear_bit(srv_inst->gtbs_inst.flags, BT_TBS_CLIENT_FLAG_BUSY); in check_and_set_all_busy()
[all …]