Lines Matching refs:tbs_inst
386 const struct bt_tbs_instance *tbs_inst, in provider_name_notify_handler() argument
394 provider_name_changed(conn, 0, tbs_index(conn, tbs_inst), name); in provider_name_notify_handler()
412 const struct bt_tbs_instance *tbs_inst, in technology_notify_handler() argument
423 technology_changed(conn, 0, tbs_index(conn, tbs_inst), technology); in technology_notify_handler()
442 const struct bt_tbs_instance *tbs_inst, in signal_strength_notify_handler() argument
453 signal_strength_changed(conn, 0, tbs_index(conn, tbs_inst), signal_strength); in signal_strength_notify_handler()
460 const struct bt_tbs_instance *tbs_inst, in current_calls_notify_handler() argument
471 bearer_list_current_calls(conn, tbs_inst, &buf); in current_calls_notify_handler()
489 const struct bt_tbs_instance *tbs_inst, in status_flags_notify_handler() argument
500 status_flags_changed(conn, 0, tbs_index(conn, tbs_inst), status_flags); in status_flags_notify_handler()
519 const struct bt_tbs_instance *tbs_inst, in incoming_uri_notify_handler() argument
527 call_uri_changed(conn, 0, tbs_index(conn, tbs_inst), uri); in incoming_uri_notify_handler()
545 const struct bt_tbs_instance *tbs_inst, in call_state_notify_handler() argument
578 call_state_changed(conn, 0, tbs_index(conn, tbs_inst), cnt, call_states); in call_state_notify_handler()
583 const struct bt_tbs_instance *tbs_inst, in call_cp_notify_handler() argument
596 call_cp_callback_handler(conn, ind_val->status, tbs_index(conn, tbs_inst), in call_cp_notify_handler()
616 const struct bt_tbs_instance *tbs_inst, in termination_reason_notify_handler() argument
628 terminate_reason_changed(conn, 0, tbs_index(conn, tbs_inst), reason); in termination_reason_notify_handler()
646 const struct bt_tbs_instance *tbs_inst, in in_call_notify_handler() argument
654 remote_uri_changed(conn, 0, tbs_index(conn, tbs_inst), uri); in in_call_notify_handler()
672 const struct bt_tbs_instance *tbs_inst, in friendly_name_notify_handler() argument
680 friendly_name_changed(conn, 0, tbs_index(conn, tbs_inst), name); in friendly_name_notify_handler()
690 struct bt_tbs_instance *tbs_inst; in notify_handler() local
699 tbs_inst = lookup_inst_by_handle(conn, handle); in notify_handler()
700 if (tbs_inst != NULL) { in notify_handler()
701 uint8_t inst_index = tbs_index(conn, tbs_inst); in notify_handler()
707 if (handle == tbs_inst->call_state_sub_params.value_handle) { in notify_handler()
708 call_state_notify_handler(conn, tbs_inst, data, length); in notify_handler()
710 } else if (handle == tbs_inst->name_sub_params.value_handle) { in notify_handler()
711 provider_name_notify_handler(conn, tbs_inst, data, in notify_handler()
715 } else if (handle == tbs_inst->technology_sub_params.value_handle) { in notify_handler()
716 technology_notify_handler(conn, tbs_inst, data, length); in notify_handler()
719 } else if (handle == tbs_inst->signal_strength_sub_params.value_handle) { in notify_handler()
720 signal_strength_notify_handler(conn, tbs_inst, data, in notify_handler()
724 } else if (handle == tbs_inst->status_flags_sub_params.value_handle) { in notify_handler()
725 status_flags_notify_handler(conn, tbs_inst, data, in notify_handler()
729 } else if (handle == tbs_inst->current_calls_sub_params.value_handle) { in notify_handler()
730 current_calls_notify_handler(conn, tbs_inst, data, in notify_handler()
734 } else if (handle == tbs_inst->in_target_uri_sub_params.value_handle) { in notify_handler()
735 incoming_uri_notify_handler(conn, tbs_inst, data, in notify_handler()
739 } else if (handle == tbs_inst->call_cp_sub_params.value_handle) { in notify_handler()
740 call_cp_notify_handler(conn, tbs_inst, data, length); in notify_handler()
742 } else if (handle == tbs_inst->termination_reason_handle) { in notify_handler()
743 termination_reason_notify_handler(conn, tbs_inst, data, in notify_handler()
746 } else if (handle == tbs_inst->incoming_call_sub_params.value_handle) { in notify_handler()
747 in_call_notify_handler(conn, tbs_inst, data, length); in notify_handler()
750 } else if (handle == tbs_inst->friendly_name_sub_params.value_handle) { in notify_handler()
751 friendly_name_notify_handler(conn, tbs_inst, data, in notify_handler()
2409 struct bt_tbs_instance *tbs_inst = &srv_inst->tbs_insts[num_free]; in check_and_set_all_busy() local
2411 if (atomic_test_and_set_bit(tbs_inst->flags, BT_TBS_CLIENT_FLAG_BUSY)) { in check_and_set_all_busy()
2412 LOG_DBG("inst[%zu] (%p) is busy", num_free, tbs_inst); in check_and_set_all_busy()