• Home
  • Raw
  • Download

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 strlcpy(info->bus_info, pci_name(priv->plat->pdev), in stmmac_ethtool_getdrvinfo()
444 if (priv->plat->has_xgmac) in stmmac_ethtool_get_regs_len()
446 else if (priv->plat->has_gmac4) in stmmac_ethtool_get_regs_len()
461 if (priv->plat->has_gmac4) { in stmmac_ethtool_gregs()
466 } else if (!priv->plat->has_xgmac) { in stmmac_ethtool_gregs()
542 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_per_qstats()
543 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_per_qstats()
569 u32 rx_queues_count = priv->plat->rx_queues_to_use; in stmmac_get_ethtool_stats()
570 u32 tx_queues_count = priv->plat->tx_queues_to_use; in stmmac_get_ethtool_stats()
621 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_sset_count()
622 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_sset_count()
654 u32 tx_cnt = priv->plat->tx_queues_to_use; in stmmac_get_qstats_string()
655 u32 rx_cnt = priv->plat->rx_queues_to_use; in stmmac_get_qstats_string()
720 if (!priv->plat->pmt) in stmmac_get_wol()
741 if (!priv->plat->pmt) { in stmmac_set_wol()
827 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_usec2riwt()
830 clk = priv->plat->clk_ref_rate; in stmmac_usec2riwt()
840 unsigned long clk = clk_get_rate(priv->plat->stmmac_clk); in stmmac_riwt2usec()
843 clk = priv->plat->clk_ref_rate; in stmmac_riwt2usec()
860 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_get_coalesce()
861 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_get_coalesce()
914 rx_cnt = priv->plat->rx_queues_to_use; in __stmmac_set_coalesce()
915 tx_cnt = priv->plat->tx_queues_to_use; in __stmmac_set_coalesce()
996 rxnfc->data = priv->plat->rx_queues_to_use; in stmmac_get_rxnfc()
1056 priv->plat->rx_queues_to_use); in stmmac_set_rxfh()
1064 chan->rx_count = priv->plat->rx_queues_to_use; in stmmac_get_channels()
1065 chan->tx_count = priv->plat->tx_queues_to_use; in stmmac_get_channels()