Home
last modified time | relevance | path

Searched refs:TX_RING_ENTRIES (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/sgi/
Dmeth.h20 #define TX_RING_ENTRIES 64 /* 64-512?*/ macro
24 #define TX_RING_BUFFER_SIZE (TX_RING_ENTRIES*sizeof(tx_packet))
Dmeth.c80 struct sk_buff *tx_skbs[TX_RING_ENTRIES];
81 dma_addr_t tx_skb_dmas[TX_RING_ENTRIES];
251 for (i = 0; i < TX_RING_ENTRIES; i++) { in meth_free_tx_ring()
474 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full()
527 priv->tx_read = (priv->tx_read+1)&(TX_RING_ENTRIES-1); in meth_tx_cleanup()
692 priv->tx_write = (priv->tx_write + 1) & (TX_RING_ENTRIES - 1); in meth_add_to_tx_ring()
/Linux-v4.19/drivers/net/hippi/
Drrunner.h552 #define TX_RING_ENTRIES 32 macro
554 #define TX_RING_ENTRIES 16 macro
556 #define TX_TOTAL_SIZE (TX_RING_ENTRIES * sizeof(struct tx_desc))
810 struct sk_buff *tx_skbuff[TX_RING_ENTRIES];
Drrunner.c600 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_init1()
606 rrpriv->info->tx_ctrl.entries = TX_RING_ENTRIES; in rr_init1()
1085 txcon = (txcon + 1) % TX_RING_ENTRIES; in rr_interrupt()
1091 (((rrpriv->info->tx_ctrl.pi + 1) % TX_RING_ENTRIES) in rr_interrupt()
1111 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_raz_tx()
1282 index = (((readl(&regs->EvtPrd) >> 8) & 0xff) - 1) % TX_RING_ENTRIES; in rr_dump()
1316 for (i = 0; i < TX_RING_ENTRIES; i++) in rr_dump()
1443 txctrl->pi = (index + 1) % TX_RING_ENTRIES; in rr_start_xmit()