Lines Matching refs:hwq_wptr
528 i += hwq->hwq_wptr;
576 hwq->hwq_wptr = (v >> 16) & 0xffff;
627 KASSERT(hwq->hwq_wptr == bus_space_read_4(hwq->hwq_iot, hwq->hwq_qrwptr_ioh, 0) >> 16);
630 hwq, count, hwq->hwq_rptr, rptr, hwq->hwq_wptr);
634 for (wptr = hwq->hwq_wptr;
644 hwq->hwq_wptr = wptr;
646 if (hwq->hwq_wptr + count >= hwq->hwq_size) {
648 sizeof(gmac_desc_t [hwq->hwq_qoff + hwq->hwq_wptr]),
649 sizeof(gmac_desc_t [hwq->hwq_size - hwq->hwq_wptr]),
651 count -= hwq->hwq_size - hwq->hwq_wptr;
652 hwq->hwq_wptr = 0;
656 sizeof(gmac_desc_t [hwq->hwq_qoff + hwq->hwq_wptr]),
659 hwq->hwq_wptr += count;
660 hwq->hwq_wptr &= (hwq->hwq_size - 1);
669 hwq->hwq_wptr << 16);
671 aprint_debug(" new=%u\n", hwq->hwq_wptr);
725 map, map->_dm_size, m, hwq->hwq_wptr, error);
892 hwq->hwq_wptr = (v >> 16) & 0xffff;
894 if (rptr == hwq->hwq_wptr)
898 for (; rptr != hwq->hwq_wptr; rptr = (rptr + 1) & (hwq->hwq_size - 1)) {
929 hwq, hwq->hwq_rptr, rptr, hwq->hwq_wptr);
1072 hwq->hwq_wptr = (v >> 16) & 0xffff;
1076 hwq, qrwptr, hwq->hwq_qrwptr_ioh, hwq->hwq_wptr, hwq->hwq_rptr,