Lines Matching defs:xdc_softc
133 struct xdc_softc { struct
134 device_t sc_dev; /* device struct, reqd by autoconf */
135 struct evcnt sc_intrcnt; /* event counter (for vmstat -i) */
137 struct callout sc_tick_ch;
139 struct xdc *xdc; /* vaddr of vme registers */
141 struct xd_softc *sc_drives[XDC_MAXDEV]; /* drives on this controller */
142 int ipl; /* interrupt level */
143 int vector; /* interrupt vector */
144 bus_dma_tag_t dmatag; /* Bus DMA tag */
146 struct xd_iorq *reqs; /* i/o requests */
147 struct xd_iopb *iopbase; /* iopb base addr (maps iopb->iorq) */
148 struct xd_iopb *dvmaiopb; /* iopb base in DVMA space, not kvm */
149 bus_dmamap_t iopmap; /* IOPB DMA handle */
150 bus_dmamap_t auxmap; /* auxiliary DMA handle */
151 struct bufq_state *sc_wq; /* queued IOPBs for this controller */
152 char freereq[XDC_MAXIOPB]; /* free list (stack) */
153 char waitq[XDC_MAXIOPB]; /* wait queue */
154 u_char nfree; /* number of iopbs free */
155 u_char nrun; /* number running */
156 u_char nwait; /* number of waiting iopbs */
157 u_char ndone; /* number of done IORQs */
158 u_char waithead; /* head of queue */
159 u_char waitend; /* end of queue */