Lines Matching refs:mii_ts
147 struct mii_timestamper mii_ts; member
331 static int ines_hwtstamp(struct mii_timestamper *mii_ts, struct ifreq *ifr) in ines_hwtstamp() argument
333 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_hwtstamp()
399 static void ines_link_state(struct mii_timestamper *mii_ts, in ines_link_state() argument
402 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_link_state()
475 static bool ines_rxtstamp(struct mii_timestamper *mii_ts, in ines_rxtstamp() argument
478 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_rxtstamp()
560 static int ines_ts_info(struct mii_timestamper *mii_ts, in ines_ts_info() argument
617 static void ines_txtstamp(struct mii_timestamper *mii_ts, in ines_txtstamp() argument
620 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_txtstamp()
716 port->mii_ts.rxtstamp = ines_rxtstamp; in ines_ptp_probe_channel()
717 port->mii_ts.txtstamp = ines_txtstamp; in ines_ptp_probe_channel()
718 port->mii_ts.hwtstamp = ines_hwtstamp; in ines_ptp_probe_channel()
719 port->mii_ts.link_state = ines_link_state; in ines_ptp_probe_channel()
720 port->mii_ts.ts_info = ines_ts_info; in ines_ptp_probe_channel()
722 return &port->mii_ts; in ines_ptp_probe_channel()
726 struct mii_timestamper *mii_ts) in ines_ptp_release_channel() argument