Searched refs:ch_queue (Results 1 – 9 of 9) sorted by relevance
116 sc->wdc_channel.ch_queue = wdc_alloc_queue(); in wdc_isapnp_attach()117 if (sc->wdc_channel.ch_queue == NULL) { in wdc_isapnp_attach()
166 sc->wdc_channel.ch_queue = wdc_alloc_queue(); in wdc_isa_attach()167 if (sc->wdc_channel.ch_queue == NULL) { in wdc_isa_attach()
322 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()
137 chp->ch_queue = wdc_alloc_queue(); in wdc_obio_attach()138 if (chp->ch_queue == NULL) { in wdc_obio_attach()
882 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 …]
83 struct channel_queue *ch_queue; member
220 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()
2263 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 …]
511 xfer = TAILQ_FIRST(&chp->ch_queue->sc_xfer); in wdc_atapi_timer_handler()