Home
last modified time | relevance | path

Searched refs:chan_adapter (Results 1 – 25 of 102) sorted by relevance

12345

/netbsd/sys/dev/scsipi/
H A Dscsiconf.c188 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 Datapiconf.c250 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 Dscsipiconf.h276 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 Duk.c153 adapt = periph->periph_channel->chan_adapter; in ukopen()
178 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ukclose()
H A Dscsi_base.c102 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 Dscsi_subr.c109 struct scsipi_adapter *adapt = chan->chan_adapter; in scsiprint()
H A Datapi_wdc.c135 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 Dscsipi_base.c157 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 Dss.c253 adapt = periph->periph_channel->chan_adapter; in ssopen()
308 struct scsipi_adapter *adapt = periph->periph_channel->chan_adapter; in ssclose()
H A Datapi_base.c195 struct scsipi_adapter *adapt = chan->chan_adapter; in atapi_print_addr()
/netbsd/sys/arch/newsmips/dev/
H A Dsc_wrap.c109 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 Daic79xx_osm.c95 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 Duha.c130 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 Dadv.c455 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 Dicpsp.c117 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 Daic7xxx_osm.c94 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 Dumass_scsipi.c221 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 Dvatapi.c165 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 Diopsp.c181 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 Dempsc.c168 chan->chan_adapter = adapt; in empscattach()
H A Dcbiiisc.c149 chan->chan_adapter = adapt; in cbiiiscattach()
H A Dzssc.c135 sc->sc_channel.chan_adapter = &sc->sc_adapter; in zsscattach()
H A Dbppcsc.c155 chan->chan_adapter = adapt; in bppcscattach()
H A Dwesc.c146 chan->chan_adapter = adapt; in wescattach()
H A Dmgnsc.c148 chan->chan_adapter = adapt; in mgnscattach()

12345