Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/
Dmeth.h20 #define TX_RING_ENTRIES 64 /* 64-512?*/ macro
24 #define TX_RING_BUFFER_SIZE (TX_RING_ENTRIES*sizeof(tx_packet))
Dmeth.c73 struct sk_buff *tx_skbs[TX_RING_ENTRIES];
74 dma_addr_t tx_skb_dmas[TX_RING_ENTRIES];
241 for (i = 0; i < TX_RING_ENTRIES; i++) { in meth_free_tx_ring()
464 return priv->tx_count >= TX_RING_ENTRIES - 1; in meth_tx_full()
517 priv->tx_read = (priv->tx_read+1)&(TX_RING_ENTRIES-1); in meth_tx_cleanup()
682 priv->tx_write = (priv->tx_write + 1) & (TX_RING_ENTRIES - 1); in meth_add_to_tx_ring()
Drrunner.h551 #define TX_RING_ENTRIES 32 macro
553 #define TX_RING_ENTRIES 16 macro
555 #define TX_TOTAL_SIZE (TX_RING_ENTRIES * sizeof(struct tx_desc))
809 struct sk_buff *tx_skbuff[TX_RING_ENTRIES];
Drrunner.c613 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_init1()
619 rrpriv->info->tx_ctrl.entries = TX_RING_ENTRIES; in rr_init1()
1098 txcon = (txcon + 1) % TX_RING_ENTRIES; in rr_interrupt()
1104 (((rrpriv->info->tx_ctrl.pi + 1) % TX_RING_ENTRIES) in rr_interrupt()
1124 for (i = 0; i < TX_RING_ENTRIES; i++) { in rr_raz_tx()
1297 index = (((readl(&regs->EvtPrd) >> 8) & 0xff) - 1) % TX_RING_ENTRIES; in rr_dump()
1331 for (i = 0; i < TX_RING_ENTRIES; i++) in rr_dump()
1459 txctrl->pi = (index + 1) % TX_RING_ENTRIES; in rr_start_xmit()