Home
last modified time | relevance | path

Searched refs:mii_timestamper (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Dmii_timestamper.h49 struct mii_timestamper { struct
50 bool (*rxtstamp)(struct mii_timestamper *mii_ts, argument
53 void (*txtstamp)(struct mii_timestamper *mii_ts, argument
56 int (*hwtstamp_set)(struct mii_timestamper *mii_ts, argument
60 int (*hwtstamp_get)(struct mii_timestamper *mii_ts, argument
63 void (*link_state)(struct mii_timestamper *mii_ts, argument
66 int (*ts_info)(struct mii_timestamper *mii_ts, argument
84 struct mii_timestamper *(*probe_channel)(struct device *device, argument
87 struct mii_timestamper *mii_ts);
97 struct mii_timestamper *register_mii_timestamper(struct device_node *node,
[all …]
H A Dphy.h787 struct mii_timestamper *mii_ts;
/linux/drivers/net/phy/
H A Dmii_timestamper.c78 struct mii_timestamper *register_mii_timestamper(struct device_node *node, in register_mii_timestamper()
81 struct mii_timestamper *mii_ts = NULL; in register_mii_timestamper()
109 void unregister_mii_timestamper(struct mii_timestamper *mii_ts) in unregister_mii_timestamper()
H A Dbcm-phy-ptp.c131 struct mii_timestamper mii_ts;
167 static struct bcm_ptp_private *mii2priv(struct mii_timestamper *mii_ts) in mii2priv()
385 static bool bcm_ptp_rxtstamp(struct mii_timestamper *mii_ts, in bcm_ptp_rxtstamp()
744 static void bcm_ptp_txtstamp(struct mii_timestamper *mii_ts, in bcm_ptp_txtstamp()
783 static int bcm_ptp_hwtstamp_get(struct mii_timestamper *mii_ts, in bcm_ptp_hwtstamp_get()
795 static int bcm_ptp_hwtstamp_set(struct mii_timestamper *mii_ts, in bcm_ptp_hwtstamp_set()
854 static int bcm_ptp_ts_info(struct mii_timestamper *mii_ts, in bcm_ptp_ts_info()
H A Dnxp-c45-tja11xx.h16 struct mii_timestamper mii_ts;
H A Dmicrochip_rds_ptp.c322 static void mchp_rds_ptp_txtstamp(struct mii_timestamper *mii_ts, in mchp_rds_ptp_txtstamp()
454 static bool mchp_rds_ptp_rxtstamp(struct mii_timestamper *mii_ts, in mchp_rds_ptp_rxtstamp()
479 static int mchp_rds_ptp_hwtstamp_get(struct mii_timestamper *mii_ts, in mchp_rds_ptp_hwtstamp_get()
491 static int mchp_rds_ptp_hwtstamp_set(struct mii_timestamper *mii_ts, in mchp_rds_ptp_hwtstamp_set()
617 static int mchp_rds_ptp_ts_info(struct mii_timestamper *mii_ts, in mchp_rds_ptp_ts_info()
H A Ddp83640.c109 struct mii_timestamper mii_ts;
1178 static int dp83640_hwtstamp_get(struct mii_timestamper *mii_ts, in dp83640_hwtstamp_get()
1190 static int dp83640_hwtstamp_set(struct mii_timestamper *mii_ts, in dp83640_hwtstamp_set()
1299 static bool dp83640_rxtstamp(struct mii_timestamper *mii_ts, in dp83640_rxtstamp()
1349 static void dp83640_txtstamp(struct mii_timestamper *mii_ts, in dp83640_txtstamp()
1377 static int dp83640_ts_info(struct mii_timestamper *mii_ts, in dp83640_ts_info()
H A Dmicrochip_rds_ptp.h177 struct mii_timestamper mii_ts;
H A DMakefile24 obj-$(CONFIG_NETWORK_PHY_TIMESTAMPING) += mii_timestamper.o
H A Dnxp-c45-tja11xx.c973 static void nxp_c45_txtstamp(struct mii_timestamper *mii_ts, in nxp_c45_txtstamp()
995 static bool nxp_c45_rxtstamp(struct mii_timestamper *mii_ts, in nxp_c45_rxtstamp()
1015 static int nxp_c45_hwtstamp_get(struct mii_timestamper *mii_ts, in nxp_c45_hwtstamp_get()
1028 static int nxp_c45_hwtstamp_set(struct mii_timestamper *mii_ts, in nxp_c45_hwtstamp_set()
1081 static int nxp_c45_ts_info(struct mii_timestamper *mii_ts, in nxp_c45_ts_info()
H A Dmicrel.c426 struct mii_timestamper mii_ts;
3133 static int lan8814_ts_info(struct mii_timestamper *mii_ts, struct kernel_ethtool_ts_info *info) in lan8814_ts_info()
3171 static int lan8814_hwtstamp_get(struct mii_timestamper *mii_ts, in lan8814_hwtstamp_get()
3183 static int lan8814_hwtstamp_set(struct mii_timestamper *mii_ts, in lan8814_hwtstamp_set()
3282 static void lan8814_txtstamp(struct mii_timestamper *mii_ts, in lan8814_txtstamp()
3358 static bool lan8814_rxtstamp(struct mii_timestamper *mii_ts, struct sk_buff *skb, int type) in lan8814_rxtstamp()
5011 static int lan8841_ts_info(struct mii_timestamper *mii_ts, in lan8841_ts_info()
5088 static int lan8841_hwtstamp_set(struct mii_timestamper *mii_ts, in lan8841_hwtstamp_set()
5172 static bool lan8841_rxtstamp(struct mii_timestamper *mii_ts, in lan8841_rxtstamp()
/linux/drivers/ptp/
H A Dptp_ines.c147 struct mii_timestamper mii_ts;
331 static int ines_hwtstamp_get(struct mii_timestamper *mii_ts, in ines_hwtstamp_get()
353 static int ines_hwtstamp_set(struct mii_timestamper *mii_ts, in ines_hwtstamp_set()
419 static void ines_link_state(struct mii_timestamper *mii_ts, in ines_link_state()
495 static bool ines_rxtstamp(struct mii_timestamper *mii_ts, in ines_rxtstamp()
580 static int ines_ts_info(struct mii_timestamper *mii_ts, in ines_ts_info()
633 static void ines_txtstamp(struct mii_timestamper *mii_ts, in ines_txtstamp()
717 static struct mii_timestamper *ines_ptp_probe_channel(struct device *device, in ines_ptp_probe_channel()
743 struct mii_timestamper *mii_ts) in ines_ptp_release_channel()
/linux/drivers/net/mdio/
H A Dfwnode_mdio.c41 static struct mii_timestamper *
44 struct mii_timestamper *mii_ts; in fwnode_find_mii_timestamper()
120 struct mii_timestamper *mii_ts = NULL; in fwnode_mdiobus_register_phy()
/linux/net/core/
H A Dtimestamping.c26 struct mii_timestamper *mii_ts; in skb_clone_tx_timestamp()
70 struct mii_timestamper *mii_ts; in skb_defer_rx_timestamp()
/linux/drivers/net/phy/mscc/
H A Dmscc_ptp.c1054 static int vsc85xx_hwtstamp_get(struct mii_timestamper *mii_ts, in vsc85xx_hwtstamp_get()
1066 static int vsc85xx_hwtstamp_set(struct mii_timestamper *mii_ts, in vsc85xx_hwtstamp_set()
1152 static int vsc85xx_ts_info(struct mii_timestamper *mii_ts, in vsc85xx_ts_info()
1175 static void vsc85xx_txtstamp(struct mii_timestamper *mii_ts, in vsc85xx_txtstamp()
1200 static bool vsc85xx_rxtstamp(struct mii_timestamper *mii_ts, in vsc85xx_rxtstamp()
H A Dmscc.h407 struct mii_timestamper mii_ts;
/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst607 支持 PTP 时间戳的 PHY 驱动程序必须创建 ``struct mii_timestamper`` 并添加
/linux/Documentation/networking/
H A Dtimestamping.rst763 mii_timestamper`` and add a pointer to it in ``phydev->mii_ts``. The presence