Home
last modified time | relevance | path

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

/external/grub/netboot/
Depic100.c14 #define TX_RING_SIZE 2 /* use at least 2 buffers for TX */ macro
84 static struct epic_tx_desc tx_ring[TX_RING_SIZE];
87 #define tx_packet ((char *)0x10000 - PKT_BUF_SZ * RX_RING_SIZE - PKT_BUF_SZ * TX_RING_SIZE)
90 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
276 for (i = 0; i < TX_RING_SIZE; i++) { in epic100_init_ring()
303 entry = cur_tx % TX_RING_SIZE; in epic100_transmit()
Dvia-rhine.c412 #define TX_RING_SIZE 2 macro
633 char *tx_buffs[TX_RING_SIZE];
643 struct sk_buff *tx_skbuff[TX_RING_SIZE];
701 for (i = 0; i < TX_RING_SIZE; i++) in rhine_init_ring()
1008 #define desc1 (buf2 - (TX_RING_SIZE * sizeof (struct rhine_tx_desc) + 32)) in rhine_reset()
1009 #define desc2 (desc1 - (TX_RING_SIZE * sizeof (struct rhine_tx_desc) + 32)) in rhine_reset()
1013 static char desc1[TX_RING_SIZE * sizeof (struct rhine_tx_desc) + 32]; in rhine_reset()
1014 static char desc2[TX_RING_SIZE * sizeof (struct rhine_tx_desc) + 32]; in rhine_reset()
1055 for (i = 0; i < TX_RING_SIZE; i++) in rhine_reset()
1144 entry = tp->cur_tx % TX_RING_SIZE; in rhine_transmit()
Dfa311.c46 #define TX_RING_SIZE 1 macro
109 volatile struct netdev_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned (4)));
120 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE] __attribute__ ((aligned (4)));
299 if (dev->cur_tx >= TX_RING_SIZE) in fa311_transmit()
411 for (i = 0; i < TX_RING_SIZE; i++) { in init_ring()
417 for (i = 0; i < TX_RING_SIZE; i++) in init_ring()
Dw89c840.c111 #define TX_RING_SIZE 2 macro
234 struct w840_tx_desc tx_ring[TX_RING_SIZE];
266 #define tx_packet ((char *)0x10000 - PKT_BUF_SZ * RX_RING_SIZE - PKT_BUF_SZ * TX_RING_SIZE)
269 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
508 entry = w840private.cur_tx % TX_RING_SIZE; in w89c840_transmit()
525 if (entry >= TX_RING_SIZE-1) /* Wrap ring */ in w89c840_transmit()
930 for (i = 0; i < TX_RING_SIZE; i++) { in init_ring()
Dtulip.c385 #define TX_RING_SIZE 2 macro
386 static struct tulip_tx_desc tx_ring[TX_RING_SIZE] __attribute__ ((aligned(4)));