Lines Matching refs:reqs

129 	(SC)->reqs[N].mode = 0; \
176 (ER) = (SC)->reqs[RQ].errnum; \
587 xdc->reqs = malloc(XDC_MAXIOPB * sizeof(struct xd_iorq), in xdcattach()
594 xdc->reqs[lcv].iopb = &xdc->iopbase[lcv]; in xdcattach()
595 xdc->reqs[lcv].dmaiopb = &xdc->dvmaiopb[lcv]; in xdcattach()
611 &xdc->reqs[lcv].dmamap)) != 0) { in xdcattach()
643 if (xdc->reqs[rqno].errnum) in xdcattach()
644 printf(": %s: ", xdc_e2str(xdc->reqs[rqno].errnum)); in xdcattach()
1523 iorq = &xdcsc->reqs[rqno]; in xdc_cmd()
1561 iorq = &xdcsc->reqs[rqno]; in xdc_startbuf()
1658 struct xd_iorq *iorq = &xdcsc->reqs[iorqno]; in xdc_submit_iorq()
1692 device_xname(xdcsc->sc_dev), iorq - xdcsc->reqs); in xdc_submit_iorq()
1784 retval = xdcsc->reqs[iorqno].errnum; in xdc_piodriver()
1788 xdcsc->reqs[iorqno].errnum, xdc_e2str(xdcsc->reqs[iorqno].errnum)); in xdc_piodriver()
1860 register struct xd_iorq *iorq = &xdcsc->reqs[lcv]; in xdc_reset()
1873 switch (XD_STATE(xdcsc->reqs[lcv].mode)) { in xdc_reset()
1887 disk_unbusy(&xdcsc->reqs[lcv].xd->sc_dk, in xdc_reset()
1888 (xdcsc->reqs[lcv].buf->b_bcount - in xdc_reset()
1889 xdcsc->reqs[lcv].buf->b_resid), in xdc_reset()
1998 iorq = &xdcsc->reqs[rqno]; in xdc_remove_iorq()
2265 lcv, xdcsc->reqs[lcv].mode, in xdc_tick()
2269 xdcsc->reqs[lcv].ttl, xdcsc->reqs[lcv].buf); in xdc_tick()
2283 if (xdcsc->reqs[lcv].mode) in xdc_tick()
2286 xdcsc->reqs[lcv].mode, xdcsc->iopbase[lcv].done, in xdc_tick()
2294 if (xdcsc->reqs[lcv].mode == 0 || in xdc_tick()
2295 XD_STATE(xdcsc->reqs[lcv].mode) == XD_SUB_DONE) in xdc_tick()
2297 xdcsc->reqs[lcv].ttl--; in xdc_tick()
2298 if (xdcsc->reqs[lcv].ttl == 0) in xdc_tick()
2439 xio->errnum = xdcsc->reqs[rqno].errnum; in xdc_ioctlcmd()
2440 xio->tries = xdcsc->reqs[rqno].tries; in xdc_ioctlcmd()