/netbsd/sys/dev/scsipi/ |
H A D | scsipi_base.c | 490 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_get_xs() 522 chan_mtx(periph->periph_channel)); in scsipi_get_xs() 525 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs() 532 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_get_xs() 539 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs() 558 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_get_xs() 738 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_periph_freeze() 740 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_periph_freeze() 747 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_periph_thaw() 749 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_periph_thaw() [all …]
|
H A D | ss.c | 203 struct scsipi_channel *chan = periph->periph_channel; in ssdetach() 253 adapt = periph->periph_channel->chan_adapter; in ssopen() 308 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ssclose() 344 scsipi_adapter_minphys(periph->periph_channel, bp); in ssminphys() 393 struct scsipi_channel *chan = periph->periph_channel; in ssstrategy() 493 struct scsipi_channel *chan = periph->periph_channel; in ssrestart()
|
H A D | scsipiconf.h | 342 (*(periph)->periph_channel->chan_bustype->bustype_printaddr)((periph)) 345 (periph)->periph_channel->chan_bustype->bustype_type 391 struct scsipi_channel *periph_channel; /* channel we're connected to */ member 587 #define xs_cv(xs) (&(xs)->xs_periph->periph_channel->chan_cv_xs)
|
H A D | uk.c | 153 adapt = periph->periph_channel->chan_adapter; in ukopen() 178 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ukclose()
|
H A D | scsipiconf.c | 106 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_command() 108 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_command()
|
H A D | sd.c | 307 SCSIPI_CHAN_MAX_PERIPH(periph->periph_channel); in sdattach() 375 struct scsipi_channel *chan = periph->periph_channel; in sddetach() 428 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in sd_firstopen() 562 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in sd_lastclose() 655 struct scsipi_channel *chan = periph->periph_channel; in sd_diskstart() 822 struct scsipi_channel *chan = periph->periph_channel; in sdstart() 891 scsipi_adapter_minphys(sd->sc_periph->periph_channel, bp); in sdminphys() 1062 struct scsipi_channel *chan = periph->periph_channel; in sd_interpret_sense() 1215 chan = periph->periph_channel; in sd_dumpblocks() 1761 if (!sd->sc_periph->periph_channel->chan_adapter->adapt_getgeom || in sd_get_parms() [all …]
|
H A D | scsi_base.c | 101 struct scsipi_channel *chan = periph->periph_channel; in scsi_print_addr() 139 struct scsipi_channel *chan = periph->periph_channel; in scsi_print_xfer_mode()
|
H A D | scsipi_ioctl.c | 209 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_user_done() 211 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_user_done() 361 periph->periph_channel->chan_adapter->adapt_minphys, in scsipi_do_ioctl()
|
H A D | if_se.c | 1031 mutex_enter(chan_mtx(sc->sc_periph->periph_channel)); in se_stop() 1033 mutex_exit(chan_mtx(sc->sc_periph->periph_channel)); in se_stop() 1164 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in se_enable() 1183 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in se_disable() 1209 adapt = periph->periph_channel->chan_adapter; in seopen() 1233 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in seclose()
|
H A D | if_dse.c | 1108 mutex_enter(chan_mtx(sc->sc_periph->periph_channel)); in dse_stop() 1110 mutex_exit(chan_mtx(sc->sc_periph->periph_channel)); in dse_stop() 1303 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in dse_enable() 1324 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in dse_disable() 1351 adapt = periph->periph_channel->chan_adapter; in dseopen() 1377 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in dseclose()
|
H A D | st.c | 439 struct scsipi_channel *chan = periph->periph_channel; in stdetach() 553 adapt = periph->periph_channel->chan_adapter; in stopen() 733 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in stclose() 1106 struct scsipi_channel *chan = periph->periph_channel; in ststrategy() 1189 struct scsipi_channel *chan = periph->periph_channel; in ststart1() 1318 struct scsipi_channel *chan = periph->periph_channel; in ststart() 1363 struct scsipi_channel *chan = periph->periph_channel; in strestart() 1423 st->sc_periph->periph_channel->chan_adapter->adapt_minphys, uio); in stread() 1436 st->sc_periph->periph_channel->chan_adapter->adapt_minphys, uio); in stwrite()
|
H A D | scsipi_base.h | 99 KDASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_make_xs_locked()
|
H A D | atapi_base.c | 194 struct scsipi_channel *chan = periph->periph_channel; in atapi_print_addr()
|
/netbsd/sys/arch/shark/shark/ |
H A D | shark_machdep.c | 450 && sa->sa_periph->periph_channel->chan_bustype->bustype_type == SCSIPI_BUSTYPE_ATAPI in ofw_device_register() 451 && sa->sa_periph->periph_channel->chan_channel == 0 in ofw_device_register()
|
/netbsd/sys/arch/alpha/alpha/ |
H A D | dec_eb64plus.c | 268 if (b->channel != periph->periph_channel->chan_channel) in dec_eb64plus_device_register()
|
H A D | dec_eb66.c | 260 if (b->channel != periph->periph_channel->chan_channel) in dec_eb66_device_register()
|
H A D | dec_alphabook1.c | 260 if (b->channel != periph->periph_channel->chan_channel) in dec_alphabook1_device_register()
|
H A D | dec_eb164.c | 256 if (b->channel != periph->periph_channel->chan_channel) in dec_eb164_device_register()
|
H A D | api_up1000.c | 249 if (b->channel != periph->periph_channel->chan_channel) in api_up1000_device_register()
|
H A D | dec_550.c | 261 if (b->channel != periph->periph_channel->chan_channel) in dec_550_device_register()
|
H A D | dec_kn20aa.c | 269 if (b->channel != periph->periph_channel->chan_channel) in dec_kn20aa_device_register()
|
H A D | dec_1000a.c | 332 if (b->channel != periph->periph_channel->chan_channel) in dec_1000a_device_register()
|
H A D | dec_2100_a500.c | 322 if (b->channel != periph->periph_channel->chan_channel) in dec_2100_a500_device_register()
|
/netbsd/sys/dev/ic/ |
H A D | isp_netbsd.h | 219 ((int) (xs)->xs_periph->periph_channel->chan_channel) 221 device_private((xs)->xs_periph->periph_channel->chan_adapter->adapt_dev)
|
/netbsd/sys/dev/usb/ |
H A D | umass_scsipi.c | 388 device_private(periph->periph_channel->chan_adapter->adapt_dev); in umass_scsipi_getgeom() 552 periph->periph_channel = chan; in umass_atapi_probe_device()
|