Lines Matching refs:ptp
22 static int stmmac_adjust_freq(struct ptp_clock_info *ptp, s32 ppb) in stmmac_adjust_freq() argument
25 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_freq()
57 static int stmmac_adjust_time(struct ptp_clock_info *ptp, s64 delta) in stmmac_adjust_time() argument
60 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_time()
133 static int stmmac_get_time(struct ptp_clock_info *ptp, struct timespec64 *ts) in stmmac_get_time() argument
136 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_get_time()
158 static int stmmac_set_time(struct ptp_clock_info *ptp, in stmmac_set_time() argument
162 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_set_time()
172 static int stmmac_enable(struct ptp_clock_info *ptp, in stmmac_enable() argument
176 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_enable()
255 static int stmmac_getcrosststamp(struct ptp_clock_info *ptp, in stmmac_getcrosststamp() argument
259 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_getcrosststamp()