Lines Matching refs:newcommand
1020 tw_dev->srb[request_id]->result = (full_command_packet->command.newcommand.status << 1); in twa_fill_sense()
1300 if (full_command_packet->command.newcommand.status != 0) { in twa_interrupt()
1347 if ((scsi_sg_count(cmd) <= 1) && (full_command_packet->command.newcommand.status == 0)) { in twa_interrupt()
1348 u32 length = le32_to_cpu(full_command_packet->command.newcommand.sg_list[0].length); in twa_interrupt()
1383 TW_Command_Apache *newcommand; in twa_load_sgl() local
1390 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_load_sgl()
1391 newcommand = &full_command_packet->command.newcommand; in twa_load_sgl()
1392 newcommand->request_id__lunl = in twa_load_sgl()
1393 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id); in twa_load_sgl()
1395 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache)); in twa_load_sgl()
1396 newcommand->sg_list[0].length = cpu_to_le32(length); in twa_load_sgl()
1398 newcommand->sgl_entries__lunh = in twa_load_sgl()
1399 TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0); in twa_load_sgl()
1432 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_poll_response()
1433 if (full_command_packet->command.newcommand.status != 0) { in twa_poll_response()
1819 command_packet = &full_command_packet->command.newcommand; in DEF_SCSI_QCMD()