Lines Matching refs:mii_ts
406 struct mii_timestamper mii_ts; member
2631 static int lan8814_ts_info(struct mii_timestamper *mii_ts, struct kernel_ethtool_ts_info *info) in lan8814_ts_info() argument
2633 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_ts_info()
2670 static int lan8814_hwtstamp(struct mii_timestamper *mii_ts, in lan8814_hwtstamp() argument
2675 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_hwtstamp()
2754 static void lan8814_txtstamp(struct mii_timestamper *mii_ts, in lan8814_txtstamp() argument
2757 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_txtstamp()
2830 static bool lan8814_rxtstamp(struct mii_timestamper *mii_ts, struct sk_buff *skb, int type) in lan8814_rxtstamp() argument
2833 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8814_rxtstamp()
3854 ptp_priv->mii_ts.rxtstamp = lan8814_rxtstamp; in lan8814_ptp_init()
3855 ptp_priv->mii_ts.txtstamp = lan8814_txtstamp; in lan8814_ptp_init()
3856 ptp_priv->mii_ts.hwtstamp = lan8814_hwtstamp; in lan8814_ptp_init()
3857 ptp_priv->mii_ts.ts_info = lan8814_ts_info; in lan8814_ptp_init()
3859 phydev->mii_ts = &ptp_priv->mii_ts; in lan8814_ptp_init()
4395 static int lan8841_ts_info(struct mii_timestamper *mii_ts, in lan8841_ts_info() argument
4400 ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_ts_info()
4472 static int lan8841_hwtstamp(struct mii_timestamper *mii_ts, in lan8841_hwtstamp() argument
4476 struct kszphy_ptp_priv *ptp_priv = container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_hwtstamp()
4547 static bool lan8841_rxtstamp(struct mii_timestamper *mii_ts, in lan8841_rxtstamp() argument
4551 container_of(mii_ts, struct kszphy_ptp_priv, mii_ts); in lan8841_rxtstamp()
5354 ptp_priv->mii_ts.rxtstamp = lan8841_rxtstamp; in lan8841_probe()
5355 ptp_priv->mii_ts.txtstamp = lan8814_txtstamp; in lan8841_probe()
5356 ptp_priv->mii_ts.hwtstamp = lan8841_hwtstamp; in lan8841_probe()
5357 ptp_priv->mii_ts.ts_info = lan8841_ts_info; in lan8841_probe()
5359 phydev->mii_ts = &ptp_priv->mii_ts; in lan8841_probe()