Searched refs:tx_thresh (Results 1 – 3 of 3) sorted by relevance
481 u8 tx_thresh, rx_thresh; member748 if (rp->tx_thresh < 0xe0) { in rhine_kick_tx_threshold()751 rp->tx_thresh += 0x20; in rhine_kick_tx_threshold()752 BYTE_REG_BITS_SET(rp->tx_thresh, 0x80, ioaddr + TxConfig); in rhine_kick_tx_threshold()768 "Tx threshold now %02x\n", rp->tx_thresh); in rhine_tx_err()778 "Tx threshold now %02x\n", rp->tx_thresh); in rhine_tx_err()1578 rp->tx_thresh = 0x20; in init_registers()2434 iowrite8(rp->tx_thresh | 0x02, ioaddr + TxConfig); in rhine_close()
1014 if (unlikely(atomic_read(&ring->tx_free_count) <= ring->tx_thresh)) { in mtk_start_xmit()1018 ring->tx_thresh)) in mtk_start_xmit()1272 if (atomic_read(&ring->tx_free_count) > ring->tx_thresh) in mtk_poll_tx()1347 ring->tx_thresh = max((unsigned long)ring->tx_ring_size >> 2, in mtk_pdma_tx_alloc()1417 ring->tx_thresh = max((unsigned long)ring->tx_ring_size >> 2, in mtk_qdma_tx_alloc_tx()
583 u16 tx_thresh; member