Searched refs:ch_queue (Results 1 – 6 of 6) sorted by relevance
83 struct ata_queue *chq = chp->ch_queue; in ata_queue_hwslot_to_xfer()114 xfer = TAILQ_FIRST(&chp->ch_queue->active_xfers); in ata_queue_get_active_xfer_locked()149 TAILQ_FOREACH(xfer, &chp->ch_queue->active_xfers, c_activechain) { in ata_queue_drive_active_xfer()204 if (chp->ch_queue == NULL) { in ata_channel_init()205 chp->ch_queue = ata_queue_alloc(1); in ata_channel_init()212 if (chp->ch_queue != NULL) { in ata_channel_destroy()213 ata_queue_free(chp->ch_queue); in ata_channel_destroy()214 chp->ch_queue = NULL; in ata_channel_destroy()230 struct ata_queue *chq = chp->ch_queue; in ata_timeout()288 struct ata_queue *chq = chp->ch_queue; in atachannel_debug()[all …]
206 KASSERT(chp->ch_queue != NULL); in ata_channel_attach()442 struct ata_queue *chq = chp->ch_queue; in atabus_thread()1001 while (chp->ch_queue->queue_active > 0) { in ata_channel_idle()1002 chp->ch_queue->queue_flags |= QF_IDLE_WAIT; in ata_channel_idle()1003 cv_timedwait(&chp->ch_queue->queue_idle, &chp->ch_lock, 1); in ata_channel_idle()1030 SIMPLEQ_INSERT_TAIL(&chp->ch_queue->queue_xfer, xfer, in ata_exec_xfer()1033 SIMPLEQ_INSERT_HEAD(&chp->ch_queue->queue_xfer, xfer, in ata_exec_xfer()1040 while (chp->ch_queue->queue_active > 0 || in ata_exec_xfer()1041 SIMPLEQ_FIRST(&chp->ch_queue->queue_xfer) != xfer) { in ata_exec_xfer()1043 cv_wait(&chp->ch_queue->c_active, &chp->ch_lock); in ata_exec_xfer()[all …]
439 struct ata_queue *ch_queue; member
305 chp->ch_queue = ata_queue_alloc(SIISATA_MAX_SLOTS); in siisata_attach_port()306 if (chp->ch_queue == NULL) { in siisata_attach_port()
412 chp->ch_queue = ata_queue_alloc(sc->sc_ncmds); in ahci_attach()413 if (chp->ch_queue == NULL) { in ahci_attach()
3045 chp->ch_queue = ata_queue_alloc(MVSATA_EDMAQ_LEN); in mvsata_port_init()