Home
last modified time | relevance | path

Searched refs:queue_openings (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/dev/ata/
H A Data_subr.c77 chq->queue_xfers_avail = __BIT(chq->queue_openings) - 1; in ata_queue_reset()
88 KASSERTMSG(hwslot < chq->queue_openings, "hwslot %d > openings %d", in ata_queue_hwslot_to_xfer()
89 hwslot, chq->queue_openings); in ata_queue_hwslot_to_xfer()
171 chq->queue_openings = openings; in ata_queue_alloc()
295 chq->queue_active, chq->queue_freeze, chq->queue_openings); in atachannel_debug()
307 KASSERT(chq->queue_active < chq->queue_openings); in ata_queue_alloc_slot()
314 mask = __BIT(MIN(chq->queue_openings, drv_openings)) - 1; in ata_queue_alloc_slot()
382 return chp->ch_queue->queue_openings; in ata_queue_openings()
H A Data.c1164 KASSERT(chq->queue_active <= chq->queue_openings); in atastart()
1165 const uint8_t chq_openings = (!skipq && chq->queue_openings > 1) in atastart()
1166 ? (chq->queue_openings - 1) : chq->queue_openings; in atastart()
1223 if (!skipq && chq->queue_active < chq->queue_openings) in atastart()
1761 ATA_REAL_OPENINGS(chp->ch_queue->queue_openings), in ata_print_modes()
H A Datavar.h230 uint8_t queue_openings; /* max number of active xfers */ member