Lines Matching refs:txfifosz
2267 int txfifosz = priv->plat->tx_fifo_size; in stmmac_dma_operation_mode() local
2275 if (txfifosz == 0) in stmmac_dma_operation_mode()
2276 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_dma_operation_mode()
2280 txfifosz /= tx_channels_count; in stmmac_dma_operation_mode()
2327 txfifosz, qmode); in stmmac_dma_operation_mode()
2667 int txfifosz = priv->plat->tx_fifo_size; in stmmac_set_dma_operation_mode() local
2671 if (txfifosz == 0) in stmmac_set_dma_operation_mode()
2672 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_set_dma_operation_mode()
2676 txfifosz /= tx_channels_count; in stmmac_set_dma_operation_mode()
2679 stmmac_dma_tx_mode(priv, priv->ioaddr, txmode, chan, txfifosz, txqmode); in stmmac_set_dma_operation_mode()
5443 int txfifosz = priv->plat->tx_fifo_size; in stmmac_change_mtu() local
5446 if (txfifosz == 0) in stmmac_change_mtu()
5447 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_change_mtu()
5449 txfifosz /= priv->plat->tx_queues_to_use; in stmmac_change_mtu()
5464 if ((txfifosz < new_mtu) || (new_mtu > BUF_SIZE_16KiB)) in stmmac_change_mtu()