Lines Matching refs:tbs

1121 	struct tbs_inst *tbs = NULL;  in write_call_cp()  local
1150 tbs = lookup_inst_by_call_index(call_index); in write_call_cp()
1151 if (tbs == NULL) { in write_call_cp()
1156 tbs = inst; in write_call_cp()
1159 status = accept_call(tbs, &ccp->accept); in write_call_cp()
1169 tbs = lookup_inst_by_call_index(call_index); in write_call_cp()
1170 if (tbs == NULL) { in write_call_cp()
1175 tbs = inst; in write_call_cp()
1178 status = terminate_call(tbs, &ccp->terminate, BT_TBS_REASON_CLIENT_TERMINATED); in write_call_cp()
1188 tbs = lookup_inst_by_call_index(call_index); in write_call_cp()
1189 if (tbs == NULL) { in write_call_cp()
1194 tbs = inst; in write_call_cp()
1197 status = tbs_hold_call(tbs, &ccp->hold); in write_call_cp()
1207 tbs = lookup_inst_by_call_index(call_index); in write_call_cp()
1208 if (tbs == NULL) { in write_call_cp()
1213 tbs = inst; in write_call_cp()
1216 status = retrieve_call(tbs, &ccp->retrieve); in write_call_cp()
1226 tbs = lookup_inst_by_uri_scheme(ccp->originate.uri, uri_len); in write_call_cp()
1227 if (tbs == NULL) { in write_call_cp()
1232 tbs = inst; in write_call_cp()
1235 status = originate_call(tbs, &ccp->originate, uri_len, &call_index); in write_call_cp()
1248 tbs = lookup_inst_by_call_index(call_index); in write_call_cp()
1249 if (tbs == NULL) { in write_call_cp()
1254 tbs = inst; in write_call_cp()
1257 status = join_calls(tbs, &ccp->join, call_index_cnt); in write_call_cp()
1266 if (tbs != NULL) { in write_call_cp()
1291 if (tbs != NULL && status == BT_TBS_RESULT_CODE_SUCCESS) { in write_call_cp()
1292 notify_calls(tbs); in write_call_cp()
1293 notify_app(conn, tbs, len, ccp, status, call_index); in write_call_cp()
1692 struct tbs_inst *tbs = &svc_insts[i]; in bt_tbs_unregister_bearer() local
1694 if (inst_is_registered(tbs)) { in bt_tbs_unregister_bearer()
1799 struct tbs_inst *tbs = inst_lookup_index(bearer_index); in bt_tbs_originate() local
1804 if (tbs == NULL) { in bt_tbs_originate()
1817 return originate_call(tbs, ccp, uri_len, call_index); in bt_tbs_originate()