Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/sgi/
H A Dmeth.h4 #define TX_RING_ENTRIES 64 /* 64-512?*/ macro
8 #define TX_RING_BUFFER_SIZE (TX_RING_ENTRIES*sizeof(tx_packet))
H A Dmeth.c78 struct sk_buff *tx_skbs[TX_RING_ENTRIES];
79 dma_addr_t tx_skb_dmas[TX_RING_ENTRIES];
249 for (i = 0; i < TX_RING_ENTRIES; i++) { in meth_free_tx_ring()
473 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full()
526 priv->tx_read = (priv->tx_read+1)&(TX_RING_ENTRIES-1); in meth_tx_cleanup()
691 priv->tx_write = (priv->tx_write + 1) & (TX_RING_ENTRIES - 1); in meth_add_to_tx_ring()
H A Dioc3-eth.c65 #define TX_RING_ENTRIES 128 macro
66 #define TX_RING_MASK (TX_RING_ENTRIES - 1)
67 #define TX_RING_SIZE (TX_RING_ENTRIES * sizeof(struct ioc3_etxd))
90 struct sk_buff *tx_skbs[TX_RING_ENTRIES];
479 if (netif_queue_stopped(dev) && ip->txqlen < TX_RING_ENTRIES) in ioc3_tx()
635 for (i = 0; i < TX_RING_ENTRIES; i++) { in ioc3_clean_tx_ring()
1094 if (ip->txqlen >= (TX_RING_ENTRIES - 1)) in ioc3_start_xmit()
/openbmc/linux/drivers/net/hippi/
H A 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];
H A Drrunner.c602 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_init1()
608 rrpriv->info->tx_ctrl.entries = TX_RING_ENTRIES; in rr_init1()
1088 txcon = (txcon + 1) % TX_RING_ENTRIES; in rr_interrupt()
1094 (((rrpriv->info->tx_ctrl.pi + 1) % TX_RING_ENTRIES) in rr_interrupt()
1114 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_raz_tx()
1286 index = (((readl(&regs->EvtPrd) >> 8) & 0xff) - 1) % TX_RING_ENTRIES; in rr_dump()
1320 for (i = 0; i < TX_RING_ENTRIES; i++) in rr_dump()
1449 txctrl->pi = (index + 1) % TX_RING_ENTRIES; in rr_start_xmit()