Searched refs:CP_TX_RING_SIZE (Results 1 - 2 of 2) sorted by relevance

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A D8139cp.c118 #define CP_TX_RING_SIZE 64 macro
121 (sizeof(struct cp_desc) * CP_TX_RING_SIZE) + \
123 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1))
127 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
353 struct sk_buff *tx_skb[CP_TX_RING_SIZE];
760 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0;
822 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0;
1082 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE);
1083 cp->tx_ring[CP_TX_RING_SIZE - 1].opts1 = cpu_to_le32(RingEnd);
1119 for (i = 0; i < CP_TX_RING_SIZE;
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A D8139cp.c118 #define CP_TX_RING_SIZE 64 macro
121 (sizeof(struct cp_desc) * CP_TX_RING_SIZE) + \
123 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1))
127 (CP)->tx_tail + (CP_TX_RING_SIZE - 1) - (CP)->tx_head : \
353 struct sk_buff *tx_skb[CP_TX_RING_SIZE];
760 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0;
822 eor = (entry == (CP_TX_RING_SIZE - 1)) ? RingEnd : 0;
1082 memset(cp->tx_ring, 0, sizeof(struct cp_desc) * CP_TX_RING_SIZE);
1083 cp->tx_ring[CP_TX_RING_SIZE - 1].opts1 = cpu_to_le32(RingEnd);
1119 for (i = 0; i < CP_TX_RING_SIZE;
[all...]

Completed in 116 milliseconds