Lines Matching +full:volume +full:- +full:min

5  * Copyright (c) 2020-2022 Nordic Semiconductor ASA
7 * SPDX-License-Identifier: Apache-2.0
109 uint8_t volume, uint8_t mute) in vcs_state_cb() argument
114 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcs_state_cb()
205 "AICS inst %p gain settings units %u, min %d, max %d", in vcs_aics_gain_setting_cb()
357 return -ENOEXEC; in cmd_vcp_vol_ctlr_discover()
375 return -ENOEXEC; in cmd_vcp_vol_ctlr_state_get()
393 return -ENOEXEC; in cmd_vcp_vol_ctlr_flags_get()
411 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_down()
430 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_up()
448 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute_volume_down()
466 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute_volume_up()
481 unsigned long volume; in cmd_vcp_vol_ctlr_volume_set() local
486 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
489 volume = shell_strtoul(argv[1], 0, &result); in cmd_vcp_vol_ctlr_volume_set()
491 shell_error(sh, "Failed to parse volume: %d", result); in cmd_vcp_vol_ctlr_volume_set()
493 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
496 if (volume > UINT8_MAX) { in cmd_vcp_vol_ctlr_volume_set()
497 shell_error(sh, "Volume shall be 0-255, was %lu", volume); in cmd_vcp_vol_ctlr_volume_set()
499 return -ENOEXEC; in cmd_vcp_vol_ctlr_volume_set()
502 result = bt_vcp_vol_ctlr_set_vol(vcp_vol_ctlr, volume); in cmd_vcp_vol_ctlr_volume_set()
518 return -ENOEXEC; in cmd_vcp_vol_ctlr_unmute()
536 return -ENOEXEC; in cmd_vcp_vol_ctlr_mute()
555 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
562 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
569 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_state_get()
588 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
595 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
602 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_get()
622 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
629 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
636 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
643 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
648 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_location_set()
669 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
676 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
683 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
690 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
694 shell_error(sh, "Offset shall be %d-%d, was %ld", in cmd_vcp_vol_ctlr_vocs_offset_set()
696 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_offset_set()
716 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
723 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
730 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_get()
749 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
756 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
763 return -ENOEXEC; in cmd_vcp_vol_ctlr_vocs_output_description_set()
782 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
789 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
796 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_state_get()
815 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
822 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
829 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_setting_get()
848 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
855 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
862 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_type_get()
881 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
888 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
895 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_status_get()
914 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
921 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
928 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_unmute()
947 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
954 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
961 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_mute()
980 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
987 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
994 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_manual_input_gain_set()
1013 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1020 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1027 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_auto_input_gain_set()
1047 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1053 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1059 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1065 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1069 shell_error(sh, "Gain shall be %d-%d, was %ld", in cmd_vcp_vol_ctlr_aics_gain_set()
1071 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_gain_set()
1090 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1097 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1104 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_get()
1123 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1130 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1137 return -ENOEXEC; in cmd_vcp_vol_ctlr_aics_input_description_set()
1157 return -ENOEXEC; in cmd_vcp_vol_ctlr()
1166 "Get volume state of the VCP server. Should be done "
1170 "Read volume flags",
1173 "Turn the volume down",
1176 "Turn the volume up",
1179 "Turn the volume down, and unmute",
1182 "Turn the volume up, and unmute",
1185 "Set an absolute volume <volume>",