Lines Matching refs:UserCommand
5966 unsigned char *UserCommand) in DAC960_V1_ExecuteUserCommand() argument
5981 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V1_ExecuteUserCommand()
5987 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V1_ExecuteUserCommand()
5988 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V1_ExecuteUserCommand()
6001 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V1_ExecuteUserCommand()
6002 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V1_ExecuteUserCommand()
6016 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V1_ExecuteUserCommand()
6017 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V1_ExecuteUserCommand()
6031 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V1_ExecuteUserCommand()
6032 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V1_ExecuteUserCommand()
6073 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V1_ExecuteUserCommand()
6074 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V1_ExecuteUserCommand()
6124 else if (strcmp(UserCommand, "cancel-rebuild") == 0 || in DAC960_V1_ExecuteUserCommand()
6125 strcmp(UserCommand, "cancel-consistency-check") == 0) in DAC960_V1_ExecuteUserCommand()
6165 Controller, UserCommand); in DAC960_V1_ExecuteUserCommand()
6228 unsigned char *UserCommand) in DAC960_V2_ExecuteUserCommand() argument
6247 if (strcmp(UserCommand, "flush-cache") == 0) in DAC960_V2_ExecuteUserCommand()
6255 else if (strncmp(UserCommand, "kill", 4) == 0 && in DAC960_V2_ExecuteUserCommand()
6256 DAC960_ParsePhysicalDevice(Controller, &UserCommand[4], in DAC960_V2_ExecuteUserCommand()
6274 else if (strncmp(UserCommand, "make-online", 11) == 0 && in DAC960_V2_ExecuteUserCommand()
6275 DAC960_ParsePhysicalDevice(Controller, &UserCommand[11], in DAC960_V2_ExecuteUserCommand()
6293 else if (strncmp(UserCommand, "make-standby", 12) == 0 && in DAC960_V2_ExecuteUserCommand()
6294 DAC960_ParsePhysicalDevice(Controller, &UserCommand[12], in DAC960_V2_ExecuteUserCommand()
6312 else if (strncmp(UserCommand, "rebuild", 7) == 0 && in DAC960_V2_ExecuteUserCommand()
6313 DAC960_ParsePhysicalDevice(Controller, &UserCommand[7], in DAC960_V2_ExecuteUserCommand()
6329 else if (strncmp(UserCommand, "cancel-rebuild", 14) == 0 && in DAC960_V2_ExecuteUserCommand()
6330 DAC960_ParsePhysicalDevice(Controller, &UserCommand[14], in DAC960_V2_ExecuteUserCommand()
6346 else if (strncmp(UserCommand, "check-consistency", 17) == 0 && in DAC960_V2_ExecuteUserCommand()
6347 DAC960_ParseLogicalDrive(Controller, &UserCommand[17], in DAC960_V2_ExecuteUserCommand()
6366 else if (strncmp(UserCommand, "cancel-consistency-check", 24) == 0 && in DAC960_V2_ExecuteUserCommand()
6367 DAC960_ParseLogicalDrive(Controller, &UserCommand[24], in DAC960_V2_ExecuteUserCommand()
6384 else if (strcmp(UserCommand, "perform-discovery") == 0) in DAC960_V2_ExecuteUserCommand()
6425 else if (strcmp(UserCommand, "suppress-enclosure-messages") == 0) in DAC960_V2_ExecuteUserCommand()
6428 Controller, UserCommand); in DAC960_V2_ExecuteUserCommand()
6628 DAC960_V1_UserCommand_T UserCommand; in DAC960_gam_v1_execute_command() local
6646 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_gam_v1_execute_command()
6651 ControllerNumber = UserCommand.ControllerNumber; in DAC960_gam_v1_execute_command()
6662 CommandOpcode = UserCommand.CommandMailbox.Common.CommandOpcode; in DAC960_gam_v1_execute_command()
6663 DataTransferLength = UserCommand.DataTransferLength; in DAC960_gam_v1_execute_command()
6668 if (copy_from_user(&DCDB, UserCommand.DCDB, in DAC960_gam_v1_execute_command()
6711 UserCommand.DataTransferBuffer, in DAC960_gam_v1_execute_command()
6736 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_v1_execute_command()
6750 memcpy(&Command->V1.CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_v1_execute_command()
6763 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_gam_v1_execute_command()
6777 if (copy_to_user(UserCommand.DCDB, DCDB_IOBUF, in DAC960_gam_v1_execute_command()
6797 DAC960_V2_UserCommand_T UserCommand; in DAC960_gam_v2_execute_command() local
6813 if (copy_from_user(&UserCommand, UserSpaceUserCommand, in DAC960_gam_v2_execute_command()
6819 ControllerNumber = UserCommand.ControllerNumber; in DAC960_gam_v2_execute_command()
6830 DataTransferLength = UserCommand.DataTransferLength; in DAC960_gam_v2_execute_command()
6847 UserCommand.DataTransferBuffer, in DAC960_gam_v2_execute_command()
6853 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_gam_v2_execute_command()
6872 memcpy(CommandMailbox, &UserCommand.CommandMailbox, in DAC960_gam_v2_execute_command()
6919 if (RequestSenseLength > UserCommand.RequestSenseLength) in DAC960_gam_v2_execute_command()
6920 RequestSenseLength = UserCommand.RequestSenseLength; in DAC960_gam_v2_execute_command()
6934 if (copy_to_user(UserCommand.DataTransferBuffer, in DAC960_gam_v2_execute_command()
6942 if (copy_to_user(UserCommand.RequestSenseBuffer, in DAC960_gam_v2_execute_command()