Lines Matching refs:newcommand

1017 		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 …if (full_command_packet->command.newcommand.sg_list[0].length < scsi_bufflen(tw_dev->srb[request_i… in twa_interrupt()
1347 …scsi_set_resid(cmd, scsi_bufflen(cmd) - full_command_packet->command.newcommand.sg_list[0].length); in twa_interrupt()
1379 TW_Command_Apache *newcommand; in twa_load_sgl() local
1386 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_load_sgl()
1387 newcommand = &full_command_packet->command.newcommand; in twa_load_sgl()
1388 newcommand->request_id__lunl = in twa_load_sgl()
1389 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->request_id__lunl), request_id)); in twa_load_sgl()
1391 newcommand->sg_list[0].address = TW_CPU_TO_SGL(dma_handle + sizeof(TW_Ioctl_Buf_Apache) - 1); in twa_load_sgl()
1392 newcommand->sg_list[0].length = cpu_to_le32(length); in twa_load_sgl()
1394 newcommand->sgl_entries__lunh = in twa_load_sgl()
1395 cpu_to_le16(TW_REQ_LUN_IN(TW_LUN_OUT(newcommand->sgl_entries__lunh), length ? 1 : 0)); in twa_load_sgl()
1428 if (TW_OP_OUT(full_command_packet->command.newcommand.opcode__reserved) == TW_OP_EXECUTE_SCSI) { in twa_poll_response()
1429 if (full_command_packet->command.newcommand.status != 0) { in twa_poll_response()
1821 command_packet = &full_command_packet->command.newcommand; in DEF_SCSI_QCMD()