Home
last modified time | relevance | path

Searched refs:XGENE_ENET_NUM_DESC (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/apm/xgene-v2/
H A Dmain.c68 const u8 slots = XGENE_ENET_NUM_DESC - 1; in xge_refill_buffers()
222 tx_ring->tail = (tail + 1) & (XGENE_ENET_NUM_DESC - 1); in xge_start_xmit()
276 head = (head + 1) & (XGENE_ENET_NUM_DESC - 1); in xge_txc_poll()
342 head = (head + 1) & (XGENE_ENET_NUM_DESC - 1); in xge_rx_poll()
361 size = XGENE_ENET_DESC_SIZE * XGENE_ENET_NUM_DESC; in xge_delete_desc_ring()
378 for (i = 0; i < XGENE_ENET_NUM_DESC; i++) { in xge_free_buffers()
416 size = XGENE_ENET_DESC_SIZE * XGENE_ENET_NUM_DESC; in xge_create_desc_ring()
422 ring->pkt_info = kcalloc(XGENE_ENET_NUM_DESC, sizeof(*ring->pkt_info), in xge_create_desc_ring()
459 ret = xge_refill_buffers(ndev, XGENE_ENET_NUM_DESC); in xge_create_desc_rings()
564 for (i = 0; i < XGENE_ENET_NUM_DESC; i++) { in xge_free_pending_skb()
H A Dring.c20 for (i = 0; i < XGENE_ENET_NUM_DESC; i++) { in xge_setup_desc()
23 offset = (i + 1) & (XGENE_ENET_NUM_DESC - 1); in xge_setup_desc()
H A Dring.h14 #define XGENE_ENET_NUM_DESC 256 macro