Home
last modified time | relevance | path

Searched refs:acr_value (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ptp.c180 u32 intr_value, acr_value; in stmmac_enable() local
207 acr_value = readl(ptpaddr + PTP_ACR); in stmmac_enable()
208 acr_value &= ~PTP_ACR_MASK; in stmmac_enable()
211 acr_value |= priv->plat->ext_snapshot_num; in stmmac_enable()
212 acr_value |= PTP_ACR_ATSFC; in stmmac_enable()
230 writel(acr_value, ptpaddr + PTP_ACR); in stmmac_enable()
Ddwmac-intel.c315 u32 acr_value; in intel_crosststamp() local
333 acr_value = readl(ptpaddr + PTP_ACR); in intel_crosststamp()
334 acr_value &= ~PTP_ACR_MASK; in intel_crosststamp()
337 acr_value |= PTP_ACR_ATSEN0; in intel_crosststamp()
340 acr_value |= PTP_ACR_ATSEN1; in intel_crosststamp()
343 acr_value |= PTP_ACR_ATSEN2; in intel_crosststamp()
346 acr_value |= PTP_ACR_ATSEN3; in intel_crosststamp()
352 writel(acr_value, ptpaddr + PTP_ACR); in intel_crosststamp()
355 acr_value = readl(ptpaddr + PTP_ACR); in intel_crosststamp()
356 acr_value |= PTP_ACR_ATSFC; in intel_crosststamp()
[all …]