Searched refs:active_proc (Results 1 – 3 of 3) sorted by relevance
34 static struct bt_cap_common_proc active_proc; variable38 return &active_proc; in bt_cap_common_get_active_proc()43 (void)memset(&active_proc, 0, sizeof(active_proc)); in bt_cap_common_clear_active_proc()50 atomic_set_bit(active_proc.proc_state_flags, BT_CAP_COMMON_PROC_STATE_ACTIVE); in bt_cap_common_start_proc()51 active_proc.proc_cnt = proc_cnt; in bt_cap_common_start_proc()52 active_proc.proc_type = proc_type; in bt_cap_common_start_proc()53 active_proc.proc_done_cnt = 0U; in bt_cap_common_start_proc()54 active_proc.proc_initiated_cnt = 0U; in bt_cap_common_start_proc()62 active_proc.proc_done_cnt = 0U; in bt_cap_common_set_subproc()63 active_proc.proc_initiated_cnt = 0U; in bt_cap_common_set_subproc()[all …]
120 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_broadcast_assistant_add_src_cb() local133 LOG_DBG("Aborting the proc %d %d", active_proc->proc_done_cnt, in cap_commander_broadcast_assistant_add_src_cb()134 active_proc->proc_initiated_cnt); in cap_commander_broadcast_assistant_add_src_cb()138 active_proc->proc_done_cnt++; in cap_commander_broadcast_assistant_add_src_cb()141 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_broadcast_assistant_add_src_cb()155 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_broadcast_assistant_add_src_cb()160 active_proc->proc_initiated_cnt++; in cap_commander_broadcast_assistant_add_src_cb()332 struct bt_cap_common_proc *active_proc; in bt_cap_commander_broadcast_reception_start() local356 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_broadcast_reception_start()375 stored_param = &active_proc->proc_param.commander[i]; in bt_cap_commander_broadcast_reception_start()[all …]
479 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in set_cap_stream_in_progress() local481 for (size_t i = 0U; i < active_proc->proc_cnt; i++) { in set_cap_stream_in_progress()482 if (cap_stream == active_proc->proc_param.initiator[i].stream) { in set_cap_stream_in_progress()483 active_proc->proc_param.initiator[i].in_progress = value; in set_cap_stream_in_progress()497 get_proc_param_by_cap_stream(struct bt_cap_common_proc *active_proc, in get_proc_param_by_cap_stream() argument500 for (size_t i = 0U; i < active_proc->proc_cnt; i++) { in get_proc_param_by_cap_stream()501 if (active_proc->proc_param.initiator[i].stream == cap_stream) { in get_proc_param_by_cap_stream()502 return &active_proc->proc_param.initiator[i]; in get_proc_param_by_cap_stream()509 static void update_proc_done_cnt(struct bt_cap_common_proc *active_proc) in update_proc_done_cnt() argument511 const enum bt_cap_common_subproc_type subproc_type = active_proc->subproc_type; in update_proc_done_cnt()[all …]