Lines Matching refs:calls

58 	struct bt_tbs_call calls[CONFIG_BT_TBS_MAX_CALLS];  member
141 for (int i = 0; i < ARRAY_SIZE(svc_insts[i].calls); i++) { in lookup_call_in_inst()
142 if (inst->calls[i].index == call_index) { in lookup_call_in_inst()
143 return &inst->calls[i]; in lookup_call_in_inst()
291 for (size_t j = 0; j < ARRAY_SIZE(svc_insts[i].calls); j++) { in lookup_inst_by_uri_scheme()
358 for (size_t i = 0; i < ARRAY_SIZE(inst->calls); i++) { in call_alloc()
359 if (inst->calls[i].index == BT_TBS_FREE_CALL_INDEX) { in call_alloc()
360 free_call = &inst->calls[i]; in call_alloc()
392 const struct bt_tbs_call *calls; in net_buf_put_call_states_by_inst() local
395 calls = inst->calls; in net_buf_put_call_states_by_inst()
396 call_count = ARRAY_SIZE(inst->calls); in net_buf_put_call_states_by_inst()
399 call = &calls[i]; in net_buf_put_call_states_by_inst()
435 const struct bt_tbs_call *calls; in net_buf_put_current_calls_by_inst() local
440 calls = inst->calls; in net_buf_put_current_calls_by_inst()
441 call_count = ARRAY_SIZE(inst->calls); in net_buf_put_current_calls_by_inst()
444 call = &calls[i]; in net_buf_put_current_calls_by_inst()
819 for (int i = 0; i < ARRAY_SIZE(inst->calls); i++) { in hold_other_calls()
824 if (inst->calls[i].index == call_indexes[j]) { in hold_other_calls()
834 call_state = inst->calls[i].state; in hold_other_calls()
836 inst->calls[i].state = BT_TBS_CALL_STATE_LOCALLY_HELD; in hold_other_calls()
837 held_calls[held_calls_cnt++] = &inst->calls[i]; in hold_other_calls()
839 inst->calls[i].state = BT_TBS_CALL_STATE_LOCALLY_AND_REMOTELY_HELD; in hold_other_calls()
840 held_calls[held_calls_cnt++] = &inst->calls[i]; in hold_other_calls()
943 if (inst->calls[i].state == BT_TBS_CALL_STATE_ALERTING) { in originate_call()
2207 for (int j = 0; j < ARRAY_SIZE(svc_insts[i].calls); j++) { in bt_tbs_dbg_print_calls()
2208 struct bt_tbs_call *call = &svc_insts[i].calls[j]; in bt_tbs_dbg_print_calls()