XS_CTL_POLL
if ((flags & XS_CTL_POLL) && (dev->sc_flags & ESC_ACTIVE))
if (pendp->xs->xs_control & XS_CTL_POLL) {
if ((dev->sc_nexus->xs->xs_control & XS_CTL_POLL)
if ((acb->xs->xs_control & XS_CTL_POLL) ||
if ((acb->xs->xs_control & XS_CTL_POLL)
if (dev->sc_nexus && (flags & XS_CTL_POLL))
if (flags & XS_CTL_POLL) {
if ((flags & XS_CTL_POLL) == 0
if ((flags & XS_CTL_POLL) ||
dev->sc_ixfer(dev, nexus->xs->xs_control & XS_CTL_POLL);
if ((flags & XS_CTL_POLL) && (dev->sc_flags & SFAS_ACTIVE))
if (pendp->xs->xs_control & XS_CTL_POLL) {
if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) {
sc->sc_nexus->xs->xs_control & XS_CTL_POLL) {
if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) {
if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) {
if (dev->sc_xs->xs_control & XS_CTL_POLL
if ((dev->sc_xs->xs_control & XS_CTL_POLL) ||
if ((acb->xs->xs_control & XS_CTL_POLL)
if (dev->sc_nexus && flags & XS_CTL_POLL)
if (flags & XS_CTL_POLL) {
if (flags & XS_CTL_POLL)
if (flags & XS_CTL_POLL || (!sbic_parallel_operations
if (dev->sc_xs && flags & XS_CTL_POLL)
if (phase == STATUS_PHASE || flags & XS_CTL_POLL)
if (acb->xs->xs_control & XS_CTL_POLL || siop_no_dma) {
if (sc->sc_nexus && flags & XS_CTL_POLL)
if (flags & XS_CTL_POLL || siop_no_dma)
if (acb->xs->xs_control & XS_CTL_POLL || siopng_no_dma) {
if (sc->sc_nexus && flags & XS_CTL_POLL)
if (flags & XS_CTL_POLL || siopng_no_dma)
if ((control & XS_CTL_POLL) == 0)
if ((ccb->xs->xs_control & XS_CTL_POLL) == 0)
reqp->dr_flag = (flags & XS_CTL_POLL) ? DRIVER_NOINT : 0;
reqp->dr_flag = (flags & XS_CTL_POLL) ? DRIVER_NOINT : 0;
(ncr_sc->sc_current->sr_xs->xs_control & XS_CTL_POLL)))
(ncr_sc->sc_current->sr_xs->xs_control & XS_CTL_POLL)))
if ((flags & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if (flags & XS_CTL_POLL)
if (dev->sc_xs->xs_control & XS_CTL_POLL ||
if (dev->sc_xs->xs_control & XS_CTL_POLL ||
if (acb->xs->xs_control & XS_CTL_POLL ||
if (dev->sc_nexus && (flags & XS_CTL_POLL))
if (flags & XS_CTL_POLL) {
if (flags & XS_CTL_POLL || (!sbic_parallel_operations &&
if (flags & XS_CTL_POLL) {
if (flags & XS_CTL_POLL) {
if ((flags & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if (!ISSET(xs->xs_control, XS_CTL_POLL)) {
if (ISSET(xs->xs_control, XS_CTL_POLL) == 0)
if (ISSET(xs->xs_control, XS_CTL_POLL) == 0)
if (flags & XS_CTL_POLL) {
if ((ecb->xs->xs_control & XS_CTL_POLL) == 0)
if ((ecb->xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if ((mscp->xs->xs_control & XS_CTL_POLL) == 0)
if (xs->xs_control & XS_CTL_POLL)
IM_NOSTATUS | ((flags & XS_CTL_POLL) != 0 ? IM_POLL : 0));
if ((ccb->xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if ((ccb->xs->xs_control & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if ((ccb->xs->xs_control & XS_CTL_POLL) == 0)
if (sc_xfer->xs_control & XS_CTL_POLL)
if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 &&
if ((acb->xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if (!(txs->xs_control & XS_CTL_POLL)) {
if (!(xs->xs_control & XS_CTL_POLL)) {
if (!(xs->xs_control & XS_CTL_POLL)) {
if (!(scb->xs->xs_control & XS_CTL_POLL)) {
if (!(list_scb->xs->xs_control & XS_CTL_POLL)) {
if (!(xs->xs_control & XS_CTL_POLL)) {
if (!(xs->xs_control & XS_CTL_POLL)) {
if (!(scb->xs->xs_control & XS_CTL_POLL)) {
if ((ccb->xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
rv = ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL|XS_CTL_NOSLEEP);
rv = ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL|XS_CTL_NOSLEEP);
return ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL | sc->sc_waitflag);
return ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL | sc->sc_waitflag);
XS_CTL_POLL|XS_CTL_NOSLEEP) &&
XS_CTL_POLL|XS_CTL_NOSLEEP))
xs->xs_control & (XS_CTL_POLL|XS_CTL_NOSLEEP))) {
XS_CTL_POLL))) {
if (!ciss_pdid(sc, ldstat->bigrebuild, pdid, XS_CTL_POLL)) {
return ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL);
const bool pollsleep = ((wait & (XS_CTL_POLL|XS_CTL_NOSLEEP)) ==
XS_CTL_POLL);
if ((wait & (XS_CTL_POLL|XS_CTL_NOSLEEP)) == (XS_CTL_POLL|XS_CTL_NOSLEEP))
if (wait & XS_CTL_POLL) {
if ((wait & (XS_CTL_POLL|XS_CTL_NOSLEEP)) == (XS_CTL_POLL|XS_CTL_NOSLEEP))
return ciss_cmd(sc, ccb, BUS_DMA_NOWAIT, XS_CTL_POLL|XS_CTL_NOSLEEP);
if ((xs->xs_control & XS_CTL_POLL) != 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if (xs->xs_control & XS_CTL_POLL) {
if ((esiop_cmd->cmd_c.xs->xs_control & XS_CTL_POLL) == 0) {
if ((flags & XS_CTL_POLL) != 0) {
if ((scb->xs->xs_control & XS_CTL_POLL) != 0) {
if ((xs->xs_control & XS_CTL_POLL) == 0) {
if (xs->xs_control & XS_CTL_POLL) {
if (xs->xs_control & XS_CTL_POLL) {
if (xs->xs_control & XS_CTL_POLL) {
if (xs->xs_control & XS_CTL_POLL) {
if (xs->xs_control & XS_CTL_POLL) {
#define XS_TAG_P(ccb) (((xs)->xs_control & XS_CTL_POLL) != 0)
if ((acb->xs->xs_control & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) == 0)
if (xs->xs_control & XS_CTL_POLL) {
if (__predict_true((xs->xs_control & XS_CTL_POLL) == 0))
if (__predict_true((xs->xs_control & XS_CTL_POLL) == 0))
if (sc_xfer->xs_control & XS_CTL_POLL)
if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 &&
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0)
ATAPI_CFG_IRQ_DRQ || (sc_xfer->xs_control & XS_CTL_POLL))
const bool poll = ((xfer->c_scsipi->xs_control & XS_CTL_POLL) != 0);
if (flags & XS_CTL_POLL) {
sr->sr_flags = (flags & XS_CTL_POLL) ? SR_IMMED : 0;
if (flags & XS_CTL_POLL) {
if (flags & XS_CTL_POLL) {
if (ecb->xs->xs_control & XS_CTL_POLL)
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((ecb->xs->xs_control & XS_CTL_POLL) == 0) {
if ((flags & XS_CTL_POLL) == 0)
if ((cmd->c_xs->xs_control & XS_CTL_POLL) == 0) {
if (control & XS_CTL_POLL) {
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0) {
if ((xs->xs_control & XS_CTL_POLL) == 0) {
if ((cmd->c_xs->xs_control & XS_CTL_POLL) == 0)
if ((cb->xs->xs_control & XS_CTL_POLL) == 0) {
if (xs->xs_control & XS_CTL_POLL) {
if (acb->xs->xs_control & XS_CTL_POLL || sc->sc_flags & OSIOP_NODMA) {
if (sc->sc_nexus && flags & XS_CTL_POLL)
if (flags & XS_CTL_POLL || sc->sc_flags & OSIOP_NODMA)
if ((xs->xs_control & XS_CTL_POLL) == 0) {
if (sc_xfer->xs_control & XS_CTL_POLL)
if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 &&
if ((xs->xs_control & XS_CTL_POLL) == 0)
if (xs->xs_control & XS_CTL_POLL) {
if ((siop_cmd->cmd_c.xs->xs_control & XS_CTL_POLL) == 0) {
if (flags & XS_CTL_POLL) {
sr->sr_flags = (flags & XS_CTL_POLL) ? SR_IMMED : 0;
if (flags & XS_CTL_POLL) {
if (flags & XS_CTL_POLL) {
if ((flags & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) == 0)
no_disc = xs->xs_control & XS_CTL_POLL ||
if (acb->xs->xs_control & XS_CTL_POLL)
if (acb->xs->xs_control & XS_CTL_POLL ||
if (acb->xs->xs_control & XS_CTL_POLL || wd33c93_nodisc)
(xs->xs_control & XS_CTL_POLL) || xs->datalen == 0)
if (sc->sc_nexus && (flags & XS_CTL_POLL))
if (flags & XS_CTL_POLL) {
if ((flags & XS_CTL_POLL) == 0)
else if (acb->xs->xs_control & XS_CTL_POLL)
if ((flags & XS_CTL_POLL) == 0) {
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((mscp->xs->xs_control & XS_CTL_POLL) == 0)
if (flags & XS_CTL_POLL) {
if ((flags & XS_CTL_POLL) == 0)
if ((flags & XS_CTL_POLL) != 0) {
if (xs->xs_control & XS_CTL_POLL) {
int ispoll = xs->xs_control & XS_CTL_POLL;
if (ccb->c_flags & XS_CTL_POLL)
if (!(xs->xs_control & XS_CTL_POLL))
if (!(xs->xs_control & XS_CTL_POLL))
if (ccb->c_flags & XS_CTL_POLL) {
ccb->c_flags = XS_CTL_DATA_IN | XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_DATA_IN | XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_DATA_IN | XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_DATA_IN | XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_DATA_IN | XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_POLL | flags;
ccb->c_flags = XS_CTL_POLL | flags;
if (xs->xs_control & XS_CTL_POLL) {
if (ISSET(xs->xs_control, XS_CTL_POLL)) {
if ((xs->xs_control & XS_CTL_POLL) != 0) {
if (xs->xs_control & XS_CTL_POLL) {
if ((xs->xs_control & XS_CTL_POLL) == 0) {
if ((xs->xs_control & XS_CTL_POLL) == 0)
if ((xs->xs_control & XS_CTL_POLL) != 0) {
if (srb->xs->xs_control & XS_CTL_POLL)
if ((srb->xs->xs_control & XS_CTL_POLL) == 0) {
dopoll = (xs->xs_control & XS_CTL_POLL) != 0;
if (sc_xfer->xs_control & XS_CTL_POLL)
if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 &&
int wait_flags = (sc_xfer->xs_control & XS_CTL_POLL) ? AT_POLL : 0;
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0)
ATAPI_CFG_IRQ_DRQ || (sc_xfer->xs_control & XS_CTL_POLL))
const bool poll = ((xfer->c_scsipi->xs_control & XS_CTL_POLL) != 0);
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) {
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) {
if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) {
DSE_RETRIES, DSE_TIMEOUT, NULL, XS_CTL_POLL | XS_CTL_DATA_IN);
DSE_RETRIES, DSE_TIMEOUT, NULL, XS_CTL_POLL | XS_CTL_DATA_IN);
if ((xs->xs_control & (XS_CTL_ASYNC|XS_CTL_POLL)) ==
(XS_CTL_ASYNC|XS_CTL_POLL))
if (xs->xs_control & XS_CTL_POLL) {
if ((xs->xs_control & XS_CTL_POLL) ||
flags = xs->xs_control & XS_CTL_POLL;
if ((xs->xs_control & XS_CTL_POLL) != 0 &&
if (xs->xs_control & XS_CTL_POLL) {
xs->xs_control |= XS_CTL_POLL;
if (chan->chan_thread == NULL || (xs->xs_control & XS_CTL_POLL) != 0)
poll = (xs->xs_control & XS_CTL_POLL);
if (sd_flush(sd, XS_CTL_NOSLEEP|XS_CTL_POLL)) {
xs->xs_control |= XS_CTL_NOSLEEP | XS_CTL_POLL |
periph->periph_quirks, !!(xs->xs_control & XS_CTL_POLL));
if (xs->xs_control & XS_CTL_POLL) {
xs->xs_control & XS_CTL_POLL));