Searched refs:TX_RING_ENTRIES (Results 1 – 4 of 4) sorted by relevance
20 #define TX_RING_ENTRIES 64 /* 64-512?*/ macro24 #define TX_RING_BUFFER_SIZE (TX_RING_ENTRIES*sizeof(tx_packet))
73 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()
551 #define TX_RING_ENTRIES 32 macro553 #define TX_RING_ENTRIES 16 macro555 #define TX_TOTAL_SIZE (TX_RING_ENTRIES * sizeof(struct tx_desc))809 struct sk_buff *tx_skbuff[TX_RING_ENTRIES];
613 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(®s->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()