Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c18 ring_cfg[0] |= SET_VAL(X2_INTLINE, ring->id & RING_BUFNUM_MASK); in xgene_enet_ring_init()
143 addr = CSR_VMID0_INTR_MBOX + (4 * (ring->id & RING_BUFNUM_MASK)); in xgene_enet_setup_ring()
163 data = SET_VAL(X2_INTLINE, ring->id & RING_BUFNUM_MASK) | in xgene_enet_wr_cmd()
Dxgene_enet_hw.h72 #define RING_BUFNUM_MASK GENMASK(5, 0) macro
398 return id & RING_BUFNUM_MASK; in xgene_enet_ring_bufnum()
403 return ((id & RING_BUFNUM_MASK) >= 0x20) ? true : false; in xgene_enet_is_bufpool()