Lines Matching full:plat
58 xmac = priv->plat->has_gmac4 || priv->plat->has_xgmac; in stmmac_adjust_time()
75 priv->plat->clk_ptp_rate); in stmmac_adjust_time()
105 priv->plat->clk_ptp_rate); in stmmac_adjust_time()
210 priv->plat->flags |= STMMAC_FLAG_EXT_SNAPSHOT_EN; in stmmac_enable()
216 priv->plat->flags &= ~STMMAC_FLAG_EXT_SNAPSHOT_EN; in stmmac_enable()
250 if (priv->plat->crosststamp) in stmmac_get_syncdevicetime()
251 return priv->plat->crosststamp(device, system, ctx); in stmmac_get_syncdevicetime()
319 priv->plat->cdc_error_adj = 0; in stmmac_ptp_register()
320 if (priv->plat->has_gmac4 && priv->plat->clk_ptp_rate) in stmmac_ptp_register()
321 priv->plat->cdc_error_adj = (2 * NSEC_PER_SEC) / priv->plat->clk_ptp_rate; in stmmac_ptp_register()
332 if (priv->plat->ptp_max_adj) in stmmac_ptp_register()
333 priv->ptp_clock_ops.max_adj = priv->plat->ptp_max_adj; in stmmac_ptp_register()