Home
last modified time | relevance | path

Searched refs:xmac (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c64 bool xmac; in stmmac_adjust_time() local
66 xmac = priv->plat->has_gmac4 || priv->plat->has_xgmac; in stmmac_adjust_time()
78 stmmac_adjust_systime(priv, priv->ptpaddr, sec, nsec, neg_adj, xmac); in stmmac_adjust_time()
Dstmmac_main.c500 bool xmac; in stmmac_hwtstamp_set() local
502 xmac = priv->plat->has_gmac4 || priv->plat->has_xgmac; in stmmac_hwtstamp_set()
676 xmac, &sec_inc); in stmmac_hwtstamp_set()
736 bool xmac = priv->plat->has_gmac4 || priv->plat->has_xgmac; in stmmac_init_ptp() local
743 if (xmac && priv->dma_cap.atime_stamp) in stmmac_init_ptp()
4096 bool xmac; in stmmac_interrupt() local
4098 xmac = priv->plat->has_gmac4 || priv->plat->has_xgmac; in stmmac_interrupt()
4112 if ((priv->plat->has_gmac) || xmac) { in stmmac_interrupt()
/Linux-v5.10/drivers/net/ethernet/sun/
Dniu.h3230 struct niu_xmac_stats xmac; member
Dniu.c3902 struct niu_xmac_stats *mp = &np->mac_stats.xmac; in niu_xmac_interrupt()
6175 struct niu_xmac_stats *mp = &np->mac_stats.xmac; in niu_sync_xmac_stats()
7783 memcpy(data, &np->mac_stats.xmac, in niu_get_ethtool_stats()