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 int bustype; /* from attach args */
142 int ipl; /* interrupt level */
143 int vector; /* interrupt vector */
145 struct xd_softc *sc_drives[XDC_MAXDEV]; /* drives on this controller */
147 struct xd_iorq *reqs; /* i/o requests */
148 struct xd_iopb *iopbase; /* iopb base addr (maps iopb->iorq) */
149 struct xd_iopb *dvmaiopb; /* iopb base in DVMA space, not kvm */
150 struct bufq_state *sc_wq; /* queue'd IOPBs for this controller */
151 char freereq[XDC_MAXIOPB]; /* free list (stack) */
152 char waitq[XDC_MAXIOPB]; /* wait queue */
153 u_char nfree; /* number of iopbs free */
154 u_char nrun; /* number running */
155 u_char nwait; /* number of waiting iopbs */
156 u_char ndone; /* number of done IORQs */
157 u_char waithead; /* head of queue */
158 u_char waitend; /* end of queue */