Searched refs:tx_free_count (Results 1 – 2 of 2) sorted by relevance
742 atomic_set(&ring->tx_free_count, mtk_pdma_empty_txd(ring)); in mtk_pdma_tx_map()931 atomic_sub(n_desc, &ring->tx_free_count); in mtk_qdma_tx_map()986 if (unlikely(atomic_read(&ring->tx_free_count) <= tx_num)) { in mtk_start_xmit()1014 if (unlikely(atomic_read(&ring->tx_free_count) <= ring->tx_thresh)) { in mtk_start_xmit()1017 if (unlikely(atomic_read(&ring->tx_free_count) > in mtk_start_xmit()1176 atomic_set(&ring->tx_free_count, mtk_pdma_empty_txd(ring)); in mtk_pdma_tx_poll()1233 atomic_inc(&ring->tx_free_count); in mtk_qdma_tx_poll()1272 if (atomic_read(&ring->tx_free_count) > ring->tx_thresh) in mtk_poll_tx()1367 atomic_set(&ring->tx_free_count, mtk_pdma_empty_txd(ring)); in mtk_pdma_tx_alloc()1414 atomic_set(&ring->tx_free_count, ring->tx_ring_size - 2); in mtk_qdma_tx_alloc_tx()[all …]
595 atomic_t tx_free_count; member