Home | History | Annotate | Download | only in dev

Lines Matching refs:xs

144 	struct scsipi_xfer *xs;
153 xs = arg;
155 periph = xs->xs_periph;
157 flags = xs->xs_control;
179 dev->sc_xs = xs;
203 struct scsipi_xfer *xs;
207 xs = dev->sc_xs;
208 periph = xs->xs_periph;
209 flags = xs->xs_control;
222 xs->cmd->bytes[0] |= periph->periph_lun << 5;
224 stat = sciicmd(dev, periph->periph_target, xs->cmd, xs->cmdlen,
225 xs->data, xs->datalen, phase);
226 else if (scigo(dev, xs) == 0)
237 struct scsipi_xfer *xs;
239 xs = dev->sc_xs;
241 if (xs == NULL)
244 xs->status = stat;
246 xs->resid = 0;
250 xs->resid = 0;
253 xs->error = XS_BUSY;
256 xs->error = XS_DRIVER_STUFFUP;
262 scsipi_done(xs);
351 struct scsipi_xfer *xs;
353 xs = dev->sc_xs;
356 if (xs == NULL)
359 if (xs->xs_control & XS_CTL_SILENT)
597 scigo(struct sci_softc *dev, struct scsipi_xfer *xs)
602 target = xs->xs_periph->periph_target;
603 count = xs->datalen;
604 addr = xs->data;
607 sciicmd (dev, target, (u_char *) xs->cmd, xs->cmdlen,
609 xs->xs_control & XS_CTL_DATA_IN ? DATA_IN_PHASE : DATA_OUT_PHASE);
636 if (sci_ixfer_out (dev, xs->cmdlen, (u_char *) xs->cmd, phase))
638 phase = xs->xs_control & XS_CTL_DATA_IN ? DATA_IN_PHASE : DATA_OUT_PHASE;