Searched refs:RING_BUFNUM_MASK (Results 1 – 2 of 2) sorted by relevance
18 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()
72 #define RING_BUFNUM_MASK GENMASK(5, 0) macro398 return id & RING_BUFNUM_MASK; in xgene_enet_ring_bufnum()403 return ((id & RING_BUFNUM_MASK) >= 0x20) ? true : false; in xgene_enet_is_bufpool()