Lines Matching refs:vcp_included

28 static struct bt_vcp_included vcp_included;  variable
39 if (bt_vcp_vol_ctlr_included_get(vol_ctlr, &vcp_included)) { in vcs_discover_cb()
565 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_state_get()
567 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_state_get()
572 result = bt_vocs_state_get(vcp_included.vocs[index]); in cmd_vcp_vol_ctlr_vocs_state_get()
598 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_location_get()
600 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_location_get()
605 result = bt_vocs_location_get(vcp_included.vocs[index]); in cmd_vcp_vol_ctlr_vocs_location_get()
632 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_location_set()
634 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_location_set()
652 result = bt_vocs_location_set(vcp_included.vocs[index], location); in cmd_vcp_vol_ctlr_vocs_location_set()
679 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_offset_set()
681 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_offset_set()
699 result = bt_vocs_state_set(vcp_included.vocs[index], in cmd_vcp_vol_ctlr_vocs_offset_set()
726 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_output_description_get()
728 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_output_description_get()
733 result = bt_vocs_description_get(vcp_included.vocs[index]); in cmd_vcp_vol_ctlr_vocs_output_description_get()
759 if (index >= vcp_included.vocs_cnt) { in cmd_vcp_vol_ctlr_vocs_output_description_set()
761 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_vocs_output_description_set()
766 result = bt_vocs_description_set(vcp_included.vocs[index], argv[2]); in cmd_vcp_vol_ctlr_vocs_output_description_set()
792 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_state_get()
794 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_state_get()
799 result = bt_aics_state_get(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_state_get()
825 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_gain_setting_get()
827 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_gain_setting_get()
832 result = bt_aics_gain_setting_get(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_gain_setting_get()
858 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_type_get()
860 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_type_get()
865 result = bt_aics_type_get(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_type_get()
891 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_status_get()
893 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_status_get()
898 result = bt_aics_status_get(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_status_get()
924 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_unmute()
926 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_unmute()
931 result = bt_aics_unmute(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_unmute()
957 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_mute()
959 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_mute()
964 result = bt_aics_mute(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_mute()
990 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
992 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
997 result = bt_aics_manual_gain_set(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
1023 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1025 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1030 result = bt_aics_automatic_gain_set(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1056 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_gain_set()
1058 vcp_included.aics_cnt, index); in cmd_vcp_vol_ctlr_aics_gain_set()
1074 result = bt_aics_gain_set(vcp_included.aics[index], gain); in cmd_vcp_vol_ctlr_aics_gain_set()
1100 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_description_get()
1102 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_description_get()
1107 result = bt_aics_description_get(vcp_included.aics[index]); in cmd_vcp_vol_ctlr_aics_input_description_get()
1133 if (index >= vcp_included.aics_cnt) { in cmd_vcp_vol_ctlr_aics_input_description_set()
1135 vcp_included.vocs_cnt, index); in cmd_vcp_vol_ctlr_aics_input_description_set()
1140 result = bt_aics_description_set(vcp_included.aics[index], argv[2]); in cmd_vcp_vol_ctlr_aics_input_description_set()