Lines Matching refs:index
550 unsigned long index; in cmd_vcp_vol_ctlr_vocs_state_get() local
558 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_state_get()
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()
583 unsigned long index; in cmd_vcp_vol_ctlr_vocs_location_get() local
591 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_location_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()
617 unsigned long index; in cmd_vcp_vol_ctlr_vocs_location_set() local
625 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_location_set()
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()
663 unsigned long index; in cmd_vcp_vol_ctlr_vocs_offset_set() local
672 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_offset_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()
711 unsigned long index; in cmd_vcp_vol_ctlr_vocs_output_description_get() local
719 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_output_description_get()
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()
744 unsigned long index; in cmd_vcp_vol_ctlr_vocs_output_description_set() local
752 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_vocs_output_description_set()
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()
777 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_state_get() local
785 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_state_get()
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()
810 unsigned long index; in cmd_vcp_vol_ctlr_aics_gain_setting_get() local
818 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_gain_setting_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()
843 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_type_get() local
851 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_type_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()
876 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_status_get() local
884 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_status_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()
909 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_unmute() local
917 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_unmute()
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()
942 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_mute() local
950 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_mute()
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()
975 unsigned long index; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set() local
983 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
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()
1008 unsigned long index; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set() local
1016 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_auto_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()
1041 unsigned long index; in cmd_vcp_vol_ctlr_aics_gain_set() local
1050 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_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()
1085 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_description_get() local
1093 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_description_get()
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()
1118 unsigned long index; in cmd_vcp_vol_ctlr_aics_input_description_set() local
1126 index = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_aics_input_description_set()
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()