Home
last modified time | relevance | path

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

123

/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.h52 struct hwtstamp_config *config);
55 struct hwtstamp_config *config);
111 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get()
118 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set()
182 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get()
189 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set()
Dspectrum_ptp.c900 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get()
902 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get()
906 static int mlxsw_sp_ptp_get_message_types(const struct hwtstamp_config *config, in mlxsw_sp_ptp_get_message_types()
1067 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set()
1083 mlxsw_sp_port->ptp.hwtstamp_config = *config; in mlxsw_sp1_ptp_hwtstamp_set()
/Linux-v5.4/tools/testing/selftests/networking/timestamping/
D.gitignore4 hwtstamp_config
DMakefile4 TEST_GEN_FILES := hwtstamp_config rxtimestamp timestamping txtimestamp
Dhwtstamp_config.c89 struct hwtstamp_config config; in main()
Dtimestamping.c309 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h400 struct hwtstamp_config hwtstamp_config; member
623 struct hwtstamp_config hwtstamp_config; member
791 struct hwtstamp_config ts_config,
Den_cq.c136 if ((cq->type != RX && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
137 (cq->type == RX && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
Den_netdev.c2209 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2210 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv()
2259 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv()
2260 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv()
2410 struct hwtstamp_config config; in mlx4_en_hwtstamp_set()
2470 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get()
2471 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get()
2550 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features()
3378 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev()
3379 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
[all …]
/Linux-v5.4/include/uapi/linux/
Dnet_tstamp.h62 struct hwtstamp_config { struct
/Linux-v5.4/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c518 struct hwtstamp_config *config = &pf->tstamp_config; in i40e_ptp_get_ts_config()
540 struct hwtstamp_config *config) in i40e_ptp_set_timestamp_mode()
667 struct hwtstamp_config config; in i40e_ptp_set_ts_config()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c92 struct hwtstamp_config *config) in mv88e6xxx_set_hwtstamp_config()
180 struct hwtstamp_config config; in mv88e6xxx_port_hwtstamp_set()
205 struct hwtstamp_config *config = &ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get()
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot.h476 struct hwtstamp_config hwtstamp_config; member
Docelot.c988 return copy_to_user(ifr->ifr_data, &ocelot->hwtstamp_config, in ocelot_hwstamp_get()
989 sizeof(ocelot->hwtstamp_config)) ? -EFAULT : 0; in ocelot_hwstamp_get()
995 struct hwtstamp_config cfg; in ocelot_hwstamp_set()
1050 memcpy(&ocelot->hwtstamp_config, &cfg, sizeof(cfg)); in ocelot_hwstamp_set()
1999 ocelot->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ocelot_init_timestamp()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
De1000.h319 struct hwtstamp_config hwtstamp_config; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den.h414 struct hwtstamp_config *tstamp;
663 struct hwtstamp_config *tstamp;
736 struct hwtstamp_config *tstamp;
856 struct hwtstamp_config tstamp;
/Linux-v5.4/drivers/net/ethernet/cadence/
Dmacb_ptp.c410 struct hwtstamp_config *tstamp_config; in gem_get_hwtst()
441 struct hwtstamp_config *tstamp_config; in gem_set_hwtst()
/Linux-v5.4/drivers/net/ethernet/freescale/
Dfec_ptp.c459 struct hwtstamp_config config; in fec_ptp_set()
499 struct hwtstamp_config config; in fec_ptp_get()
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h203 struct hwtstamp_config tstamp_config;
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c954 struct hwtstamp_config *config = &adapter->tstamp_config; in ixgbe_ptp_get_ts_config()
986 struct hwtstamp_config *config) in ixgbe_ptp_set_timestamp_mode()
1146 struct hwtstamp_config config; in ixgbe_ptp_set_ts_config()
/Linux-v5.4/Documentation/networking/
Dtimestamping.txt455 struct hwtstamp_config {
463 ifr_data points to a struct hwtstamp_config. The tx_type and
490 /* possible values for hwtstamp_config->tx_type */
508 /* possible values for hwtstamp_config->rx_filter */
530 SIOCSHWTSTAMP ioctl and update the supplied struct hwtstamp_config with
/Linux-v5.4/drivers/net/ethernet/intel/igb/
Digb_ptp.c970 struct hwtstamp_config *config = &adapter->tstamp_config; in igb_ptp_get_ts_config()
994 struct hwtstamp_config *config) in igb_ptp_set_timestamp_mode()
1151 struct hwtstamp_config config; in igb_ptp_set_ts_config()
/Linux-v5.4/net/core/
Ddev_ioctl.c171 struct hwtstamp_config cfg; in net_hwtstamp_validate()
/Linux-v5.4/drivers/net/ethernet/sfc/
Dnet_driver.h96 struct hwtstamp_config;
1386 struct hwtstamp_config *init);
/Linux-v5.4/include/linux/mlx5/
Ddriver.h656 struct hwtstamp_config hwtstamp_config; member

123