| /linux-6.15/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_ptp.h | 37 struct hwtstamp_config *config); 40 struct hwtstamp_config *config); 68 struct hwtstamp_config *config); 71 struct hwtstamp_config *config); 120 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get() 127 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set() 184 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get() 191 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set()
|
| H A D | spectrum_ptp.c | 49 struct hwtstamp_config config; 1086 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get() 1088 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get() 1249 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set() 1454 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get() 1545 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() 1559 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() 1574 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_configure_port() 1595 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_deconfigure_port() 1617 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set() [all …]
|
| /linux-6.15/drivers/net/ethernet/engleder/ |
| H A D | tsnep_ptp.c | 25 struct hwtstamp_config config; in tsnep_ptp_ioctl() 65 memcpy(&adapter->hwtstamp_config, &config, in tsnep_ptp_ioctl() 66 sizeof(adapter->hwtstamp_config)); in tsnep_ptp_ioctl() 69 if (copy_to_user(ifr->ifr_data, &adapter->hwtstamp_config, in tsnep_ptp_ioctl() 70 sizeof(adapter->hwtstamp_config))) in tsnep_ptp_ioctl() 209 adapter->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in tsnep_ptp_init() 210 adapter->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in tsnep_ptp_init()
|
| H A D | tsnep.h | 179 struct hwtstamp_config hwtstamp_config; member
|
| /linux-6.15/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ptp.h | 63 struct hwtstamp_config *config); 65 struct hwtstamp_config *config); 133 struct hwtstamp_config *config) {} in aq_ptp_hwtstamp_config_get() 135 struct hwtstamp_config *config) in aq_ptp_hwtstamp_config_set()
|
| H A D | aq_main.c | 264 struct hwtstamp_config *config) in aq_ndev_config_hwtstamp() 298 struct hwtstamp_config config; in aq_ndev_hwtstamp_set() 321 struct hwtstamp_config config; in aq_ndev_hwtstamp_get()
|
| H A D | aq_ptp.c | 54 struct hwtstamp_config hwtstamp_config; member 570 struct hwtstamp_config *config) in aq_ptp_hwtstamp_config_get() 572 *config = aq_ptp->hwtstamp_config; in aq_ptp_hwtstamp_config_get() 591 struct hwtstamp_config *config) in aq_ptp_hwtstamp_config_set() 626 aq_ptp->hwtstamp_config = *config; in aq_ptp_hwtstamp_config_set()
|
| /linux-6.15/include/linux/ |
| H A D | net_tstamp.h | 78 const struct hwtstamp_config *cfg) in hwtstamp_config_to_kernel() 85 static inline void hwtstamp_config_from_kernel(struct hwtstamp_config *cfg, in hwtstamp_config_from_kernel()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A D | clock.h | 57 struct hwtstamp_config hwtstamp_config; member
|
| /linux-6.15/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_ptp.c | 99 adapter->ptp.hwtstamp_config = *config; in iavf_ptp_set_ts_config() 398 adapter->ptp.hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in iavf_ptp_release() 424 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-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_phc.c | 68 struct hwtstamp_config *new_ts) in ionic_lif_hwstamp_set_ts_config() 71 struct hwtstamp_config *config; in ionic_lif_hwstamp_set_ts_config() 72 struct hwtstamp_config ts; in ionic_lif_hwstamp_set_ts_config() 188 struct hwtstamp_config config; in ionic_lif_hwstamp_set() 251 struct hwtstamp_config config; in ionic_lif_hwstamp_get()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_ptp.c | 213 sizeof(struct hwtstamp_config)) ? -EFAULT : 0; in hclge_ptp_get_cfg() 272 static int hclge_ptp_set_tx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_tx_mode() 290 static int hclge_ptp_set_rx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_rx_mode() 335 struct hwtstamp_config *cfg) in hclge_ptp_set_ts_mode() 364 struct hwtstamp_config cfg; in hclge_ptp_set_cfg()
|
| H A D | hclge_ptp.h | 65 struct hwtstamp_config ts_cfg;
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | trap.h | 25 struct hwtstamp_config *tstamp;
|
| /linux-6.15/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_hwtstamp.c | 43 struct hwtstamp_config *config) in hellcreek_set_hwtstamp_config() 117 struct hwtstamp_config config; in hellcreek_port_hwtstamp_set() 141 struct hwtstamp_config *config; in hellcreek_port_hwtstamp_get()
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | mlx4_en.h | 391 struct hwtstamp_config hwtstamp_config; member 615 struct hwtstamp_config hwtstamp_config; member 783 struct hwtstamp_config ts_config,
|
| H A D | en_cq.c | 135 if ((cq->type != RX && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq() 136 (cq->type == RX && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
|
| 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() 2276 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv() 2277 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv() 2427 struct hwtstamp_config config; in mlx4_en_hwtstamp_set() 2484 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get() 3313 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev() 3314 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev() 3315 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev() 3516 struct hwtstamp_config ts_config, in mlx4_en_reset_config() [all …]
|
| /linux-6.15/tools/testing/selftests/net/ |
| H A D | .gitignore | 11 hwtstamp_config
|
| H A D | hwtstamp_config.c | 91 struct hwtstamp_config config; in main()
|
| /linux-6.15/include/uapi/linux/ |
| H A D | net_tstamp.h | 90 struct hwtstamp_config { struct
|
| /linux-6.15/drivers/net/ethernet/meta/fbnic/ |
| H A D | fbnic_netdev.c | 331 *config = fbn->hwtstamp_config; in fbnic_hwtstamp_get() 346 if (!kernel_hwtstamp_config_changed(config, &fbn->hwtstamp_config)) in fbnic_hwtstamp_set() 382 old_rx_filter = fbn->hwtstamp_config.rx_filter; in fbnic_hwtstamp_set() 383 memcpy(&fbn->hwtstamp_config, config, sizeof(*config)); in fbnic_hwtstamp_set()
|
| H A D | fbnic_netdev.h | 71 struct kernel_hwtstamp_config hwtstamp_config; member
|
| /linux-6.15/drivers/net/dsa/mv88e6xxx/ |
| H A D | hwtstamp.c | 92 struct hwtstamp_config *config) in mv88e6xxx_set_hwtstamp_config() 176 struct hwtstamp_config config; in mv88e6xxx_port_hwtstamp_set() 201 struct hwtstamp_config *config = &ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get()
|