Lines Matching refs:mii_ts
214 struct mii_timestamper mii_ts; member
690 static void nxp_c45_txtstamp(struct mii_timestamper *mii_ts, in nxp_c45_txtstamp() argument
693 struct nxp_c45_phy *priv = container_of(mii_ts, struct nxp_c45_phy, in nxp_c45_txtstamp()
694 mii_ts); in nxp_c45_txtstamp()
712 static bool nxp_c45_rxtstamp(struct mii_timestamper *mii_ts, in nxp_c45_rxtstamp() argument
715 struct nxp_c45_phy *priv = container_of(mii_ts, struct nxp_c45_phy, in nxp_c45_rxtstamp()
716 mii_ts); in nxp_c45_rxtstamp()
732 static int nxp_c45_hwtstamp(struct mii_timestamper *mii_ts, in nxp_c45_hwtstamp() argument
735 struct nxp_c45_phy *priv = container_of(mii_ts, struct nxp_c45_phy, in nxp_c45_hwtstamp()
736 mii_ts); in nxp_c45_hwtstamp()
789 static int nxp_c45_ts_info(struct mii_timestamper *mii_ts, in nxp_c45_ts_info() argument
792 struct nxp_c45_phy *priv = container_of(mii_ts, struct nxp_c45_phy, in nxp_c45_ts_info()
793 mii_ts); in nxp_c45_ts_info()
1325 priv->mii_ts.rxtstamp = nxp_c45_rxtstamp; in nxp_c45_probe()
1326 priv->mii_ts.txtstamp = nxp_c45_txtstamp; in nxp_c45_probe()
1327 priv->mii_ts.hwtstamp = nxp_c45_hwtstamp; in nxp_c45_probe()
1328 priv->mii_ts.ts_info = nxp_c45_ts_info; in nxp_c45_probe()
1329 phydev->mii_ts = &priv->mii_ts; in nxp_c45_probe()