Searched refs:NUM_TX_DESC (Results 1 - 9 of 9) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpci-skeleton.c157 #define NUM_TX_DESC 4 macro
164 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
468 struct ring_info tx_info[NUM_TX_DESC];
469 unsigned char *tx_buf[NUM_TX_DESC]; /* Tx bounce buffers */
1175 for (i = 0; i < NUM_TX_DESC; i++)
1210 for (i = 0; i < NUM_TX_DESC; i++) {
1270 for (i = 0; i < NUM_TX_DESC; i++) {
1312 for (i = 0; i < NUM_TX_DESC; i++)
1315 i == atomic_read (&tp->dirty_tx) % NUM_TX_DESC ?
1340 entry = atomic_read (&tp->cur_tx) % NUM_TX_DESC;
[all...]
H A Dsis900.h322 #define NUM_TX_DESC 16 /* Number of Tx descriptor registers. */ macro
324 #define TX_TOTAL_SIZE NUM_TX_DESC*sizeof(BufferDesc)
H A Dsis190.c71 #define NUM_TX_DESC 64 /* [8..1024] */ macro
73 #define TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
296 struct sk_buff *Tx_skbuff[NUM_TX_DESC];
685 queue_stopped = (pending == NUM_TX_DESC);
688 unsigned int entry = dirty_tx % NUM_TX_DESC;
801 memset(tp->Tx_skbuff, 0x0, NUM_TX_DESC * sizeof(struct sk_buff *));
1083 for (i = 0; i < NUM_TX_DESC; i++) {
1168 entry = tp->cur_tx % NUM_TX_DESC;
1187 if (entry == (NUM_TX_DESC - 1))
1203 if ((tp->cur_tx - NUM_TX_DESC)
[all...]
H A Dr8169.c99 (tp->dirty_tx + NUM_TX_DESC - tp->cur_tx - 1)
136 #define NUM_TX_DESC 64 /* Number of Tx descriptor registers */ macro
139 #define R8169_TX_RING_BYTES (NUM_TX_DESC * sizeof(struct TxDesc))
444 struct ring_info tx_skb[NUM_TX_DESC]; /* Tx data buffers */
2075 memset(tp->tx_skb, 0x0, NUM_TX_DESC * sizeof(struct ring_info));
2106 for (i = tp->dirty_tx; i < tp->dirty_tx + NUM_TX_DESC; i++) {
2107 unsigned int entry = i % NUM_TX_DESC;
2242 entry = (entry + 1) % NUM_TX_DESC;
2250 status = opts1 | len | (RingEnd * !((entry + 1) % NUM_TX_DESC));
2289 unsigned int frags, entry = tp->cur_tx % NUM_TX_DESC;
[all...]
H A D8139too.c186 #define NUM_TX_DESC 4 macro
193 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
582 unsigned char *tx_buf[NUM_TX_DESC]; /* Tx bounce buffers */
1414 for (i = 0; i < NUM_TX_DESC; i++)
1444 for (i = 0; i < NUM_TX_DESC; i++)
1656 for (i = 0; i < NUM_TX_DESC; i++)
1659 i == tp->dirty_tx % NUM_TX_DESC ?
1706 entry = tp->cur_tx % NUM_TX_DESC;
1729 if ((tp->cur_tx - NUM_TX_DESC) == tp->dirty_tx)
1753 int entry = dirty_tx % NUM_TX_DESC;
[all...]
H A Dsc92031.c64 #define NUM_TX_DESC 4 macro
71 #define TX_BUF_TOT_LEN (TX_BUF_SIZE * NUM_TX_DESC)
670 entry = priv->tx_tail % NUM_TX_DESC;
973 BUG_ON(priv->tx_head - priv->tx_tail >= NUM_TX_DESC);
975 entry = priv->tx_head++ % NUM_TX_DESC;
1002 if (priv->tx_head - priv->tx_tail >= NUM_TX_DESC)
H A Dsis900.c131 struct sk_buff *tx_skbuff[NUM_TX_DESC];
1056 for (i = 0; i < NUM_TX_DESC; i++) {
1060 ((i+1)%NUM_TX_DESC)*sizeof(BufferDesc);
1456 for (i = 0; i < NUM_TX_DESC; i++) {
1514 entry = sis_priv->cur_tx % NUM_TX_DESC;
1534 } else if (count_dirty_tx < NUM_TX_DESC) {
1787 entry = sis_priv->dirty_tx % NUM_TX_DESC;
1830 sis_priv->cur_tx - sis_priv->dirty_tx < NUM_TX_DESC - 4) {
1877 for (i = 0; i < NUM_TX_DESC; i++) {
H A Ddepca.c296 ** total_memory = NUM_RX_DESC*(8+RX_BUFF_SZ) + NUM_TX_DESC*(8+TX_BUFF_SZ)
299 #define NUM_TX_DESC 8 /* Number of TX descriptors */ macro
475 void __iomem *tx_buff[NUM_TX_DESC]; /* CPU virt address of sh'd memory buffs */
661 if ((mem_len = (NUM_RX_DESC * (sizeof(struct depca_rx_desc) + RX_BUFF_SZ) + NUM_TX_DESC * (sizeof(struct depca_tx_desc) + TX_BUFF_SZ) + sizeof(struct depca_init)))
709 offset += (sizeof(struct depca_tx_desc) * NUM_TX_DESC);
715 lp->txRingMask = NUM_TX_DESC - 1;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tulip/
H A Dde4x5.c754 #define NUM_TX_DESC 32 /* Number of TX descriptors */ macro
792 struct sk_buff *tx_skb[NUM_TX_DESC]; /* TX skb for freeing when sent */
1162 lp->dma_size = (NUM_RX_DESC + NUM_TX_DESC) * sizeof(struct de4x5_desc);
1193 dma_rx_bufs = lp->dma_rings + (NUM_RX_DESC + NUM_TX_DESC)
1197 + NUM_TX_DESC) + DE4X5_ALIGN) & ~DE4X5_ALIGN);
1213 lp->txRingSize = NUM_TX_DESC;

Completed in 178 milliseconds