| /linux/Documentation/translations/zh_CN/networking/ |
| H A D | timestamping.rst | 437 struct hwtstamp_config { 446 netlink 属性设置 struct hwtstamp_config 相应地。 467 ifr_data指向 struct hwtstamp_config。tx_type 和 rx_filter 是驱动 474 /* 可能的 hwtstamp_config->tx_type 值 */ 490 /* 可能的 hwtstamp_config->rx_filter 值 */ 513 ioctl 并更新提供的 struct hwtstamp_config 与实际值,如 SIOCSHWTSTAMP 部分
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ptp.c | 99 adapter->ptp.hwtstamp_config = *config; in iavf_ptp_set_ts_config() 405 adapter->ptp.hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in iavf_ptp_release() 431 adapter->ptp.hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in iavf_ptp_process_caps()
|
| H A D | iavf_types.h | 30 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
| H A D | setup.c | 74 rq->hwtstamp_config = &c->priv->hwtstamp_config; in mlx5e_init_xsk_rq()
|
| /linux/tools/testing/selftests/net/ |
| H A D | .gitignore | 9 hwtstamp_config
|
| H A D | hwtstamp_config.c | 91 struct hwtstamp_config config; in main()
|
| H A D | Makefile | 134 hwtstamp_config \
|
| H A D | timestamping.c | 327 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
|
| /linux/include/uapi/linux/ |
| H A D | net_tstamp.h | 78 * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter 90 struct hwtstamp_config { struct 96 /* possible values for hwtstamp_config->flags */ argument 111 /* possible values for hwtstamp_config->tx_type */ 149 /* possible values for hwtstamp_config->rx_filter */
|
| /linux/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 314 *config = fbn->hwtstamp_config; in fbnic_hwtstamp_get() 329 if (!kernel_hwtstamp_config_changed(config, &fbn->hwtstamp_config)) in fbnic_hwtstamp_set() 365 old_rx_filter = fbn->hwtstamp_config.rx_filter; in fbnic_hwtstamp_set() 366 memcpy(&fbn->hwtstamp_config, config, sizeof(*config)); in fbnic_hwtstamp_set()
|
| H A D | fbnic_rpc.c | 294 if (fbn->hwtstamp_config.rx_filter != HWTSTAMP_FILTER_NONE) { in fbnic_rss_reinit() 295 switch (fbn->hwtstamp_config.rx_filter) { in fbnic_rss_reinit()
|
| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_ptp.c | 136 phc->hwtstamp_config = *cfg; in sparx5_ptp_hwtstamp_set() 149 *cfg = phc->hwtstamp_config; in sparx5_ptp_hwtstamp_get() 601 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in sparx5_ptp_phc_init()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_netdev.c | 2226 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv() 2227 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv() 2273 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv() 2274 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv() 2481 *config = priv->hwtstamp_config; in mlx4_en_hwtstamp_get() 2549 ret = mlx4_en_reset_config(netdev, &priv->hwtstamp_config, in mlx4_en_set_features() 3296 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev() 3297 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev() 3298 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev() 3509 if (priv->hwtstamp_config.tx_type == ts_config->tx_type && in mlx4_en_reset_config() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | xdp_hw_metadata.c | 569 static void hwtstamp_ioctl(int op, const char *ifname, struct hwtstamp_config *cfg) in hwtstamp_ioctl() 588 static struct hwtstamp_config saved_hwtstamp_cfg; 598 struct hwtstamp_config cfg = { in hwtstamp_enable()
|
| /linux/net/core/ |
| H A D | dev_ioctl.c | 286 struct hwtstamp_config cfg; in dev_get_hwtstamp() 396 struct hwtstamp_config cfg; in dev_set_hwtstamp()
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ptp.c | 54 struct kernel_hwtstamp_config hwtstamp_config; member 572 *config = aq_ptp->hwtstamp_config; in aq_ptp_hwtstamp_config_get() 626 aq_ptp->hwtstamp_config = *config; in aq_ptp_hwtstamp_config_set()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 312 phc->hwtstamp_config = *cfg; in lan966x_ptp_hwtstamp_set() 325 *cfg = phc->hwtstamp_config; in lan966x_ptp_hwtstamp_get()
|
| H A D | lan966x_main.h | 254 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en.h | 705 struct kernel_hwtstamp_config *hwtstamp_config; member 940 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | ptp.c | 711 rq->hwtstamp_config = &priv->hwtstamp_config; in mlx5e_init_ptp_rq()
|
| H A D | reporter_rx.c | 335 priv->hwtstamp_config.rx_filter); in mlx5e_rx_reporter_diagnose_common_ptp_config()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | e1000.h | 323 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.c | 1088 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get() 1266 mlxsw_sp_port->ptp.hwtstamp_config = *config; in mlxsw_sp1_ptp_hwtstamp_set()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | net_driver.h | 106 struct hwtstamp_config;
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | net_driver.h | 106 struct hwtstamp_config;
|