Lines Matching defs:scsi_state
22 typedef struct scsi_state { struct
23 int statusByte; /* status byte returned during STATUS_PHASE */
24 int dmaDataPhase; /* which data phase to expect */
25 int dmaCurPhase; /* SCSI phase if DMA is in progress */
26 int dmaPrevPhase; /* SCSI phase of DMA suspended by disconnect */
27 u_short *dmaAddr[2]; /* DMA buffer memory address */
28 int dmaBufIndex; /* which of the above is currently in use */
29 int dmalen; /* amount to transfer in this chunk */
30 int cmdlen; /* total remaining amount of cmd to transfer */
31 u_char *cmd; /* current pointer within scsicmd->cmd */
32 int buflen; /* total remaining amount of data to transfer */
33 char *buf; /* current pointer within scsicmd->buf */
34 u_short flags; /* see below */
35 u_short prevComm; /* command reg before disconnect */
36 u_short dmaCtrl; /* DMA control register if disconnect */
37 u_short dmaAddrL; /* DMA address register if disconnect */
38 u_short dmaAddrH; /* DMA address register if disconnect */
39 u_short dmaCnt; /* DMA count if disconnect */
40 u_short dmaByte; /* DMA byte if disconnect on odd boundary */
41 u_short dmaReqAck; /* DMA synchronous xfer offset or 0 if async */