Lines Matching refs:mii_ts
152 struct mii_timestamper mii_ts; member
336 static int ines_hwtstamp(struct mii_timestamper *mii_ts, struct ifreq *ifr) in ines_hwtstamp() argument
338 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_hwtstamp()
408 static void ines_link_state(struct mii_timestamper *mii_ts, in ines_link_state() argument
411 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_link_state()
484 static bool ines_rxtstamp(struct mii_timestamper *mii_ts, in ines_rxtstamp() argument
487 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_rxtstamp()
569 static int ines_ts_info(struct mii_timestamper *mii_ts, in ines_ts_info() argument
626 static void ines_txtstamp(struct mii_timestamper *mii_ts, in ines_txtstamp() argument
629 struct ines_port *port = container_of(mii_ts, struct ines_port, mii_ts); in ines_txtstamp()
725 port->mii_ts.rxtstamp = ines_rxtstamp; in ines_ptp_probe_channel()
726 port->mii_ts.txtstamp = ines_txtstamp; in ines_ptp_probe_channel()
727 port->mii_ts.hwtstamp = ines_hwtstamp; in ines_ptp_probe_channel()
728 port->mii_ts.link_state = ines_link_state; in ines_ptp_probe_channel()
729 port->mii_ts.ts_info = ines_ts_info; in ines_ptp_probe_channel()
731 return &port->mii_ts; in ines_ptp_probe_channel()
735 struct mii_timestamper *mii_ts) in ines_ptp_release_channel() argument