Home | History | Annotate | Download | only in podulebus

Lines Matching defs:xs

271 	struct scsipi_xfer *xs;
279 xs = arg;
280 periph = xs->xs_periph;
281 flags = xs->xs_control;
294 xs->error = XS_RESOURCE_SHORTAGE;
295 scsipi_done(xs);
300 pendp->xs = xs;
337 if (pendp->xs->xs_control & XS_CTL_RESET) {
367 if (pendp->xs->xs_control & XS_CTL_POLL) {
378 sfas_scsidone(struct sfas_softc *dev, struct scsipi_xfer *xs, int stat)
383 xs->status = stat;
386 xs->resid = 0;
391 xs->error = XS_BUSY;
394 xs->error = XS_DRIVER_STUFFUP;
398 xs->error = XS_TIMEOUT;
407 if (!(dev->sc_nexus[pendp->xs->xs_periph->periph_target].flags &
418 scsipi_done(xs);
728 target = pendp->xs->xs_periph->periph_target;
729 lun = pendp->xs->xs_periph->periph_lun;
744 nexus->xs = pendp->xs;
830 nexus = sfas_arbitate_target(dev, pendp->xs->xs_periph->periph_target);
838 sfas_select_unit(dev, pendp->xs->xs_periph->periph_target);
849 buf = pendp->xs->data;
851 if (sfasselect(dev, pendp, (char *)pendp->xs->cmd, pendp->xs->cmdlen,
852 buf, pendp->xs->datalen, SFAS_SELECT_RS)) {
893 if (dev->sc_nexus[i].xs)
894 sfas_scsidone(dev, dev->sc_nexus[i].xs, -2);
1004 nexus->xs->resid = dev->sc_len;
1013 nexus->xs->resid = dev->sc_len;
1050 nexus->xs->resid = dev->sc_len;
1078 sfas_scsidone(dev, nexus->xs, nexus->status);
1227 dev->sc_ixfer(dev, nexus->xs->xs_control & XS_CTL_POLL);
1505 sfas_scsidone(dev, nexus->xs, -4);
1549 nexus = &dev->sc_nexus[pendp->xs->xs_periph->periph_target];
1551 if (!sfasselect(dev, pendp, (char *)pendp->xs->cmd, pendp->xs->cmdlen,
1552 (char *)pendp->xs->data, pendp->xs->datalen,
1573 printf("scsi_fer=%08x\n", (u_int)nexus->xs);