Lines Matching refs:newcommand
348 command_packet = &full_command_packet->command.newcommand; in twl_scsiop_execute_scsi()
719 TW_Command_Apache *newcommand; in twl_load_sgl() local
726 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twl_load_sgl()
727 newcommand = &full_command_packet->command.newcommand; in twl_load_sgl()
728 newcommand->request_id__lunl = in twl_load_sgl()
729 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twl_load_sgl()
731 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); in twl_load_sgl()
732 newcommand->sg_list[0].length = TW_CPU_TO_SGL(length); in twl_load_sgl()
734 newcommand->sgl_entries__lunh = in twl_load_sgl()
735 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); in twl_load_sgl()
931 tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); in twl_fill_sense()
1262 if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { in twl_interrupt()
1263 …if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_i… in twl_interrupt()
1264 …scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length); in twl_interrupt()