Searched refs:NUM_TX_BUFF (Results 1 – 3 of 3) sorted by relevance
44 #define NUM_TX_BUFF CONFIG_IBM_EMAC_TXB macro48 #if NUM_TX_BUFF > 256 || NUM_RX_BUFF > 256252 struct sk_buff *tx_skb[NUM_TX_BUFF];
102 return channel * NUM_TX_BUFF; in mal_tx_bd_offset()108 return mal->num_tx_chans * NUM_TX_BUFF + channel * NUM_RX_BUFF; in mal_rx_bd_offset()632 (NUM_TX_BUFF * mal->num_tx_chans + in mal_probe()737 (NUM_TX_BUFF * mal->num_tx_chans + in mal_remove()
80 #define EMAC_TX_WAKEUP_THRESH (NUM_TX_BUFF / 4)1144 for (i = 0; i < NUM_TX_BUFF; ++i) { in emac_clean_tx_ring()1442 if (unlikely(++dev->tx_cnt == NUM_TX_BUFF)) { in emac_xmit_finish()1465 if (dev->tx_slot == NUM_TX_BUFF) { in emac_start_xmit()1491 slot = (slot + 1) % NUM_TX_BUFF; in emac_xmit_split()1495 if (slot == NUM_TX_BUFF - 1) in emac_xmit_split()1533 if (unlikely(dev->tx_cnt + nr_frags + mal_tx_chunks(len) > NUM_TX_BUFF)) in emac_start_xmit_sg()1555 if (unlikely(dev->tx_cnt + mal_tx_chunks(len) >= NUM_TX_BUFF)) in emac_start_xmit_sg()1571 if (dev->tx_slot == NUM_TX_BUFF - 1) in emac_start_xmit_sg()1575 dev->tx_slot = (slot + 1) % NUM_TX_BUFF; in emac_start_xmit_sg()[all …]