Lines Matching defs:command
259 "\tbit 1 - Disable SYNCHRONIZE_CACHE SCSI command\n"
337 dprintk((KERN_WARNING "aac_valid_context: scsi command corrupt\n"));
371 dinfo->command = cpu_to_le32(VM_ContainerConfig);
410 dinfo->command = cpu_to_le32(VM_ContainerConfig);
465 dinfo->command = cpu_to_le32(VM_ContainerConfig);
524 /* SCSI command has been submitted by the SCSI mid-layer. */
527 /* SCSI command has been submitted by aac_probe_container(). */
597 dinfo->command = cpu_to_le32(VM_ContainerConfig);
611 * Check that the command queued to the controller
720 dinfo->command = cpu_to_le32(VM_NameServeAllBlk);
722 dinfo->command = cpu_to_le32(VM_NameServe64);
736 * Check that the command queued to the controller
760 dinfo->command = cpu_to_le32(VM_NameServeAllBlk);
762 dinfo->command = cpu_to_le32(VM_NameServe);
777 * Check that the command queued to the controller
803 * @scsicmd: the scsi command block
1132 dinfo->command = cpu_to_le32(VM_ContainerConfig);
1146 * Check that the command queued to the controller
1231 u16 fibsize, command;
1251 command = ContainerRawIo2;
1268 command = ContainerRawIo;
1277 return aac_fib_send(command,
1294 readcmd->command = cpu_to_le32(VM_CtHostRead64);
1330 readcmd->command = cpu_to_le32(VM_CtBlockRead);
1359 u16 fibsize, command;
1382 command = ContainerRawIo2;
1402 command = ContainerRawIo;
1411 return aac_fib_send(command,
1428 writecmd->command = cpu_to_le32(VM_CtHostWrite64);
1464 writecmd->command = cpu_to_le32(VM_CtBlockWrite);
1661 * Now send the HBA command to the adapter
2045 struct aac_bus_info *command;
2059 -1, 1, /* First `interrupt' command uses special wait */
2120 command = (struct aac_bus_info *)bus_info;
2122 command->Command = cpu_to_le32(VM_Ioctl);
2123 command->ObjType = cpu_to_le32(FT_DRIVE);
2124 command->MethodId = cpu_to_le32(1);
2125 command->CtlCmd = cpu_to_le32(GetBusInfo);
2428 dprintk((KERN_DEBUG "aachba: received a read(6) command on id %d.\n", scmd_id(scsicmd)));
2438 dprintk((KERN_DEBUG "aachba: received a read(16) command on id %d.\n", scmd_id(scsicmd)));
2452 dprintk((KERN_DEBUG "aachba: received a read(12) command on id %d.\n", scmd_id(scsicmd)));
2462 dprintk((KERN_DEBUG "aachba: received a read(10) command on id %d.\n", scmd_id(scsicmd)));
2497 * Check that the command queued to the controller
2527 if (scsicmd->cmnd[0] == WRITE_6) /* 6 byte command */
2534 } else if (scsicmd->cmnd[0] == WRITE_16) { /* 16 byte command */
2535 dprintk((KERN_DEBUG "aachba: received a write(16) command on id %d.\n", scmd_id(scsicmd)));
2547 } else if (scsicmd->cmnd[0] == WRITE_12) { /* 12 byte command */
2548 dprintk((KERN_DEBUG "aachba: received a write(12) command on id %d.\n", scmd_id(scsicmd)));
2556 dprintk((KERN_DEBUG "aachba: received a write(10) command on id %d.\n", scmd_id(scsicmd)));
2581 * Allocate and initialize a Fib then setup a BlockWrite command
2588 * Check that the command queued to the controller
2662 synchronizecmd->command = cpu_to_le32(VM_ContainerConfig);
2681 * Check that the command queued to the controller
2735 pmcmd->command = cpu_to_le32(VM_ContainerConfig);
2757 * Check that the command queued to the controller
2768 * aac_scsi_cmd() - Process SCSI command
2769 * @scsicmd: SCSI command block
2771 * Emulate a SCSI command and queue the required request for the
2849 dprintk((KERN_WARNING "Only INQUIRY & TUR command supported for controller, rcvd = 0x%x.\n", scsicmd->cmnd[0]));
2890 dprintk((KERN_DEBUG "INQUIRY command, ID: %d.\n", cid));
2977 dprintk((KERN_DEBUG "READ CAPACITY_16 command.\n"));
3015 dprintk((KERN_DEBUG "READ CAPACITY command.\n"));
3047 dprintk((KERN_DEBUG "MODE SENSE command.\n"));
3125 dprintk((KERN_DEBUG "MODE SENSE 10 byte command.\n"));
3192 dprintk((KERN_DEBUG "REQUEST SENSE command.\n"));
3201 dprintk((KERN_DEBUG "LOCK command.\n"));
3375 * Handles the completion of a scsi command to a non dasd device
3649 * Handles the completion of a native HBA scsi command
3709 * @scsicmd: the scsi command block
3729 * Allocate and initialize a Fib then setup a BlockWrite command
3736 * Check that the command queued to the controller
3750 * @scsicmd: the scsi command block
3770 * Allocate and initialize a Fib then setup a BlockWrite command
3780 * Check that the command queued to the controller
3824 /* Check for command underflow */
3868 /* Check for command underflow */
3916 /* Check for command underflow */
3997 /* Check for command underflow */
4101 /* Check for command underflow */