Lines Matching refs:newcommand
1018 tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); in twa_fill_sense()
1298 if (full_command_packet->command.newcommand.status != 0) { in twa_interrupt()
1345 if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { in twa_interrupt()
1346 u32 length = le32_to_cpu(full_command_packet->command.newcommand.sg_list[0].length); in twa_interrupt()
1381 TW_Command_Apache *newcommand; in twa_load_sgl() local
1388 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_load_sgl()
1389 newcommand = &full_command_packet->command.newcommand; in twa_load_sgl()
1390 newcommand->request_id__lunl = in twa_load_sgl()
1391 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id); in twa_load_sgl()
1393 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache)); in twa_load_sgl()
1394 newcommand->sg_list[0].length = cpu_to_le32(length); in twa_load_sgl()
1396 newcommand->sgl_entries__lunh = in twa_load_sgl()
1397 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0); in twa_load_sgl()
1430 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_poll_response()
1431 if (full_command_packet->command.newcommand.status != 0) { in twa_poll_response()
1819 command_packet = &full_command_packet->command.newcommand; in DEF_SCSI_QCMD()