Lines Matching defs:command
63 1.02.00.001 - Added support for full command packet posts through ioctls
104 Add ioctl support for direct ATA command passthru.
111 Add ioctl support for raw command packet post from userspace
120 1.02.00.015 - Re-write raw command post with data ioctl method.
146 1.02.00.025 - Fix command interrupt spurious error messages.
147 Fix bug in raw command post with data ioctl method.
149 Print unit # on all command timeouts.
356 /* This function will attempt to post a command packet to the board */
372 /* We successfully posted the command packet */
380 /* Couldn't post the command packet, so we do it in the isr */
404 TW_Command *command;
407 command = (TW_Command *)tw_dev->command_packet_virtual_address[request_id];
409 printk(KERN_WARNING "3w-xxxx: scsi%d: Command failed: status = 0x%x, flags = 0x%x, unit #%d.\n", tw_dev->host->host_no, command->status, command->flags, TW_UNIT_OUT(command->unit__hostid));
413 if ((command->status == 0xc7) || (command->status == 0xcb)) {
415 if (command->flags == tw_sense_table[i][0]) {
558 printk(KERN_WARNING "3w-xxxx: tw_aen_read_queue(): Bad command packet virtual address.\n");
571 printk(KERN_WARNING "3w-xxxx: tw_aen_read_queue(): Bad command packet physical address.\n");
592 /* Now post the command packet */
595 tw_dev->srb[request_id] = NULL; /* Flag internal command */
697 /* Initialize command packet */
699 printk(KERN_WARNING "3w-xxxx: tw_aen_drain_queue(): Bad command packet virtual address.\n");
712 printk(KERN_WARNING "3w-xxxx: tw_aen_drain_queue(): Bad command packet physical address.\n");
736 /* Post command packet */
956 /* Flag internal command */
982 /* Now post the command packet to the controller */
988 /* Now wait for the command to complete */
1002 /* Now copy in the command packet response */
1063 /* Free command packet and generic buffer memory */
1077 /* This function will send an initconnection command to controller */
1087 /* Initialize InitConnection command packet */
1089 printk(KERN_WARNING "3w-xxxx: tw_initconnection(): Bad command packet virtual address.\n");
1105 printk(KERN_WARNING "3w-xxxx: tw_initconnection(): Bad command packet physical address.\n");
1109 /* Send command packet to the board */
1142 /* Initialize SetParam command packet */
1144 printk(KERN_WARNING "3w-xxxx: tw_setfeature(): Bad command packet virtual address.\n");
1174 printk(KERN_WARNING "3w-xxxx: tw_setfeature(): Bad command packet physical address.\n");
1178 /* Send command packet to the board */
1256 /* Initialize command packet buffers */
1407 /* Initialize command packet */
1410 printk(KERN_WARNING "3w-xxxx: tw_scsiop_inquiry(): Bad command packet virtual address.\n");
1441 printk(KERN_WARNING "3w-xxxx: tw_scsiop_inquiry(): Bad command packet physical address.\n");
1445 /* Now try to post the command packet */
1457 /* This function is called by the isr to complete an inquiry command */
1517 printk(KERN_WARNING "3w-xxxx: tw_scsiop_mode_sense(): Bad command packet virtual address.\n");
1521 /* Setup the command packet */
1551 printk(KERN_WARNING "3w-xxxx: tw_scsiop_mode_sense(): Bad command packet physical address.\n");
1555 /* Now try to post the command packet */
1561 /* This function is called by the isr to complete a mode sense command */
1604 /* Initialize command packet */
1608 dprintk(KERN_NOTICE "3w-xxxx: tw_scsiop_read_capacity(): Bad command packet virtual address.\n");
1641 dprintk(KERN_NOTICE "3w-xxxx: tw_scsiop_read_capacity(): Bad command packet physical address.\n");
1645 /* Now try to post the command to the board */
1651 /* This function is called by the isr to complete a readcapacity command */
1714 /* Initialize command packet */
1717 dprintk(KERN_NOTICE "3w-xxxx: tw_scsiop_read_write(): Bad command packet virtual address.\n");
1772 dprintk(KERN_WARNING "3w-xxxx: tw_scsiop_read_write(): Bad command packet physical address.\n");
1776 /* Now try to post the command to the board */
1782 /* This function will handle the request sense scsi command */
1806 /* This function will handle synchronize cache scsi command */
1814 /* Send firmware flush command for this unit */
1817 printk(KERN_WARNING "3w-xxxx: tw_scsiop_synchronize_cache(): Bad command packet virtual address.\n");
1821 /* Setup the command packet */
1832 printk(KERN_WARNING "3w-xxxx: tw_scsiop_synchronize_cache(): Bad command packet physical address.\n");
1836 /* Now try to post the command packet */
1842 /* This function will handle test unit ready scsi command */
1852 /* Initialize command packet */
1855 printk(KERN_WARNING "3w-xxxx: tw_scsiop_test_unit_ready(): Bad command packet virtual address.\n");
1886 printk(KERN_WARNING "3w-xxxx: tw_scsiop_test_unit_ready(): Bad command packet physical address.\n");
1890 /* Now try to post the command packet */
1896 /* This function is called by the isr to complete a testunitready command */
1925 unsigned char *command = SCpnt->cmnd;
1937 /* Queue the command and get a request id */
1940 /* Save the scsi command for use by the ISR */
1943 switch (*command) {
1979 printk(KERN_NOTICE "3w-xxxx: scsi%d: Unknown scsi opcode: 0x%x\n", tw_dev->host->host_no, *command);
2054 /* Handle command interrupt */
2071 /* If we get here, we will continue re-posting on the next command interrupt */
2075 /* If there are no more pending requests, we mask command interrupt */
2092 /* If internal command, don't error, don't fill sense */
2110 /* Check for internal command completion */
2112 dprintk(KERN_WARNING "3w-xxxx: tw_interrupt(): Found internally posted command.\n");
2157 /* If no error command was a success */
2162 /* If error, command failed */