/netbsd/sys/dev/scsipi/ |
H A D | scsiconf.c | 188 if (chan->chan_adapter->adapt_max_periph > 256) in scsibusattach() 189 chan->chan_adapter->adapt_max_periph = 256; in scsibusattach() 199 if (scsipi_adapter_addref(chan->chan_adapter)) in scsibusattach() 275 scsipi_adapter_delref(chan->chan_adapter); in scsibus_config() 488 if ((error = scsipi_adapter_addref(chan->chan_adapter)) != 0) in scsi_probe_bus() 504 scsipi_adapter_delref(chan->chan_adapter); in scsi_probe_bus() 970 if (chan->chan_adapter->adapt_accesschk != NULL && in scsi_probe_device() 971 (*chan->chan_adapter->adapt_accesschk)(periph, &sa.sa_inqbuf)) in scsi_probe_device() 1145 if ((error = scsipi_adapter_addref(sc->sc_channel->chan_adapter)) != 0) in scsibusopen() 1160 scsipi_adapter_delref(sc->sc_channel->chan_adapter); in scsibusclose()
|
H A D | atapiconf.c | 250 if ((error = scsipi_adapter_addref(chan->chan_adapter)) != 0) in atapi_probe_bus() 252 atapi_adapter = (struct atapi_adapter*)chan->chan_adapter; in atapi_probe_bus() 255 scsipi_adapter_delref(chan->chan_adapter); in atapi_probe_bus()
|
H A D | scsipiconf.h | 276 struct scsipi_adapter *chan_adapter; /* pointer to our adapter */ member 320 #define chan_running(ch) ((ch)->chan_adapter->adapt_running) 321 #define chan_mtx(ch) (&(ch)->chan_adapter->adapt_mtx) 338 (chan)->chan_max_periph : (chan)->chan_adapter->adapt_max_periph)
|
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 | scsi_base.c | 102 struct scsipi_adapter *adapt = chan->chan_adapter; in scsi_print_addr() 140 struct scsipi_adapter *adapt = chan->chan_adapter; in scsi_print_xfer_mode()
|
H A D | scsi_subr.c | 109 struct scsipi_adapter *adapt = chan->chan_adapter; in scsiprint()
|
H A D | atapi_wdc.c | 135 chan->chan_adapter = adapt; in wdc_atapibus_attach() 166 device_private(periph->periph_channel->chan_adapter->adapt_dev); in wdc_atapi_kill_pending() 207 struct wdc_softc *wdc = device_private(chan->chan_adapter->adapt_dev); in wdc_atapi_get_params() 269 struct wdc_softc *wdc = device_private(chan->chan_adapter->adapt_dev); in wdc_atapi_probe_device() 369 struct scsipi_adapter *adapt = chan->chan_adapter; in wdc_atapi_scsipi_request()
|
H A D | scsipi_base.c | 157 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_channel_init() 301 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_get_resource() 361 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_put_resource() 2270 if (chan->chan_adapter->adapt_flags & SCSIPI_ADAPT_POLL_ONLY) in scsipi_execute_xs() 2817 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_adapter_minphys() 2821 scsipi_adapter_unlock(chan->chan_adapter); in scsipi_adapter_minphys() 2829 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_adapter_request() 2842 struct scsipi_adapter *adapt = chan->chan_adapter; in scsipi_adapter_ioctl()
|
H A D | ss.c | 253 adapt = periph->periph_channel->chan_adapter; in ssopen() 308 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ssclose()
|
H A D | atapi_base.c | 195 struct scsipi_adapter *adapt = chan->chan_adapter; in atapi_print_addr()
|
/netbsd/sys/arch/newsmips/dev/ |
H A D | sc_wrap.c | 109 sc->sc_channel.chan_adapter = &sc->sc_adapter; in cxd1185_attach() 188 struct sc_softc *sc = device_private(chan->chan_adapter->adapt_dev); in sc_scsipi_request() 359 sc = device_private(periph->periph_channel->chan_adapter->adapt_dev); in sc_done()
|
/netbsd/sys/dev/ic/ |
H A D | aic79xx_osm.c | 95 ahd->sc_channel.chan_adapter = &ahd->sc_adapter; in ahd_attach() 163 ahd = device_private(channel->chan_adapter->adapt_dev); in ahd_ioctl() 327 ahd = device_private(chan->chan_adapter->adapt_dev); in ahd_action() 403 chan->chan_adapter->adapt_openings += ahd_alloc_scbs(ahd); in ahd_action() 544 xs->xs_periph->periph_channel->chan_adapter->adapt_dev); in ahd_execute_scb()
|
H A D | uha.c | 130 chan->chan_adapter = adapt; in uha_attach() 402 struct uha_softc *sc = device_private(chan->chan_adapter->adapt_dev); in uha_scsipi_request() 580 device_private(periph->periph_channel->chan_adapter->adapt_dev); in uha_timeout()
|
H A D | adv.c | 455 chan->chan_adapter = adapt; in adv_attach() 526 ASC_SOFTC *sc = device_private(chan->chan_adapter->adapt_dev); in adv_scsipi_request() 784 device_private(periph->periph_channel->chan_adapter->adapt_dev); in adv_timeout() 825 device_private(periph->periph_channel->chan_adapter->adapt_dev); in adv_watchdog()
|
H A D | icpsp.c | 117 sc->sc_channel.chan_adapter = &sc->sc_adapter; in icpsp_attach() 141 sc = device_private(chan->chan_adapter->adapt_dev); in icpsp_scsipi_request()
|
H A D | aic7xxx_osm.c | 94 ahc->sc_channel.chan_adapter = &ahc->sc_adapter; in ahc_attach() 306 ahc = device_private(channel->chan_adapter->adapt_dev); in ahc_ioctl() 331 ahc = device_private(chan->chan_adapter->adapt_dev); in ahc_action() 391 chan->chan_adapter->adapt_openings += ahc_alloc_scbs(ahc); in ahc_action() 535 xs->xs_periph->periph_channel->chan_adapter->adapt_dev); in ahc_execute_scb()
|
/netbsd/sys/dev/usb/ |
H A D | umass_scsipi.c | 221 scbus->sc_channel.chan_adapter = &scbus->sc_adapter; in umass_scsipi_setup() 236 struct scsipi_adapter *adapt = chan->chan_adapter; in umass_scsipi_request() 388 device_private(periph->periph_channel->chan_adapter->adapt_dev); in umass_scsipi_getgeom()
|
/netbsd/sys/arch/usermode/dev/ |
H A D | vatapi.c | 165 chan->chan_adapter = adapt; in vatapi_callback() 266 device_t sc_dev = chan->chan_adapter->adapt_dev; in vatapi_scsipi_request()
|
/netbsd/sys/dev/i2o/ |
H A D | iopsp.c | 181 sc->sc_channel.chan_adapter = &sc->sc_adapter; in iopsp_attach() 394 sc = device_private(chan->chan_adapter->adapt_dev); in iopsp_scsipi_request() 622 device_private(chan->chan_adapter->adapt_dev)); in iopsp_ioctl()
|
/netbsd/sys/arch/amiga/dev/ |
H A D | empsc.c | 168 chan->chan_adapter = adapt; in empscattach()
|
H A D | cbiiisc.c | 149 chan->chan_adapter = adapt; in cbiiiscattach()
|
H A D | zssc.c | 135 sc->sc_channel.chan_adapter = &sc->sc_adapter; in zsscattach()
|
H A D | bppcsc.c | 155 chan->chan_adapter = adapt; in bppcscattach()
|
H A D | wesc.c | 146 chan->chan_adapter = adapt; in wescattach()
|
H A D | mgnsc.c | 148 chan->chan_adapter = adapt; in mgnscattach()
|