Home
last modified time | relevance | path

Searched refs:hwtstamp_config (Results 1 – 25 of 34) sorted by relevance

12

/linux/Documentation/translations/zh_CN/networking/
H A Dtimestamping.rst437 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 Diavf_ptp.c99 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 Diavf_types.h30 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dsetup.c74 rq->hwtstamp_config = &c->priv->hwtstamp_config; in mlx5e_init_xsk_rq()
/linux/tools/testing/selftests/net/
H A D.gitignore9 hwtstamp_config
H A Dhwtstamp_config.c91 struct hwtstamp_config config; in main()
H A DMakefile134 hwtstamp_config \
H A Dtimestamping.c327 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
/linux/include/uapi/linux/
H A Dnet_tstamp.h78 * 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 Dfbnic_netdev.c314 *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 Dfbnic_rpc.c294 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 Dsparx5_ptp.c136 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 Den_netdev.c2226 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 Dxdp_hw_metadata.c569 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 Ddev_ioctl.c286 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 Daq_ptp.c54 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 Dlan966x_ptp.c312 phc->hwtstamp_config = *cfg; in lan966x_ptp_hwtstamp_set()
325 *cfg = phc->hwtstamp_config; in lan966x_ptp_hwtstamp_get()
H A Dlan966x_main.h254 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h705 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 Dptp.c711 rq->hwtstamp_config = &priv->hwtstamp_config; in mlx5e_init_ptp_rq()
H A Dreporter_rx.c335 priv->hwtstamp_config.rx_filter); in mlx5e_rx_reporter_diagnose_common_ptp_config()
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h323 struct kernel_hwtstamp_config hwtstamp_config; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c1088 *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 Dnet_driver.h106 struct hwtstamp_config;
/linux/drivers/net/ethernet/sfc/
H A Dnet_driver.h106 struct hwtstamp_config;

12