/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ptp.h | 45 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()
|
D | spectrum_ptp.c | 48 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/ |
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()
|
D | tsnep.h | 179 struct hwtstamp_config hwtstamp_config; member
|
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/ |
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()
|
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()
|
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.6.21/include/linux/ |
D | net_tstamp.h | 40 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/ |
D | hclge_ptp.c | 209 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()
|
D | hclge_ptp.h | 65 struct hwtstamp_config ts_cfg;
|
/linux-6.6.21/drivers/net/ethernet/pensando/ionic/ |
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.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | trap.h | 25 struct hwtstamp_config *tstamp;
|
D | ptp.h | 67 struct hwtstamp_config *tstamp;
|
/linux-6.6.21/drivers/net/dsa/hirschmann/ |
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.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 398 struct hwtstamp_config hwtstamp_config; member 622 struct hwtstamp_config hwtstamp_config; member 792 struct hwtstamp_config ts_config,
|
D | en_cq.c | 134 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()
|
D | en_netdev.c | 2222 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 | .gitignore | 10 hwtstamp_config
|
D | hwtstamp_config.c | 91 struct hwtstamp_config config; in main()
|
/linux-6.6.21/include/uapi/linux/ |
D | net_tstamp.h | 76 struct hwtstamp_config { struct
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | xdp_hw_metadata.c | 330 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/ |
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()
|
/linux-6.6.21/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_ptp.c | 132 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/ |
D | funeth.h | 124 struct hwtstamp_config hwtstamp_cfg;
|
/linux-6.6.21/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 379 struct hwtstamp_config *tstamp_config; in gem_get_hwtst() 408 struct hwtstamp_config *tstamp_config; in gem_set_hwtst()
|