Lines Matching +full:pa +full:- +full:stats
1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * Copyright (C) 2014-2019 aQuantia Corporation
5 * Copyright (C) 2019-2020 Marvell International Ltd.
30 * +----------+----------+----------+-----------
31 * 8bytes|len l3,l4 | pa | pa | pa
32 * +----------+----------+----------+-----------
34 * +----------+----------+----------+-----------
36 * +----------+----------+----------+-----------
44 dma_addr_t pa; member
150 union aq_ring_stats_s stats; member
165 return page_to_virt(rxpage->page) + rxpage->pg_off; in aq_buf_vaddr()
170 return rxpage->daddr + rxpage->pg_off; in aq_buf_daddr()
176 return (++dx >= self->size) ? 0U : dx; in aq_ring_next_dx()
181 return (((self->sw_tail >= self->sw_head)) ? in aq_ring_avail_dx()
182 (self->size - 1) - self->sw_tail + self->sw_head : in aq_ring_avail_dx()
183 self->sw_head - self->sw_tail - 1); in aq_ring_avail_dx()