Lines Matching refs:txfifosz
2335 int txfifosz = priv->plat->tx_fifo_size; in stmmac_dma_operation_mode() local
2343 if (txfifosz == 0) in stmmac_dma_operation_mode()
2344 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_dma_operation_mode()
2348 txfifosz /= tx_channels_count; in stmmac_dma_operation_mode()
2395 txfifosz, qmode); in stmmac_dma_operation_mode()
2732 int txfifosz = priv->plat->tx_fifo_size; in stmmac_set_dma_operation_mode() local
2736 if (txfifosz == 0) in stmmac_set_dma_operation_mode()
2737 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_set_dma_operation_mode()
2741 txfifosz /= tx_channels_count; in stmmac_set_dma_operation_mode()
2744 stmmac_dma_tx_mode(priv, priv->ioaddr, txmode, chan, txfifosz, txqmode); in stmmac_set_dma_operation_mode()
5560 int txfifosz = priv->plat->tx_fifo_size; in stmmac_change_mtu() local
5565 if (txfifosz == 0) in stmmac_change_mtu()
5566 txfifosz = priv->dma_cap.tx_fifo_size; in stmmac_change_mtu()
5568 txfifosz /= priv->plat->tx_queues_to_use; in stmmac_change_mtu()
5578 if ((txfifosz < new_mtu) || (new_mtu > BUF_SIZE_16KiB)) in stmmac_change_mtu()