Lines Matching refs:plat

289 	if (priv->plat->has_gmac || priv->plat->has_gmac4)  in stmmac_ethtool_getdrvinfo()
291 else if (priv->plat->has_xgmac) in stmmac_ethtool_getdrvinfo()
297 if (priv->plat->pdev) { in stmmac_ethtool_getdrvinfo()
298 strscpy(info->bus_info, pci_name(priv->plat->pdev), in stmmac_ethtool_getdrvinfo()
443 if (priv->plat->has_xgmac) in stmmac_ethtool_get_regs_len()
445 else if (priv->plat->has_gmac4) in stmmac_ethtool_get_regs_len()
460 if (priv->plat->has_gmac4) { in stmmac_ethtool_gregs()
465 } else if (!priv->plat->has_xgmac) { in stmmac_ethtool_gregs()
545 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_per_qstats()
546 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_per_qstats()
572 u32 rx_queues_count = priv->plat->rx_queues_to_use; in stmmac_get_ethtool_stats()
573 u32 tx_queues_count = priv->plat->tx_queues_to_use; in stmmac_get_ethtool_stats()
624 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_sset_count()
625 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_sset_count()
657 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_qstats_string()
658 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_qstats_string()
723 if (!priv->plat->pmt) in stmmac_get_wol()
744 if (!priv->plat->pmt) { in stmmac_set_wol()
824 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()
827 clk = priv->plat->clk_ref_rate; in stmmac_usec2riwt()
837 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
840 clk = priv->plat->clk_ref_rate; in stmmac_riwt2usec()
857 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_get_coalesce()
858 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
911 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_set_coalesce()
912 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_set_coalesce()
993 rxnfc->data = priv->plat->rx_queues_to_use; in stmmac_get_rxnfc()
1053 priv->plat->rx_queues_to_use); in stmmac_set_rxfh()
1061 chan->rx_count = priv->plat->rx_queues_to_use; in stmmac_get_channels()
1062 chan->tx_count = priv->plat->tx_queues_to_use; in stmmac_get_channels()