/netbsd/sys/dev/scsipi/ |
H A D | atapi_base.c | 96 if ((xs->xs_control & XS_CTL_IGNORE_NOT_READY) != 0) in atapi_interpret_sense() 98 if ((xs->xs_control & XS_CTL_SILENT) != 0) in atapi_interpret_sense() 112 if ((xs->xs_control & in atapi_interpret_sense() 115 if ((xs->xs_control & XS_CTL_SILENT) != 0) in atapi_interpret_sense() 123 if ((xs->xs_control & in atapi_interpret_sense() 128 if ((xs->xs_control & XS_CTL_SILENT) != 0) in atapi_interpret_sense()
|
H A D | scsipi_base.c | 551 xs->xs_control = flags; in scsipi_get_xs() 577 int flags = xs->xs_control; in scsipi_put_xs() 957 if ((xs->xs_control & in scsipi_interpret_sense() 1009 if ((xs->xs_control & in scsipi_interpret_sense() 1032 if ((xs->xs_control & in scsipi_interpret_sense() 1673 if (xs->xs_control & XS_CTL_POLL) { in scsipi_done() 1948 if (xs->xs_control & XS_CTL_ASYNC) in scsipi_complete() 1971 flags = xs->xs_control & XS_CTL_POLL; in scsipi_request_sense() 2233 xs->xs_control &= ~XS_CTL_TAGMASK; in scsipi_execute_xs() 2271 xs->xs_control |= XS_CTL_POLL; in scsipi_execute_xs() [all …]
|
H A D | atapi_wdc.c | 400 if (sc_xfer->xs_control & XS_CTL_POLL) in wdc_atapi_scsipi_request() 463 if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 && in wdc_atapi_scsipi_request() 491 sc_xfer->xs_control), DEBUG_XFERS); in wdc_atapi_start() 502 if ((sc_xfer->xs_control & XS_CTL_POLL) == 0 in wdc_atapi_start() 595 if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) in wdc_atapi_start() 783 if (sc_xfer->xs_control & XS_CTL_DATA_IN) in wdc_atapi_intr() 838 dma_flags = (sc_xfer->xs_control & XS_CTL_DATA_IN) in wdc_atapi_intr() 890 if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) { in wdc_atapi_intr() 945 if ((sc_xfer->xs_control & XS_CTL_POLL) == 0) { in wdc_atapi_intr() 955 if ((sc_xfer->xs_control & XS_CTL_DATA_IN) == 0 || in wdc_atapi_intr() [all …]
|
/netbsd/sys/dev/pci/ |
H A D | vioscsi.c | 253 ((((xs)->xs_control & XS_CTL_DATA_IN) ? BUS_DMA_READ : BUS_DMA_WRITE) | \ 254 (((xs)->xs_control & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK) | \ 257 #define XS2DMAPRE(xs) (((xs)->xs_control & XS_CTL_DATA_IN) ? \ 260 #define XS2DMAPOST(xs) (((xs)->xs_control & XS_CTL_DATA_IN) ? \ 387 if ((xs->xs_control & (XS_CTL_DATA_IN|XS_CTL_DATA_OUT)) != 0) in vioscsi_scsipi_request() 409 if ((xs->xs_control & (XS_CTL_DATA_IN|XS_CTL_DATA_OUT)) != 0) in vioscsi_scsipi_request() 416 if (xs->xs_control & XS_CTL_DATA_OUT) in vioscsi_scsipi_request() 421 if (xs->xs_control & XS_CTL_DATA_IN) in vioscsi_scsipi_request() 423 dopoll = (xs->xs_control & XS_CTL_POLL) != 0; in vioscsi_scsipi_request()
|
H A D | ips.c | 859 xs->cmd->opcode, xs->xs_control)); in ips_scsi_cmd() 903 if (xs->xs_control & XS_CTL_DATA_IN) in ips_scsi_cmd() 1277 xs->xs_control & XS_CTL_DATA_IN ? BUS_DMASYNC_PREREAD : in ips_load_xs() 1304 ccb->c_flags = xs->xs_control; in ips_start_xs() 1306 int ispoll = xs->xs_control & XS_CTL_POLL; in ips_start_xs() 1409 if (!(xs->xs_control & XS_CTL_POLL)) in ips_done_xs() 1412 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in ips_done_xs() 1414 ccb->c_dmam->dm_mapsize, xs->xs_control & XS_CTL_DATA_IN ? in ips_done_xs() 1433 if (!(xs->xs_control & XS_CTL_POLL)) in ips_done_pt() 1436 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in ips_done_pt() [all …]
|
H A D | trm.c | 702 if (xs->xs_control & XS_CTL_RESET) { in trm_scsipi_request() 732 ((xs->xs_control & XS_CTL_NOSLEEP) ? in trm_scsipi_request() 735 ((xs->xs_control & XS_CTL_DATA_IN) ? in trm_scsipi_request() 750 (xs->xs_control & XS_CTL_DATA_IN) ? in trm_scsipi_request() 783 if ((xs->xs_control & XS_CTL_POLL) != 0) { in trm_scsipi_request() 900 (srb->xs->xs_control & XS_CTL_REQSENSE) != 0) in trm_sched() 906 if (srb->xs->xs_control & XS_CTL_POLL) in trm_sched() 978 if ((srb->xs->xs_control & XS_CTL_POLL) == 0) { in trm_select() 1028 (srb->xs->xs_control & XS_CTL_REQSENSE) == 0)); in trm_select() 2173 if ((xs->xs_control & XS_CTL_POLL) == 0) in trm_done() [all …]
|
/netbsd/sys/dev/ic/ |
H A D | aic79xx_osm.c | 215 if (xs->xs_control & XS_CTL_DATA_IN) in ahd_done() 240 if (!(txs->xs_control & XS_CTL_POLL)) { in ahd_done() 385 if (xs->xs_control & XS_CTL_RESET) { in ahd_action() 563 if (xs->xs_control & XS_CTL_DATA_IN) in ahd_execute_scb() 607 if ((xs->xs_control & XS_CTL_DISCOVERY) && in ahd_execute_scb() 624 if (!(xs->xs_control & XS_CTL_POLL)) { in ahd_execute_scb() 641 if (!(xs->xs_control & XS_CTL_POLL)) { in ahd_execute_scb() 651 if (!(xs->xs_control & XS_CTL_SILENT)) in ahd_execute_scb() 715 ((xs->xs_control & XS_CTL_NOSLEEP) ? in ahd_setup_data() 718 ((xs->xs_control & XS_CTL_DATA_IN) ? in ahd_setup_data()
|
H A D | aic7xxx_osm.c | 224 if (xs->xs_control & XS_CTL_DATA_IN) in ahc_done() 246 if (!(list_scb->xs->xs_control & XS_CTL_POLL)) { in ahc_done() 376 if (xs->xs_control & XS_CTL_RESET) { in ahc_action() 565 if (xs->xs_control & XS_CTL_DATA_IN) in ahc_execute_scb() 621 if ((xs->xs_control & XS_CTL_DISCOVERY) && (tinfo->goal.width == 0 in ahc_execute_scb() 635 if (!(xs->xs_control & XS_CTL_POLL)) { in ahc_execute_scb() 675 if (!(xs->xs_control & XS_CTL_POLL)) { in ahc_execute_scb() 687 if (!(xs->xs_control & XS_CTL_SILENT)) in ahc_execute_scb() 751 ((xs->xs_control & XS_CTL_NOSLEEP) ? in ahc_setup_data() 754 ((xs->xs_control & XS_CTL_DATA_IN) ? in ahc_setup_data()
|
H A D | adw.c | 351 if ((ccb->xs->xs_control & XS_CTL_POLL) == 0) in adw_queue_ccb() 590 if ((xs->xs_control & XS_CTL_POLL) == 0) in adw_scsipi_request() 665 if (xs->xs_control & SCSI_DATA_UIO) { in adw_build_req() 677 ((xs->xs_control & XS_CTL_NOSLEEP) ? in adw_build_req() 680 ((xs->xs_control & XS_CTL_DATA_IN) ? in adw_build_req() 704 (xs->xs_control & XS_CTL_DATA_IN) ? in adw_build_req() 1043 (xs->xs_control & XS_CTL_DATA_IN) ? in adw_isr_callback()
|
H A D | mpt_netbsd.c | 642 (xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMASYNC_POSTREAD in mpt_done() 868 if (xs->xs_control & XS_CTL_DATA_IN) in mpt_run_xfer() 870 else if (xs->xs_control & XS_CTL_DATA_OUT) in mpt_run_xfer() 930 ((xs->xs_control & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT in mpt_run_xfer() 933 ((xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMA_READ in mpt_run_xfer() 962 if (xs->xs_control & XS_CTL_DATA_OUT) in mpt_run_xfer() 1041 (xs->xs_control & XS_CTL_DATA_IN) ? in mpt_run_xfer() 1049 if (xs->xs_control & XS_CTL_DATA_OUT) in mpt_run_xfer() 1075 (xs->xs_control & XS_CTL_DATA_IN) ? in mpt_run_xfer() 1102 if (__predict_true((xs->xs_control & XS_CTL_POLL) == 0)) in mpt_run_xfer() [all …]
|
H A D | sunscpal.c | 350 ((xs->xs_control & XS_CTL_DATA_OUT) == 0 ? in sunscpal_dma_stop() 402 if (((xs->xs_control & XS_CTL_DATA_OUT) == 0) && in sunscpal_dma_stop() 737 flags = xs->xs_control; in sunscpal_scsipi_request() 1098 if (xs->xs_control & XS_CTL_RESET) { in sunscpal_sched() 1106 if ((xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) == 0) { in sunscpal_sched() 1572 expected_phase = (xs->xs_control & XS_CTL_DATA_OUT) ? in sunscpal_data_xfer() 1902 if ((xs->xs_control & XS_CTL_RESET) == 0) { in sunscpal_show_scsi_cmd() 2251 ((xs->xs_control & XS_CTL_DATA_OUT) == 0 ? in sunscpal_dma_setup()
|
H A D | oosiop.c | 467 control = cb->xs->xs_control; in oosiop_setup_sgdma() 758 xs->cmdlen, NULL, ((xs->xs_control & XS_CTL_NOSLEEP) ? in oosiop_scsipi_request() 772 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in oosiop_scsipi_request() 775 ((xs->xs_control & XS_CTL_NOSLEEP) ? in oosiop_scsipi_request() 778 ((xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMA_READ : in oosiop_scsipi_request() 800 (xs->xs_control & XS_CTL_REQSENSE) == 0); in oosiop_scsipi_request() 828 if (xs->xs_control & XS_CTL_POLL) { in oosiop_scsipi_request() 1140 if ((cb->xs->xs_control & XS_CTL_POLL) == 0) { in oosiop_intr()
|
H A D | osiop.c | 365 flags = xs->xs_control; in osiop_scsipi_request() 396 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in osiop_scsipi_request() 400 ((xs->xs_control & XS_CTL_DATA_IN) ? in osiop_scsipi_request() 562 if (acb->xs->xs_control & XS_CTL_RESET) in osiop_sched() 629 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in osiop_scsidone() 631 (xs->xs_control & XS_CTL_DATA_IN) ? in osiop_scsidone() 922 disconnect = (xs->xs_control & XS_CTL_REQSENSE) == 0 && in osiop_start() 972 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in osiop_start() 979 0, acb->datalen, (xs->xs_control & XS_CTL_DATA_IN) ? in osiop_start() 991 if ((xs->xs_control & XS_CTL_POLL) == 0) { in osiop_start() [all …]
|
H A D | wd33c93.c | 403 if (xs->xs_control & XS_CTL_SILENT) in wd33c93_error() 465 (xs->xs_control & XS_CTL_POLL) || xs->datalen == 0) in wd33c93_dmaok() 564 flags = xs->xs_control; in wd33c93_scsi_request() 692 else if (acb->xs->xs_control & XS_CTL_POLL) in wd33c93_sched() 757 flags = acb->xs->xs_control; in wd33c93_sched() 999 if ((xs->xs_control & XS_CTL_POLL) == 0) in wd33c93_selectbus() 1131 no_disc = xs->xs_control & XS_CTL_POLL || in wd33c93_selectbus() 1601 if (acb->xs->xs_control & XS_CTL_POLL) in wd33c93_msgin() 1955 if (acb->xs->xs_control & XS_CTL_POLL || in wd33c93_nextstate() 2046 if (acb->xs->xs_control & XS_CTL_POLL || wd33c93_nodisc) in wd33c93_nextstate()
|
H A D | dpt.c | 842 ((xs->xs_control & XS_CTL_NOSLEEP) != 0 ? in dpt_ccb_map() 844 ((xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMA_READ : BUS_DMA_WRITE)); in dpt_ccb_map() 866 (xs->xs_control & XS_CTL_DATA_IN) != 0 ? BUS_DMASYNC_PREREAD : in dpt_ccb_map() 940 flags = xs->xs_control; in dpt_scsipi_request() 1014 if ((xs->xs_control & XS_CTL_POLL) != 0) in dpt_scsipi_request() 1026 if ((xs->xs_control & XS_CTL_POLL) == 0) in dpt_scsipi_request()
|
H A D | siop_common.c | 264 if (xs->xs_control & XS_CTL_REQSENSE) in siop_setuptables() 322 if (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in siop_setuptables() 736 if ((siop_cmd->xs->xs_control & (XS_CTL_DATA_OUT | XS_CTL_DATA_IN)) in siop_ma() 752 if (siop_cmd->xs->xs_control & XS_CTL_DATA_OUT) { in siop_ma() 797 if ((siop_cmd->xs->xs_control & (XS_CTL_DATA_OUT | XS_CTL_DATA_IN)) in siop_sdp() 858 if ((siop_cmd->xs->xs_control & (XS_CTL_DATA_OUT | XS_CTL_DATA_IN)) in siop_update_resid()
|
H A D | siisata.c | 1759 if (sc_xfer->xs_control & XS_CTL_POLL) in siisata_atapi_scsipi_request() 1771 if ((sc_xfer->xs_control & XS_CTL_POLL) != 0 && in siisata_atapi_scsipi_request() 1794 chp->ch_drive[xfer->c_drive].drive, sc_xfer->xs_control), in siisata_atapi_start() 1803 if ((sc_xfer->xs_control & XS_CTL_DATA_IN)) in siisata_atapi_start() 1805 if ((sc_xfer->xs_control & XS_CTL_DATA_OUT)) in siisata_atapi_start() 1816 (sc_xfer->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) ? in siisata_atapi_start() 1819 (sc_xfer->xs_control & XS_CTL_DATA_IN) ? in siisata_atapi_start() 1895 (sc_xfer->xs_control & XS_CTL_DATA_IN) ? in siisata_atapi_complete() 1905 ((sc_xfer->xs_control & XS_CTL_REQSENSE) == 0 || in siisata_atapi_complete()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | sci.c | 157 flags = xs->xs_control; in sci_scsipi_request() 209 flags = xs->xs_control; in sci_donextcmd() 359 if (xs->xs_control & XS_CTL_SILENT) in scierror() 609 xs->xs_control & XS_CTL_DATA_IN ? DATA_IN_PHASE : DATA_OUT_PHASE); in scigo() 638 phase = xs->xs_control & XS_CTL_DATA_IN ? DATA_IN_PHASE : DATA_OUT_PHASE; in scigo()
|
H A D | flsc.c | 257 if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) { in flsc_write_reg() 277 sc->sc_nexus->xs->xs_control & XS_CTL_POLL) { in flsc_write_reg() 494 if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) { in flsc_dma_setup() 632 if (sc->sc_nexus->xs->xs_control & XS_CTL_POLL) { in flsc_dma_go()
|
/netbsd/sys/dev/hyperv/ |
H A D | hvs.c | 438 ((((xs)->xs_control & XS_CTL_DATA_IN) ? BUS_DMA_READ : BUS_DMA_WRITE) | \ 439 (((xs)->xs_control & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK) | \ 442 #define XS2DMAPRE(xs) (((xs)->xs_control & XS_CTL_DATA_IN) ? \ 445 #define XS2DMAPOST(xs) (((xs)->xs_control & XS_CTL_DATA_IN) ? \ 522 switch (xs->xs_control & (XS_CTL_DATA_IN | XS_CTL_DATA_OUT)) { in hvs_scsipi_request() 578 ccb->ccb_rid, xs->cmd->opcode, xs->xs_control, xs->datalen); in hvs_scsipi_request() 581 if (xs->xs_control & XS_CTL_POLL) in hvs_scsipi_request()
|
/netbsd/sys/dev/usb/ |
H A D | umass_scsipi.c | 258 periph->periph_quirks, !!(xs->xs_control & XS_CTL_POLL)); in umass_scsipi_request() 288 switch (xs->xs_control & in umass_scsipi_request() 305 if (xs->xs_control & XS_CTL_POLL) { in umass_scsipi_request()
|
/netbsd/sys/arch/news68k/dev/ |
H A D | si.c | 280 if (sr->sr_xs->xs_control & XS_CTL_DATA_OUT) { in si_dma_start() 389 if (sr->sr_xs->xs_control & XS_CTL_DATA_IN) { in si_dma_stop()
|
/netbsd/sys/dev/isa/ |
H A D | wds.c | 783 (xs->xs_control & XS_CTL_DATA_IN) ? in wds_done() 1082 if (xs->xs_control & XS_CTL_RESET) { in wds_scsipi_request() 1090 if (xs->xs_control & XS_CTL_DATA_UIO) { in wds_scsipi_request() 1103 flags = xs->xs_control; in wds_scsipi_request() 1141 scb->cmd.write = (xs->xs_control & XS_CTL_DATA_IN) ? in wds_scsipi_request()
|
/netbsd/sys/dev/sbus/ |
H A D | isp_sbus.c | 511 if (xs->xs_control & XS_CTL_DATA_IN) { in isp_sbus_dmasetup() 521 …NULL, ((xs->xs_control & XS_CTL_NOSLEEP) ? BUS_DMA_NOWAIT : BUS_DMA_WAITOK) | BUS_DMA_STREAMING | … in isp_sbus_dmasetup() 557 xs->datalen, (xs->xs_control & XS_CTL_DATA_IN)? in isp_sbus_dmateardown()
|
/netbsd/sys/dev/eisa/ |
H A D | ahb.c | 300 if ((ecb->xs->xs_control & XS_CTL_POLL) == 0) in ahb_send_mbox() 331 if ((ecb->xs->xs_control & XS_CTL_POLL) == 0) in ahb_send_immed() 548 (xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMASYNC_POSTREAD : in ahb_done() 799 flags = xs->xs_control; in ahb_scsipi_request()
|