Home
last modified time | relevance | path

Searched refs:NUM_RX_DESC (Results 1 – 7 of 7) sorted by relevance

/external/u-boot/drivers/net/
Drtl8169.c87 #define NUM_RX_DESC CONFIG_SYS_RX_ETH_BUFFER macro
89 #define NUM_RX_DESC 4 /* Number of Rx descriptor registers */ macro
323 DEFINE_ALIGN_BUFFER(u8, rxb, NUM_RX_DESC * RX_BUF_SIZE, RTL8169_ALIGN);
335 unsigned char *RxBufferRing[NUM_RX_DESC]; /* Index of Rx Buffer array */
543 if (cur_rx == NUM_RX_DESC - 1) in rtl_recv_common()
569 cur_rx = (cur_rx + 1) % NUM_RX_DESC; in rtl_recv_common()
819 memset(tpc->RxDescArray, 0x0, NUM_RX_DESC * sizeof(struct RxDesc)); in rtl8169_init_ring()
825 for (i = 0; i < NUM_RX_DESC; i++) { in rtl8169_init_ring()
826 if (i == (NUM_RX_DESC - 1)) in rtl8169_init_ring()
926 for (i = 0; i < NUM_RX_DESC; i++) { in rtl_halt_common()
[all …]
Deepro100.c191 #define NUM_RX_DESC PKTBUFSRX macro
198 static struct RxFD rx_ring[NUM_RX_DESC]; /* RX descriptor ring */
692 rx_prev = (rx_next + NUM_RX_DESC - 1) % NUM_RX_DESC; in eepro100_recv()
697 rx_next = (rx_next + 1) % NUM_RX_DESC; in eepro100_recv()
876 for (i = 0; i < NUM_RX_DESC; i++) { in init_rx_ring()
879 (i == NUM_RX_DESC - 1) ? cpu_to_le16 (RFD_CONTROL_S) : 0; in init_rx_ring()
882 ((u32) & rx_ring[(i + 1) % NUM_RX_DESC])); in init_rx_ring()
Dnatsemi.c69 #define NUM_RX_DESC 4 /* Number of Rx descriptor registers. */ macro
220 static BufferDesc rxd[NUM_RX_DESC] __attribute__ ((aligned(4)));
223 static unsigned char rxb[NUM_RX_DESC * RX_BUF_SIZE]
687 for (i = 0; i < NUM_RX_DESC; i++) { in natsemi_init_rxd()
690 NUM_RX_DESC) ? (u32) & rxd[i + in natsemi_init_rxd()
853 if (++cur_rx == NUM_RX_DESC) in natsemi_poll()
Dns8382x.c67 #define NUM_RX_DESC 4 /* Number of Rx descriptor registers. */ macro
245 static BufferDesc rxd[NUM_RX_DESC] __attribute__ ((aligned(8)));
247 static unsigned char rxb[NUM_RX_DESC * RX_BUF_SIZE]
646 for (i = 0; i < NUM_RX_DESC; i++) { in ns8382x_init_rxd()
649 NUM_RX_DESC) ? (u32) & rxd[i + in ns8382x_init_rxd()
826 if (++cur_rx == NUM_RX_DESC) in ns8382x_poll()
Ddc2114x.c115 #define NUM_RX_DESC PKTBUFSRX macro
135 static struct de4x5_desc rx_ring[NUM_RX_DESC] __attribute__ ((aligned(32))); /* RX descriptor ring …
331 for (i = 0; i < NUM_RX_DESC; i++) { in dc21x4x_init()
338 phys_to_bus((u32)&rx_ring[(i + 1) % NUM_RX_DESC])); in dc21x4x_init()
356 rxRingSize = NUM_RX_DESC; in dc21x4x_init()
Dsh_eth.c153 port_info->rx_desc_base + NUM_RX_DESC) in sh_eth_recv_finish()
246 u32 alloc_desc_size = NUM_RX_DESC * sizeof(struct rx_desc_s); in sh_eth_rx_desc_init()
276 memalign(RX_BUF_ALIGNE_SIZE, NUM_RX_DESC * MAX_BUF_SIZE); in sh_eth_rx_desc_init()
288 i < NUM_RX_DESC; cur_rx_desc++, rx_buf += MAX_BUF_SIZE, i++) { in sh_eth_rx_desc_init()
Dsh_eth.h65 #define NUM_RX_DESC 8 macro