Home
last modified time | relevance | path

Searched refs:bcm_ptp_private (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/phy/
H A Dbcm-phy-ptp.c129 struct bcm_ptp_private { struct
167 static struct bcm_ptp_private *mii2priv(struct mii_timestamper *mii_ts) in mii2priv()
169 return container_of(mii_ts, struct bcm_ptp_private, mii_ts); in mii2priv()
172 static struct bcm_ptp_private *ptp2priv(struct ptp_clock_info *info) in ptp2priv()
174 return container_of(info, struct bcm_ptp_private, ptp_info); in ptp2priv()
252 struct bcm_ptp_private *priv = ptp2priv(info); in bcm_ptp_gettimex()
262 static int bcm_ptp_settime_locked(struct bcm_ptp_private *priv, in bcm_ptp_settime_locked()
298 struct bcm_ptp_private *priv = ptp2priv(info); in bcm_ptp_settime()
308 static int bcm_ptp_adjtime_locked(struct bcm_ptp_private *priv, in bcm_ptp_adjtime_locked()
326 struct bcm_ptp_private *priv = ptp2priv(info); in bcm_ptp_adjtime()
[all …]
H A Dbcm-phy-lib.h99 struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev);
101 void bcm_ptp_stop(struct bcm_ptp_private *priv);
103 static inline struct bcm_ptp_private *bcm_ptp_probe(struct phy_device *phydev) in bcm_ptp_probe()
112 static inline void bcm_ptp_stop(struct bcm_ptp_private *priv) in bcm_ptp_stop()
H A Dbroadcom.c38 struct bcm_ptp_private *ptp;