Home
last modified time | relevance | path

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

12345

/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h37 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 Dspectrum_ptp.c49 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 Dtsnep_ptp.c25 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 Dtsnep.h179 struct hwtstamp_config hwtstamp_config; member
/linux-6.15/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ptp.h63 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 Daq_main.c264 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 Daq_ptp.c54 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 Dnet_tstamp.h78 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 Dclock.h57 struct hwtstamp_config hwtstamp_config; member
/linux-6.15/drivers/net/ethernet/intel/iavf/
H A Diavf_ptp.c99 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 Diavf_types.h30 struct kernel_hwtstamp_config hwtstamp_config; member
/linux-6.15/drivers/net/ethernet/pensando/ionic/
H A Dionic_phc.c68 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 Dhclge_ptp.c213 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 Dhclge_ptp.h65 struct hwtstamp_config ts_cfg;
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtrap.h25 struct hwtstamp_config *tstamp;
/linux-6.15/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c43 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 Dmlx4_en.h391 struct hwtstamp_config hwtstamp_config; member
615 struct hwtstamp_config hwtstamp_config; member
783 struct hwtstamp_config ts_config,
H A Den_cq.c135 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 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()
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.gitignore11 hwtstamp_config
H A Dhwtstamp_config.c91 struct hwtstamp_config config; in main()
/linux-6.15/include/uapi/linux/
H A Dnet_tstamp.h90 struct hwtstamp_config { struct
/linux-6.15/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_netdev.c331 *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 Dfbnic_netdev.h71 struct kernel_hwtstamp_config hwtstamp_config; member
/linux-6.15/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c92 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()

12345