Lines Matching defs:tx_size
2276 static inline int bdx_tx_fifo_size_to_packets(int tx_size)
2278 return (FIFO_SIZE * (1 << tx_size)) / BDX_TXF_DESC_SZ;
2308 int tx_size = 0;
2317 for (; tx_size < 4; tx_size++) {
2318 if (bdx_tx_fifo_size_to_packets(tx_size) >= ring->tx_pending)
2321 if (tx_size == 4)
2322 tx_size = 3;
2326 (tx_size == priv->txd_size))
2335 priv->txf_size = priv->txd_size = tx_size;