Home
last modified time | relevance | path

Searched refs:tx_queue_cnt (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/dec/tulip/
H A Ddmfe.c230 unsigned long tx_queue_cnt; /* wait to send packet count */ member
558 db->tx_queue_cnt = 0; in dmfe_open()
689 if (db->tx_queue_cnt >= TX_FREE_DESC_CNT) { in dmfe_start_xmit()
691 pr_err("No Tx resource %ld\n", db->tx_queue_cnt); in dmfe_start_xmit()
707 if ( (!db->tx_queue_cnt) && (db->tx_packet_cnt < TX_MAX_SEND_CNT) ) { in dmfe_start_xmit()
713 db->tx_queue_cnt++; /* queue TX packet */ in dmfe_start_xmit()
718 if ( db->tx_queue_cnt < TX_FREE_DESC_CNT ) in dmfe_start_xmit()
912 if ( (db->tx_packet_cnt < TX_MAX_SEND_CNT) && db->tx_queue_cnt ) { in dmfe_free_tx_pkt()
915 db->tx_queue_cnt--; in dmfe_free_tx_pkt()
921 if ( db->tx_queue_cnt < TX_WAKE_DESC_CNT ) in dmfe_free_tx_pkt()
[all …]
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c1424 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_clear_descriptors() local
1432 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_clear_descriptors()
1837 u32 tx_queue_cnt; in init_dma_tx_desc_rings() local
1840 tx_queue_cnt = priv->plat->tx_queues_to_use; in init_dma_tx_desc_rings()
1842 for (queue = 0; queue < tx_queue_cnt; queue++) in init_dma_tx_desc_rings()
1909 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_free_tx_skbufs() local
1912 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_free_tx_skbufs()