Lines Matching refs:active_proc

120 	struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc();  in cap_commander_broadcast_assistant_add_src_cb()  local
133 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() local
356 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()
386 active_proc->proc_initiated_cnt++; in bt_cap_commander_broadcast_reception_start()
388 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_broadcast_reception_start()
420 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_broadcast_assistant_recv_state_cb() local
429 active_proc->proc_type == BT_CAP_COMMON_PROC_TYPE_BROADCAST_RECEPTION_STOP) { in cap_commander_broadcast_assistant_recv_state_cb()
456 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_broadcast_assistant_rem_src_cb() local
466 LOG_DBG("Aborting the proc %d %d", active_proc->proc_done_cnt, in cap_commander_broadcast_assistant_rem_src_cb()
467 active_proc->proc_initiated_cnt); in cap_commander_broadcast_assistant_rem_src_cb()
471 active_proc->proc_done_cnt++; in cap_commander_broadcast_assistant_rem_src_cb()
474 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_broadcast_assistant_rem_src_cb()
488 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_broadcast_assistant_rem_src_cb()
492 active_proc->proc_initiated_cnt++; in cap_commander_broadcast_assistant_rem_src_cb()
506 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_broadcast_assistant_mod_src_cb() local
515 LOG_DBG("Aborting the proc %d %d", active_proc->proc_done_cnt, in cap_commander_broadcast_assistant_mod_src_cb()
516 active_proc->proc_initiated_cnt); in cap_commander_broadcast_assistant_mod_src_cb()
521 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_broadcast_assistant_mod_src_cb()
604 struct bt_cap_common_proc *active_proc; in bt_cap_commander_broadcast_reception_stop() local
630 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_broadcast_reception_stop()
647 stored_param = &active_proc->proc_param.commander[i]; in bt_cap_commander_broadcast_reception_stop()
657 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_broadcast_reception_stop()
662 active_proc->proc_initiated_cnt++; in bt_cap_commander_broadcast_reception_stop()
676 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_broadcast_assistant_set_broadcast_code_cb() local
690 active_proc->proc_done_cnt++; in cap_commander_broadcast_assistant_set_broadcast_code_cb()
693 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_broadcast_assistant_set_broadcast_code_cb()
707 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_broadcast_assistant_set_broadcast_code_cb()
710 active_proc->proc_initiated_cnt++; in cap_commander_broadcast_assistant_set_broadcast_code_cb()
785 struct bt_cap_common_proc *active_proc; in bt_cap_commander_distribute_broadcast_code() local
810 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_distribute_broadcast_code()
828 stored_param = &active_proc->proc_param.commander[i]; in bt_cap_commander_distribute_broadcast_code()
835 active_proc->proc_initiated_cnt++; in bt_cap_commander_distribute_broadcast_code()
837 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_distribute_broadcast_code()
859 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_proc_complete() local
864 failed_conn = active_proc->failed_conn; in cap_commander_proc_complete()
865 err = active_proc->err; in cap_commander_proc_complete()
866 proc_type = active_proc->proc_type; in cap_commander_proc_complete()
1024 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_vcp_vol_set_cb() local
1046 active_proc->proc_done_cnt++; in cap_commander_vcp_vol_set_cb()
1049 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_vcp_vol_set_cb()
1065 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_vcp_vol_set_cb()
1067 active_proc->proc_initiated_cnt++; in cap_commander_vcp_vol_set_cb()
1083 struct bt_cap_common_proc *active_proc; in bt_cap_commander_change_volume() local
1106 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_change_volume()
1120 active_proc->proc_param.commander[i].conn = member_conn; in bt_cap_commander_change_volume()
1121 active_proc->proc_param.commander[i].change_volume.volume = param->volume; in bt_cap_commander_change_volume()
1124 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_change_volume()
1126 active_proc->proc_initiated_cnt++; in bt_cap_commander_change_volume()
1198 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_vcp_vol_mute_cb() local
1220 active_proc->proc_done_cnt++; in cap_commander_vcp_vol_mute_cb()
1223 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_vcp_vol_mute_cb()
1239 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_vcp_vol_mute_cb()
1241 active_proc->proc_initiated_cnt++; in cap_commander_vcp_vol_mute_cb()
1262 struct bt_cap_common_proc *active_proc; in bt_cap_commander_change_volume_mute_state() local
1286 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_change_volume_mute_state()
1300 active_proc->proc_param.commander[i].conn = member_conn; in bt_cap_commander_change_volume_mute_state()
1301 active_proc->proc_param.commander[i].change_vol_mute.mute = param->mute; in bt_cap_commander_change_volume_mute_state()
1304 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_change_volume_mute_state()
1306 active_proc->proc_initiated_cnt++; in bt_cap_commander_change_volume_mute_state()
1403 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_vcp_set_offset_cb() local
1425 active_proc->proc_done_cnt++; in cap_commander_vcp_set_offset_cb()
1428 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_vcp_set_offset_cb()
1444 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_vcp_set_offset_cb()
1446 active_proc->proc_initiated_cnt++; in cap_commander_vcp_set_offset_cb()
1464 struct bt_cap_common_proc *active_proc; in bt_cap_commander_change_volume_offset() local
1488 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_change_volume_offset()
1517 active_proc->proc_param.commander[i].conn = member_conn; in bt_cap_commander_change_volume_offset()
1518 active_proc->proc_param.commander[i].change_offset.offset = member_param->offset; in bt_cap_commander_change_volume_offset()
1522 active_proc->proc_param.commander[i].change_offset.vocs = included.vocs[0]; in bt_cap_commander_change_volume_offset()
1525 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_change_volume_offset()
1527 active_proc->proc_initiated_cnt++; in bt_cap_commander_change_volume_offset()
1621 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_micp_mic_mute_cb() local
1643 active_proc->proc_done_cnt++; in cap_commander_micp_mic_mute_cb()
1646 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_micp_mic_mute_cb()
1662 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_micp_mic_mute_cb()
1664 active_proc->proc_initiated_cnt++; in cap_commander_micp_mic_mute_cb()
1685 struct bt_cap_common_proc *active_proc; in bt_cap_commander_change_microphone_mute_state() local
1709 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_change_microphone_mute_state()
1723 active_proc->proc_param.commander[i].conn = member_conn; in bt_cap_commander_change_microphone_mute_state()
1724 active_proc->proc_param.commander[i].change_mic_mute.mute = param->mute; in bt_cap_commander_change_microphone_mute_state()
1727 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_change_microphone_mute_state()
1729 active_proc->proc_initiated_cnt++; in bt_cap_commander_change_microphone_mute_state()
1819 struct bt_cap_common_proc *active_proc = bt_cap_common_get_active_proc(); in cap_commander_micp_gain_set_cb() local
1841 active_proc->proc_done_cnt++; in cap_commander_micp_gain_set_cb()
1844 active_proc->proc_done_cnt, active_proc->proc_cnt); in cap_commander_micp_gain_set_cb()
1860 proc_param = &active_proc->proc_param.commander[active_proc->proc_done_cnt]; in cap_commander_micp_gain_set_cb()
1862 active_proc->proc_initiated_cnt++; in cap_commander_micp_gain_set_cb()
1878 struct bt_cap_common_proc *active_proc; in bt_cap_commander_change_microphone_gain_setting() local
1901 active_proc = bt_cap_common_get_active_proc(); in bt_cap_commander_change_microphone_gain_setting()
1929 active_proc->proc_param.commander[i].conn = member_conn; in bt_cap_commander_change_microphone_gain_setting()
1930 active_proc->proc_param.commander[i].change_gain.gain = param->param[i].gain; in bt_cap_commander_change_microphone_gain_setting()
1934 active_proc->proc_param.commander[i].change_gain.aics = included.aics[0]; in bt_cap_commander_change_microphone_gain_setting()
1937 proc_param = &active_proc->proc_param.commander[0]; in bt_cap_commander_change_microphone_gain_setting()
1939 active_proc->proc_initiated_cnt++; in bt_cap_commander_change_microphone_gain_setting()