Lines Matching refs:gtbs_inst

74 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()
527 err = inst_notify_calls(&gtbs_inst); in notify_calls()
880 tbs_set_terminate_reason(&gtbs_inst, ccp->call_index, reason); in terminate_call()
1486 BT_GATT_SERVICE(((struct bt_gatt_attr[]){BT_TBS_SERVICE_DEFINE(BT_UUID_GTBS, &gtbs_inst)}));
1550 return tbs_inst_init_and_register(&gtbs_inst, &gtbs_svc, param); in gtbs_service_inst_register()
1634 if (param->gtbs && inst_is_registered(&gtbs_inst)) { in bt_tbs_register_bearer()
1640 if (!param->gtbs && !inst_is_registered(&gtbs_inst)) { in bt_tbs_register_bearer()
2019 tbs_inst_remote_incoming(&gtbs_inst, to, from, friendly_name, call); in bt_tbs_remote_incoming()
2172 net_buf_simple_add_mem(&uri_scheme_buf, gtbs_inst.uri_scheme_list, in bt_tbs_set_uri_scheme_list()
2173 strlen(gtbs_inst.uri_scheme_list)); in bt_tbs_set_uri_scheme_list()
2191 bt_gatt_notify_uuid(NULL, BT_UUID_TBS_URI_LIST, gtbs_inst.attrs, in bt_tbs_set_uri_scheme_list()