Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c97 u32 ring_id_val, ring_id_buf; in xgene_enet_set_ring_id() local
108 ring_id_buf = (ring->num << 9) & GENMASK(18, 9); in xgene_enet_set_ring_id()
109 ring_id_buf |= PREFETCH_BUF_EN; in xgene_enet_set_ring_id()
112 ring_id_buf |= IS_BUFFER_POOL; in xgene_enet_set_ring_id()
115 xgene_enet_ring_wr32(ring, CSR_RING_ID_BUF, ring_id_buf); in xgene_enet_set_ring_id()
Dxgene_enet_hw.c108 u32 ring_id_val, ring_id_buf; in xgene_enet_set_ring_id() local
116 ring_id_buf = (ring->num << 9) & GENMASK(18, 9); in xgene_enet_set_ring_id()
117 ring_id_buf |= PREFETCH_BUF_EN; in xgene_enet_set_ring_id()
119 ring_id_buf |= IS_BUFFER_POOL; in xgene_enet_set_ring_id()
122 xgene_enet_ring_wr32(ring, CSR_RING_ID_BUF, ring_id_buf); in xgene_enet_set_ring_id()