Lines Matching defs:spc_softc
119 struct spc_softc { struct
120 device_t sc_dev;
122 bus_space_tag_t sc_iot;
123 bus_space_handle_t sc_ioh;
125 struct scsipi_channel sc_channel; /* prototype for subdevs */
126 struct scsipi_adapter sc_adapter;
129 struct spc_acb *sc_nexus; /* current command */
130 struct spc_acb sc_acb[8];
131 struct spc_tinfo sc_tinfo[8];
134 uint8_t *sc_dp; /* Current data pointer */
135 size_t sc_dleft; /* Data bytes left to transfer */
136 uint8_t *sc_cp; /* Current command pointer */
137 size_t sc_cleft; /* Command bytes left to transfer */
140 uint8_t sc_phase; /* Current bus phase */
141 uint8_t sc_prevphase; /* Previous bus phase */
142 uint8_t sc_state; /* State applicable to the adapter */
151 uint8_t sc_flags;
156 uint8_t sc_selid; /* Reselection ID */
157 device_t sc_child;/* Our child */
160 uint8_t sc_msgpriq; /* Messages we want to send */
161 uint8_t sc_msgoutq; /* Messages sent during last MESSAGE OUT */
185 void (*sc_dma_start)(struct spc_softc *, void *, size_t, int); argument
186 void (*sc_dma_done)(struct spc_softc *); argument