Home
last modified time | relevance | path

Searched refs:hwq_wptr (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/sys/arch/arm/gemini/
Dgemini_gmac.c528 i += hwq->hwq_wptr; in gmac_hwqueue_desc()
576 hwq->hwq_wptr = (v >> 16) & 0xffff; in gmac_hwqueue_sync()
627 KASSERT(hwq->hwq_wptr == bus_space_read_4(hwq->hwq_iot, hwq->hwq_qrwptr_ioh, 0) >> 16); in gmac_hwqueue_produce()
630 hwq, count, hwq->hwq_rptr, rptr, hwq->hwq_wptr); in gmac_hwqueue_produce()
634 for (wptr = hwq->hwq_wptr; in gmac_hwqueue_produce()
644 hwq->hwq_wptr = wptr; in gmac_hwqueue_produce()
646 if (hwq->hwq_wptr + count >= hwq->hwq_size) { in gmac_hwqueue_produce()
648 sizeof(gmac_desc_t [hwq->hwq_qoff + hwq->hwq_wptr]), in gmac_hwqueue_produce()
649 sizeof(gmac_desc_t [hwq->hwq_size - hwq->hwq_wptr]), in gmac_hwqueue_produce()
651 count -= hwq->hwq_size - hwq->hwq_wptr; in gmac_hwqueue_produce()
[all …]
Dgemini_gmacvar.h157 uint16_t hwq_wptr; /* next descriptor to write */ member