newcommand 1021 drivers/scsi/3w-9xxx.c tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); newcommand 1302 drivers/scsi/3w-9xxx.c if (full_command_packet->command.newcommand.status != 0) { newcommand 1349 drivers/scsi/3w-9xxx.c if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { newcommand 1350 drivers/scsi/3w-9xxx.c if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_id])) newcommand 1351 drivers/scsi/3w-9xxx.c scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length); newcommand 1383 drivers/scsi/3w-9xxx.c TW_Command_Apache *newcommand; newcommand 1390 drivers/scsi/3w-9xxx.c if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { newcommand 1391 drivers/scsi/3w-9xxx.c newcommand = &full_command_packet->command.newcommand; newcommand 1392 drivers/scsi/3w-9xxx.c newcommand->request_id__lunl = newcommand 1393 drivers/scsi/3w-9xxx.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); newcommand 1395 drivers/scsi/3w-9xxx.c newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); newcommand 1396 drivers/scsi/3w-9xxx.c newcommand->sg_list[0].length = cpu_to_le32(length); newcommand 1398 drivers/scsi/3w-9xxx.c newcommand->sgl_entries__lunh = newcommand 1399 drivers/scsi/3w-9xxx.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); newcommand 1432 drivers/scsi/3w-9xxx.c if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { newcommand 1433 drivers/scsi/3w-9xxx.c if (full_command_packet->command.newcommand.status != 0) { newcommand 1827 drivers/scsi/3w-9xxx.c command_packet = &full_command_packet->command.newcommand; newcommand 544 drivers/scsi/3w-9xxx.h TW_Command_Apache newcommand; newcommand 313 drivers/scsi/3w-sas.c command_packet = &full_command_packet->command.newcommand; newcommand 682 drivers/scsi/3w-sas.c TW_Command_Apache *newcommand; newcommand 689 drivers/scsi/3w-sas.c if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { newcommand 690 drivers/scsi/3w-sas.c newcommand = &full_command_packet->command.newcommand; newcommand 691 drivers/scsi/3w-sas.c newcommand->request_id__lunl = newcommand 692 drivers/scsi/3w-sas.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); newcommand 694 drivers/scsi/3w-sas.c newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); newcommand 695 drivers/scsi/3w-sas.c newcommand->sg_list[0].length = TW_CPU_TO_SGL(length); newcommand 697 drivers/scsi/3w-sas.c newcommand->sgl_entries__lunh = newcommand 698 drivers/scsi/3w-sas.c cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); newcommand 894 drivers/scsi/3w-sas.c tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); newcommand 1216 drivers/scsi/3w-sas.c if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { newcommand 1217 drivers/scsi/3w-sas.c if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_id])) newcommand 1218 drivers/scsi/3w-sas.c scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length); newcommand 275 drivers/scsi/3w-sas.h TW_Command_Apache newcommand;