Home
last modified time | relevance | path

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

12345

/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ptp.h45 struct hwtstamp_config *config);
48 struct hwtstamp_config *config);
81 struct hwtstamp_config *config);
84 struct hwtstamp_config *config);
138 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get()
145 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set()
217 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get()
224 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set()
Dspectrum_ptp.c48 struct hwtstamp_config config;
1085 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get()
1087 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get()
1092 mlxsw_sp1_ptp_get_message_types(const struct hwtstamp_config *config, in mlxsw_sp1_ptp_get_message_types()
1248 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set()
1264 mlxsw_sp_port->ptp.hwtstamp_config = *config; in mlxsw_sp1_ptp_hwtstamp_set()
1449 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get()
1463 mlxsw_sp2_ptp_get_message_types(const struct hwtstamp_config *config, in mlxsw_sp2_ptp_get_message_types()
1540 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable()
1554 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable()
[all …]
/linux-6.6.21/drivers/net/ethernet/engleder/
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()
Dtsnep.h179 struct hwtstamp_config hwtstamp_config; member
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
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()
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()
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.6.21/include/linux/
Dnet_tstamp.h40 const struct hwtstamp_config *cfg) in hwtstamp_config_to_kernel()
47 static inline void hwtstamp_config_from_kernel(struct hwtstamp_config *cfg, in hwtstamp_config_from_kernel()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_ptp.c209 sizeof(struct hwtstamp_config)) ? -EFAULT : 0; in hclge_ptp_get_cfg()
268 static int hclge_ptp_set_tx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_tx_mode()
286 static int hclge_ptp_set_rx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_rx_mode()
331 struct hwtstamp_config *cfg) in hclge_ptp_set_ts_mode()
360 struct hwtstamp_config cfg; in hclge_ptp_set_cfg()
Dhclge_ptp.h65 struct hwtstamp_config ts_cfg;
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/
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.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtrap.h25 struct hwtstamp_config *tstamp;
Dptp.h67 struct hwtstamp_config *tstamp;
/linux-6.6.21/drivers/net/dsa/hirschmann/
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.6.21/drivers/net/ethernet/mellanox/mlx4/
Dmlx4_en.h398 struct hwtstamp_config hwtstamp_config; member
622 struct hwtstamp_config hwtstamp_config; member
792 struct hwtstamp_config ts_config,
Den_cq.c134 if ((cq->type != RX && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
135 (cq->type == RX && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
Den_netdev.c2222 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2223 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv()
2272 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv()
2273 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv()
2423 struct hwtstamp_config config; in mlx4_en_hwtstamp_set()
2479 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get()
2480 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get()
2559 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features()
3238 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev()
3239 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
D.gitignore10 hwtstamp_config
Dhwtstamp_config.c91 struct hwtstamp_config config; in main()
/linux-6.6.21/include/uapi/linux/
Dnet_tstamp.h76 struct hwtstamp_config { struct
/linux-6.6.21/tools/testing/selftests/bpf/
Dxdp_hw_metadata.c330 static void hwtstamp_ioctl(int op, const char *ifname, struct hwtstamp_config *cfg) in hwtstamp_ioctl()
349 static struct hwtstamp_config saved_hwtstamp_cfg;
359 struct hwtstamp_config cfg = { in hwtstamp_enable()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
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()
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/
Dsparx5_ptp.c132 phc->hwtstamp_config = *cfg; in sparx5_ptp_hwtstamp_set()
145 *cfg = phc->hwtstamp_config; in sparx5_ptp_hwtstamp_get()
587 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in sparx5_ptp_phc_init()
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/
Dfuneth.h124 struct hwtstamp_config hwtstamp_cfg;
/linux-6.6.21/drivers/net/ethernet/cadence/
Dmacb_ptp.c379 struct hwtstamp_config *tstamp_config; in gem_get_hwtst()
408 struct hwtstamp_config *tstamp_config; in gem_set_hwtst()

12345