Home | History | Annotate | Download | only in dev

Lines Matching defs:xs

185 	struct scsipi_xfer *xs;
194 xs = arg;
195 periph = xs->xs_periph;
197 flags = xs->xs_control;
201 scb->xs = xs;
218 if (sc_poll(sc, target, xs->timeout)) {
220 if (sc_poll(sc, target, xs->timeout)) {
270 struct scsipi_xfer *xs;
282 xs = scb->xs;
283 periph = xs->xs_periph;
285 flags = xs->xs_control;
299 scb->sc_ctrnscnt = xs->datalen;
302 if (xs->datalen > 0) {
311 va = (vaddr_t)xs->data;
314 pages = (offset + xs->datalen + PAGE_SIZE -1 ) >> PGSHIFT;
332 if (xs->data)
333 scb->sc_cpoint = (void *)xs->data;
338 callout_reset(&scb->xs->xs_callout, hz * 10, cxd1185_timeout, scb);
340 callout_stop(&scb->xs->xs_callout);
354 struct scsipi_xfer *xs = scb->xs;
355 struct scsipi_periph *periph = xs->xs_periph;
359 xs->resid = 0;
360 xs->status = 0;
364 xs->error = XS_SELTIMEOUT;
368 xs->error = XS_DRIVER_STUFFUP;
378 xs->status = SCSI_CHECK;
379 if (xs->error == 0)
380 xs->error = XS_BUSY;
389 scsipi_done(xs);
454 struct scsipi_xfer *xs = scb->xs;
455 struct scsipi_periph *periph = xs->xs_periph;