Home
last modified time | relevance | path

Searched refs:periph_channel (Results 1 – 25 of 76) sorted by relevance

1234

/netbsd/sys/dev/scsipi/
H A Dscsipi_base.c490 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 Dss.c203 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 Dscsipiconf.h342 (*(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 Duk.c153 adapt = periph->periph_channel->chan_adapter; in ukopen()
178 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ukclose()
H A Dscsipiconf.c106 mutex_enter(chan_mtx(periph->periph_channel)); in scsipi_command()
108 mutex_exit(chan_mtx(periph->periph_channel)); in scsipi_command()
H A Dsd.c307 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 Dscsi_base.c101 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 Dscsipi_ioctl.c209 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 Dif_se.c1031 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 Dif_dse.c1108 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 Dst.c439 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 Dscsipi_base.h99 KDASSERT(mutex_owned(chan_mtx(periph->periph_channel))); in scsipi_make_xs_locked()
H A Datapi_base.c194 struct scsipi_channel *chan = periph->periph_channel; in atapi_print_addr()
/netbsd/sys/arch/shark/shark/
H A Dshark_machdep.c450 && 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 Ddec_eb64plus.c268 if (b->channel != periph->periph_channel->chan_channel) in dec_eb64plus_device_register()
H A Ddec_eb66.c260 if (b->channel != periph->periph_channel->chan_channel) in dec_eb66_device_register()
H A Ddec_alphabook1.c260 if (b->channel != periph->periph_channel->chan_channel) in dec_alphabook1_device_register()
H A Ddec_eb164.c256 if (b->channel != periph->periph_channel->chan_channel) in dec_eb164_device_register()
H A Dapi_up1000.c249 if (b->channel != periph->periph_channel->chan_channel) in api_up1000_device_register()
H A Ddec_550.c261 if (b->channel != periph->periph_channel->chan_channel) in dec_550_device_register()
H A Ddec_kn20aa.c269 if (b->channel != periph->periph_channel->chan_channel) in dec_kn20aa_device_register()
H A Ddec_1000a.c332 if (b->channel != periph->periph_channel->chan_channel) in dec_1000a_device_register()
H A Ddec_2100_a500.c322 if (b->channel != periph->periph_channel->chan_channel) in dec_2100_a500_device_register()
/netbsd/sys/dev/ic/
H A Disp_netbsd.h219 ((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 Dumass_scsipi.c388 device_private(periph->periph_channel->chan_adapter->adapt_dev); in umass_scsipi_getgeom()
552 periph->periph_channel = chan; in umass_atapi_probe_device()

1234