Searched refs:tx_queue_cnt (Results 1 – 2 of 2) sorted by relevance
230 unsigned long tx_queue_cnt; /* wait to send packet count */ member558 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 …]
1368 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_clear_descriptors() local1376 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_clear_descriptors()1758 u32 tx_queue_cnt; in init_dma_tx_desc_rings() local1761 tx_queue_cnt = priv->plat->tx_queues_to_use; in init_dma_tx_desc_rings()1763 for (queue = 0; queue < tx_queue_cnt; queue++) in init_dma_tx_desc_rings()1824 u32 tx_queue_cnt = priv->plat->tx_queues_to_use; in stmmac_free_tx_skbufs() local1827 for (queue = 0; queue < tx_queue_cnt; queue++) in stmmac_free_tx_skbufs()