Home
last modified time | relevance | path

Searched refs:ch_queue (Results 1 – 9 of 9) sorted by relevance

/openbsd-src/sys/dev/isa/
H A Dwdc_isapnp.c116 sc->wdc_channel.ch_queue = wdc_alloc_queue(); in wdc_isapnp_attach()
117 if (sc->wdc_channel.ch_queue == NULL) { in wdc_isapnp_attach()
H A Dwdc_isa.c166 sc->wdc_channel.ch_queue = wdc_alloc_queue(); in wdc_isa_attach()
167 if (sc->wdc_channel.ch_queue == NULL) { in wdc_isa_attach()
/openbsd-src/sys/dev/pcmcia/
H A Dwdc_pcmcia.c322 sc->wdc_channel.ch_queue = wdc_alloc_queue(); in wdc_pcmcia_attach()
323 if (sc->wdc_channel.ch_queue == NULL) { in wdc_pcmcia_attach()
381 if (sc->wdc_channel.ch_queue != NULL) in wdc_pcmcia_detach()
382 wdc_free_queue(sc->wdc_channel.ch_queue); in wdc_pcmcia_detach()
/openbsd-src/sys/arch/landisk/dev/
H A Dwdc_obio.c137 chp->ch_queue = wdc_alloc_queue(); in wdc_obio_attach()
138 if (chp->ch_queue == NULL) { in wdc_obio_attach()
/openbsd-src/sys/dev/ic/
H A Dwdc.c882 if ((xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer)) == NULL) { in wdcstart()
953 xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer); in wdcintr()
1133 struct wdc_xfer *xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer); in wdc_wait_for_status()
1183 xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer); in wdctimeout()
1918 !TAILQ_EMPTY(&chp->ch_queue->sc_xfer)) { in wdc_exec_xfer()
1919 TAILQ_INIT(&chp->ch_queue->sc_xfer); in wdc_exec_xfer()
1922 TAILQ_INSERT_TAIL(&chp->ch_queue->sc_xfer,xfer , c_xferchain); in wdc_exec_xfer()
1974 TAILQ_REMOVE(&chp->ch_queue->sc_xfer, xfer, c_xferchain); in wdc_free_xfer()
1980 TAILQ_REMOVE(&chp->ch_queue->sc_xfer, xfer, c_xferchain); in wdc_free_xfer()
2002 while ((xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer)) != NULL) { in wdc_kill_pending()
[all …]
H A Dwdcvar.h83 struct channel_queue *ch_queue; member
/openbsd-src/sys/arch/macppc/dev/
H A Dwdc_obio.c220 chp->ch_queue = wdc_alloc_queue(); in wdc_obio_attach()
221 if (chp->ch_queue == NULL) { in wdc_obio_attach()
242 wdc_free_queue(chp->ch_queue); in wdc_obio_detach()
/openbsd-src/sys/dev/pci/
H A Dpciide.c2263 cp->wdc_channel.ch_queue = wdc_alloc_queue(); in pciide_chansetup()
2264 if (cp->wdc_channel.ch_queue == NULL) { in pciide_chansetup()
2279 if (cp->wdc_channel.ch_queue) in pciide_chanfree()
2280 wdc_free_queue(cp->wdc_channel.ch_queue); in pciide_chanfree()
3753 cp->wdc_channel.ch_queue = in cmd_channel_map()
3754 sc->pciide_channels[0].wdc_channel.ch_queue; in cmd_channel_map()
3756 cp->wdc_channel.ch_queue = wdc_alloc_queue(); in cmd_channel_map()
3758 if (cp->wdc_channel.ch_queue == NULL) { in cmd_channel_map()
4121 cp->wdc_channel.ch_queue = wdc_alloc_queue(); in cmd680_channel_map()
4122 if (cp->wdc_channel.ch_queue == NULL) { in cmd680_channel_map()
[all …]
/openbsd-src/sys/dev/atapiscsi/
H A Datapiscsi.c511 xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer); in wdc_atapi_timer_handler()