Searched refs:ptp_clock_ops (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_ptp.c | 27 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_freq() 51 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_adjust_time() 91 priv->ptp_clock_ops.gettime64(&priv->ptp_clock_ops, ¤t_time); in stmmac_adjust_time() 127 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_get_time() 153 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_set_time() 167 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_enable() 253 container_of(ptp, struct stmmac_priv, ptp_clock_ops); in stmmac_getcrosststamp() 306 priv->ptp_clock_ops = stmmac_ptp_clock_ops; in stmmac_ptp_register() 308 priv->ptp_clock = ptp_clock_register(&priv->ptp_clock_ops, in stmmac_ptp_register()
|
H A D | stmmac.h | 275 struct ptp_clock_info ptp_clock_ops; member
|
H A D | stmmac_tc.c | 1032 priv->ptp_clock_ops.gettime64(&priv->ptp_clock_ops, ¤t_time); in tc_setup_taprio()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_dfl_tod.c | 63 struct ptp_clock_info ptp_clock_ops; member 128 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_adjust_fine() 173 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_adjust_time() 229 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_get_timex() 254 struct dfl_tod *dt = container_of(ptp, struct dfl_tod, ptp_clock_ops); in dfl_tod_set_time() 297 dt->ptp_clock_ops = dfl_tod_clock_ops; in dfl_tod_probe() 299 dt->ptp_clock = ptp_clock_register(&dt->ptp_clock_ops, dev); in dfl_tod_probe()
|
H A D | ptp_clock.c | 159 static struct posix_clock_operations ptp_clock_ops = { variable 229 ptp->clock.ops = ptp_clock_ops; in ptp_clock_register()
|