Lines Matching refs:mii_ts

305 	struct mii_timestamper mii_ts;  member
2337 static int lan8814_ts_info(struct mii_timestamper *mii_ts, struct ethtool_ts_info *info) in lan8814_ts_info() argument
2339 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_ts_info()
2376 static int lan8814_hwtstamp(struct mii_timestamper *mii_ts, struct ifreq *ifr) in lan8814_hwtstamp() argument
2379 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_hwtstamp()
2472 static void lan8814_txtstamp(struct mii_timestamper *mii_ts, in lan8814_txtstamp() argument
2475 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_txtstamp()
2543 static bool lan8814_rxtstamp(struct mii_timestamper *mii_ts, struct sk_buff *skb, int type) in lan8814_rxtstamp() argument
2546 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_rxtstamp()
3135 ptp_priv->mii_ts.rxtstamp = lan8814_rxtstamp; in lan8814_ptp_init()
3136 ptp_priv->mii_ts.txtstamp = lan8814_txtstamp; in lan8814_ptp_init()
3137 ptp_priv->mii_ts.hwtstamp = lan8814_hwtstamp; in lan8814_ptp_init()
3138 ptp_priv->mii_ts.ts_info = lan8814_ts_info; in lan8814_ptp_init()
3140 phydev->mii_ts = &ptp_priv->mii_ts; in lan8814_ptp_init()
3603 static int lan8841_ts_info(struct mii_timestamper *mii_ts, in lan8841_ts_info() argument
3608 ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_ts_info()
3684 static int lan8841_hwtstamp(struct mii_timestamper *mii_ts, struct ifreq *ifr) in lan8841_hwtstamp() argument
3686 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_hwtstamp()
3761 static bool lan8841_rxtstamp(struct mii_timestamper *mii_ts, in lan8841_rxtstamp() argument
3765 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_rxtstamp()
4568 ptp_priv->mii_ts.rxtstamp = lan8841_rxtstamp; in lan8841_probe()
4569 ptp_priv->mii_ts.txtstamp = lan8814_txtstamp; in lan8841_probe()
4570 ptp_priv->mii_ts.hwtstamp = lan8841_hwtstamp; in lan8841_probe()
4571 ptp_priv->mii_ts.ts_info = lan8841_ts_info; in lan8841_probe()
4573 phydev->mii_ts = &ptp_priv->mii_ts; in lan8841_probe()