Lines Matching full:plat
306 if (priv->plat->has_gmac || priv->plat->has_gmac4) in stmmac_ethtool_getdrvinfo()
308 else if (priv->plat->has_xgmac) in stmmac_ethtool_getdrvinfo()
314 if (priv->plat->pdev) { in stmmac_ethtool_getdrvinfo()
315 strscpy(info->bus_info, pci_name(priv->plat->pdev), in stmmac_ethtool_getdrvinfo()
325 if (!(priv->plat->flags & STMMAC_FLAG_HAS_INTEGRATED_PCS) && in stmmac_ethtool_get_link_ksettings()
412 if (!(priv->plat->flags & STMMAC_FLAG_HAS_INTEGRATED_PCS) && in stmmac_ethtool_set_link_ksettings()
446 if (priv->plat->has_xgmac) in stmmac_ethtool_get_regs_len()
448 else if (priv->plat->has_gmac4) in stmmac_ethtool_get_regs_len()
463 if (priv->plat->has_gmac4) { in stmmac_ethtool_gregs()
468 } else if (!priv->plat->has_xgmac) { in stmmac_ethtool_gregs()
590 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_per_qstats()
591 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_per_qstats()
626 u32 rx_queues_count = priv->plat->rx_queues_to_use; in stmmac_get_ethtool_stats()
627 u32 tx_queues_count = priv->plat->tx_queues_to_use; in stmmac_get_ethtool_stats()
731 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_sset_count()
732 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_sset_count()
764 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_qstats_string()
765 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_qstats_string()
833 if (!priv->plat->pmt) in stmmac_get_wol()
854 if (!priv->plat->pmt) { in stmmac_set_wol()
917 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()
920 clk = priv->plat->clk_ref_rate; in stmmac_usec2riwt()
930 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
933 clk = priv->plat->clk_ref_rate; in stmmac_riwt2usec()
950 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_get_coalesce()
951 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
1004 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_set_coalesce()
1005 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_set_coalesce()
1086 rxnfc->data = priv->plat->rx_queues_to_use; in stmmac_get_rxnfc()
1147 priv->plat->rx_queues_to_use); in stmmac_set_rxfh()
1155 chan->rx_count = priv->plat->rx_queues_to_use; in stmmac_get_channels()
1156 chan->tx_count = priv->plat->tx_queues_to_use; in stmmac_get_channels()