Lines Matching refs:ctx_shell
34 shell_error(ctx_shell, "VCP discover failed (%d)", err); in vcs_discover_cb()
36 shell_print(ctx_shell, "VCP discover done with %u VOCS and %u AICS", vocs_count, in vcs_discover_cb()
40 shell_error(ctx_shell, "Could not get VCP context"); in vcs_discover_cb()
48 shell_error(ctx_shell, "VCP vol_down failed (%d)", err); in vcs_vol_down_cb()
50 shell_print(ctx_shell, "VCP vol_down done"); in vcs_vol_down_cb()
57 shell_error(ctx_shell, "VCP vol_up failed (%d)", err); in vcs_vol_up_cb()
59 shell_print(ctx_shell, "VCP vol_up done"); in vcs_vol_up_cb()
66 shell_error(ctx_shell, "VCP mute failed (%d)", err); in vcs_mute_cb()
68 shell_print(ctx_shell, "VCP mute done"); in vcs_mute_cb()
75 shell_error(ctx_shell, "VCP unmute failed (%d)", err); in vcs_unmute_cb()
77 shell_print(ctx_shell, "VCP unmute done"); in vcs_unmute_cb()
84 shell_error(ctx_shell, "VCP vol_down_unmute failed (%d)", err); in vcs_vol_down_unmute_cb()
86 shell_print(ctx_shell, "VCP vol_down_unmute done"); in vcs_vol_down_unmute_cb()
93 shell_error(ctx_shell, "VCP vol_up_unmute failed (%d)", err); in vcs_vol_up_unmute_cb()
95 shell_print(ctx_shell, "VCP vol_up_unmute done"); in vcs_vol_up_unmute_cb()
102 shell_error(ctx_shell, "VCP vol_set failed (%d)", err); in vcs_vol_set_cb()
104 shell_print(ctx_shell, "VCP vol_set done"); in vcs_vol_set_cb()
112 shell_error(ctx_shell, "VCP state get failed (%d)", err); in vcs_state_cb()
114 shell_print(ctx_shell, "VCP volume %u, mute %u", volume, mute); in vcs_state_cb()
122 shell_error(ctx_shell, "VCP flags get failed (%d)", err); in vcs_flags_cb()
124 shell_print(ctx_shell, "VCP flags 0x%02X", flags); in vcs_flags_cb()
132 shell_error(ctx_shell, "Set gain failed (%d) for inst %p", in vcs_aics_set_gain_cb()
135 shell_print(ctx_shell, "Gain set for inst %p", inst); in vcs_aics_set_gain_cb()
142 shell_error(ctx_shell, "Unmute failed (%d) for inst %p", in vcs_aics_unmute_cb()
145 shell_print(ctx_shell, "Unmuted inst %p", inst); in vcs_aics_unmute_cb()
152 shell_error(ctx_shell, "Mute failed (%d) for inst %p", in vcs_aics_mute_cb()
155 shell_print(ctx_shell, "Muted inst %p", inst); in vcs_aics_mute_cb()
162 shell_error(ctx_shell, in vcs_aics_set_manual_mode_cb()
166 shell_print(ctx_shell, "Manual mode set for inst %p", inst); in vcs_aics_set_manual_mode_cb()
173 shell_error(ctx_shell, in vcs_aics_automatic_mode_cb()
177 shell_print(ctx_shell, "Automatic mode set for inst %p", in vcs_aics_automatic_mode_cb()
186 shell_error(ctx_shell, "AICS state get failed (%d) for inst %p", in vcs_aics_state_cb()
189 shell_print(ctx_shell, in vcs_aics_state_cb()
200 shell_error(ctx_shell, in vcs_aics_gain_setting_cb()
204 shell_print(ctx_shell, in vcs_aics_gain_setting_cb()
214 shell_error(ctx_shell, in vcs_aics_input_type_cb()
218 shell_print(ctx_shell, "AICS inst %p input type %u", in vcs_aics_input_type_cb()
226 shell_error(ctx_shell, in vcs_aics_status_cb()
230 shell_print(ctx_shell, "AICS inst %p status %s", in vcs_aics_status_cb()
239 shell_error(ctx_shell, in vcs_aics_description_cb()
243 shell_print(ctx_shell, "AICS inst %p description %s", in vcs_aics_description_cb()
253 shell_error(ctx_shell, "Set offset failed (%d) for inst %p", in vcs_vocs_set_offset_cb()
256 shell_print(ctx_shell, "Offset set for inst %p", inst); in vcs_vocs_set_offset_cb()
263 shell_error(ctx_shell, "VOCS state get failed (%d) for inst %p", in vcs_vocs_state_cb()
266 shell_print(ctx_shell, "VOCS inst %p offset %d", inst, offset); in vcs_vocs_state_cb()
274 shell_error(ctx_shell, in vcs_vocs_location_cb()
278 shell_print(ctx_shell, "VOCS inst %p location %u", in vcs_vocs_location_cb()
287 shell_error(ctx_shell, in vcs_vocs_description_cb()
291 shell_print(ctx_shell, "VOCS inst %p description %s", in vcs_vocs_description_cb()
341 if (!ctx_shell) { in cmd_vcp_vol_ctlr_discover()
342 ctx_shell = sh; in cmd_vcp_vol_ctlr_discover()