c_scsipi
struct scsipi_xfer *c_scsipi; /* SCSI transfer */
#define c_scsipi c_atapi.c_scsipi
xfer->c_scsipi = sc_xfer;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
if (xfer->c_scsipi->xs_status & XS_STS_DONE)
if ((xfer->c_scsipi->xs_status & XS_STS_DONE) == 0) {
xfer->c_scsipi->error = XS_TIMEOUT;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
xfer->c_scsipi = sc_xfer;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
const bool poll = ((xfer->c_scsipi->xs_control & XS_CTL_POLL) != 0);
wdc_dmawait(chp, xfer, xfer->c_scsipi->timeout);
while ((xfer->c_scsipi->xs_status & XS_STS_DONE) == 0) {
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
xfer->c_scsipi = sc_xfer;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
if (xfer->c_scsipi->xs_status & XS_STS_DONE)
if ((xfer->c_scsipi->xs_status & XS_STS_DONE) == 0) {
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
xfer->c_scsipi = sc_xfer;
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;
const bool poll = ((xfer->c_scsipi->xs_control & XS_CTL_POLL) != 0);
wdc_dmawait(chp, xfer, xfer->c_scsipi->timeout);
while ((xfer->c_scsipi->xs_status & XS_STS_DONE) == 0) {
struct scsipi_xfer *sc_xfer = xfer->c_scsipi;