Home
last modified time | relevance | path

Searched refs:NUM_TX_DESC (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/drivers/net/
H A Ddc2114x.c119 #define NUM_TX_DESC 1 /* Number of TX descriptors */ macro
121 #define NUM_TX_DESC 4 macro
138 static struct de4x5_desc tx_ring[NUM_TX_DESC] __attribute__ ((aligned(32))); /* TX descriptor ring …
346 for (i=0; i < NUM_TX_DESC; i++) { in dc21x4x_init()
352 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init()
359 txRingSize = NUM_TX_DESC; in dc21x4x_init()
421 tx_new = (tx_new+1) % NUM_TX_DESC; in dc21x4x_send()
519 tx_new = (tx_new+1) % NUM_TX_DESC; in send_setup_frame()
H A Drtl8169.c86 #define NUM_TX_DESC 1 /* Number of Tx descriptor registers */ macro
318 DEFINE_ALIGN_BUFFER(u8, txb, NUM_TX_DESC * RX_BUF_SIZE, RTL8169_ALIGN);
337 unsigned char *Tx_skbuff[NUM_TX_DESC];
614 int entry = tpc->cur_tx % NUM_TX_DESC; in rtl_send_common()
643 if (entry != (NUM_TX_DESC - 1)) { in rtl_send_common()
819 memset(tpc->TxDescArray, 0x0, NUM_TX_DESC * sizeof(struct TxDesc)); in rtl8169_init_ring()
822 for (i = 0; i < NUM_TX_DESC; i++) { in rtl8169_init_ring()
1093 tpc->TxDescArray = rtl_alloc_descs(NUM_TX_DESC); in rtl_init()
H A Deepro100.c193 #define NUM_TX_DESC 1 /* Number of TX descriptors */ macro
200 static struct TxFD tx_ring[NUM_TX_DESC]; /* TX descriptor ring */
522 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
558 tx_next = ((tx_next + 1) % NUM_TX_DESC); in eepro100_init()
609 tx_next = (tx_next + 1) % NUM_TX_DESC; in eepro100_send()
898 for (i = 0; i < NUM_TX_DESC; i++) { in purge_tx_ring()
H A Drtl8139.c93 #define NUM_TX_DESC 4 /* Number of Tx descriptor registers. */ macro
447 cur_tx = (cur_tx + 1) % NUM_TX_DESC; in rtl_transmit()
H A Dsh_eth.c107 if (port_info->tx_desc_cur >= port_info->tx_desc_base + NUM_TX_DESC) in sh_eth_send()
190 u32 alloc_desc_size = NUM_TX_DESC * sizeof(struct tx_desc_s); in sh_eth_tx_desc_init()
214 for (cur_tx_desc = port_info->tx_desc_base, i = 0; i < NUM_TX_DESC; in sh_eth_tx_desc_init()
H A Dsh_eth.h49 #define NUM_TX_DESC 8 macro