Lines Matching defs:sunscpal_softc
159 struct sunscpal_softc { struct
160 device_t sc_dev;
161 struct scsipi_adapter sc_adapter;
162 struct scsipi_channel sc_channel;
166 bus_space_tag_t sunscpal_regt;
167 bus_space_handle_t sunscpal_regh;
170 bus_size_t sunscpal_data;
171 bus_size_t sunscpal_cmd_stat;
172 bus_size_t sunscpal_icr;
196 void (*sc_dma_alloc)(struct sunscpal_softc *); argument
197 void (*sc_dma_free)(struct sunscpal_softc *); argument
199 void (*sc_dma_setup)(struct sunscpal_softc *); argument
202 void (*sc_intr_on)(struct sunscpal_softc *); argument
203 void (*sc_intr_off)(struct sunscpal_softc *); argument
205 int sc_flags; /* Misc. flags and capabilities */
209 int sc_parity_disable;
211 int sc_min_dma_len; /* Smaller than this is done with PIO */
215 int sc_state;
223 struct sunscpal_req *sc_current;
226 uint8_t *sc_dataptr;
227 int sc_datalen;
228 int sc_reqlen;
233 volatile int sc_ncmds;
236 struct sunscpal_req sc_ring[SUNSCPAL_OPENINGS];
237 int sc_rr; /* Round-robin scan pointer */
240 struct sunscpal_req *sc_matrix[8][8];
243 int sc_prevphase;
267 void sunscpal_attach(struct sunscpal_softc *, int); argument