Lines Matching refs:ch_queue
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()
303 struct ata_queue *chq = chp->ch_queue; in ata_queue_alloc_slot()
333 struct ata_queue *chq = chp->ch_queue; in ata_queue_free_slot()
346 struct ata_queue *chq = chp->ch_queue; in ata_queue_hold()
357 struct ata_queue *chq = chp->ch_queue; in ata_queue_unhold()
371 struct ata_queue *chq = chp->ch_queue; in ata_queue_active()
382 return chp->ch_queue->queue_openings; in ata_queue_openings()