Searched refs:NUM_TX_BUFF (Results 1 – 3 of 3) sorted by relevance
43 #define NUM_TX_BUFF CONFIG_IBM_EMAC_TXB macro47 #if NUM_TX_BUFF > 256 || NUM_RX_BUFF > 256247 struct sk_buff *tx_skb[NUM_TX_BUFF];
104 return channel * NUM_TX_BUFF; in mal_tx_bd_offset()110 return mal->num_tx_chans * NUM_TX_BUFF + channel * NUM_RX_BUFF; in mal_rx_bd_offset()638 (NUM_TX_BUFF * mal->num_tx_chans + in mal_probe()749 (NUM_TX_BUFF * mal->num_tx_chans + in mal_remove()
80 #define EMAC_TX_WAKEUP_THRESH (NUM_TX_BUFF / 4)1134 for (i = 0; i < NUM_TX_BUFF; ++i) { in emac_clean_tx_ring()1420 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { in emac_xmit_finish()1443 if (dev->tx_slot == NUM_TX_BUFF) { in emac_start_xmit()1469 slot = (slot + 1) % NUM_TX_BUFF; in emac_xmit_split()1473 if (slot == NUM_TX_BUFF - 1) in emac_xmit_split()1511 if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF)) in emac_start_xmit_sg()1533 if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF)) in emac_start_xmit_sg()1549 if (dev->tx_slot == NUM_TX_BUFF - 1) in emac_start_xmit_sg()1553 dev->tx_slot = (slot + 1) % NUM_TX_BUFF; in emac_start_xmit_sg()[all …]