/Linux-v6.1/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; 1097 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get() 1099 *config = mlxsw_sp_port->ptp.hwtstamp_config; in mlxsw_sp1_ptp_hwtstamp_get() 1104 mlxsw_sp1_ptp_get_message_types(const struct hwtstamp_config *config, in mlxsw_sp1_ptp_get_message_types() 1260 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set() 1276 mlxsw_sp_port->ptp.hwtstamp_config = *config; in mlxsw_sp1_ptp_hwtstamp_set() 1461 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get() 1475 mlxsw_sp2_ptp_get_message_types(const struct hwtstamp_config *config, in mlxsw_sp2_ptp_get_message_types() 1552 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() 1566 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() [all …]
|
/Linux-v6.1/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 | 157 struct hwtstamp_config hwtstamp_config; member
|
/Linux-v6.1/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 | 263 struct hwtstamp_config *config) in aq_ndev_config_hwtstamp() 297 struct hwtstamp_config config; in aq_ndev_hwtstamp_set() 320 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-v6.1/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_ptp.c | 80 struct hwtstamp_config cfg; in sparx5_ptp_hwtstamp_set() 134 memcpy(&phc->hwtstamp_config, &cfg, sizeof(cfg)); in sparx5_ptp_hwtstamp_set() 146 return copy_to_user(ifr->ifr_data, &phc->hwtstamp_config, in sparx5_ptp_hwtstamp_get() 147 sizeof(phc->hwtstamp_config)) ? -EFAULT : 0; in sparx5_ptp_hwtstamp_get() 590 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in sparx5_ptp_phc_init()
|
/Linux-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_ptp.c | 221 sizeof(struct hwtstamp_config)) ? -EFAULT : 0; in hclge_ptp_get_cfg() 280 static int hclge_ptp_set_tx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_tx_mode() 298 static int hclge_ptp_set_rx_mode(struct hwtstamp_config *cfg, in hclge_ptp_set_rx_mode() 343 struct hwtstamp_config *cfg) in hclge_ptp_set_ts_mode() 372 struct hwtstamp_config cfg; in hclge_ptp_set_cfg()
|
D | hclge_ptp.h | 65 struct hwtstamp_config ts_cfg;
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | trap.h | 25 struct hwtstamp_config *tstamp;
|
D | ptp.h | 47 struct hwtstamp_config *tstamp;
|
/Linux-v6.1/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-v6.1/tools/testing/selftests/net/ |
D | .gitignore | 7 hwtstamp_config
|
D | hwtstamp_config.c | 89 struct hwtstamp_config config; in main()
|
D | Makefile | 58 TEST_GEN_FILES += hwtstamp_config rxtimestamp timestamping txtimestamp
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4_en.h | 389 struct hwtstamp_config hwtstamp_config; member 612 struct hwtstamp_config hwtstamp_config; member 782 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() 2426 struct hwtstamp_config config; in mlx4_en_hwtstamp_set() 2482 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get() 2483 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get() 2562 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features() 3296 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev() 3297 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev() [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | net_tstamp.h | 75 struct hwtstamp_config { struct
|
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ptp.c | 41 struct hwtstamp_config cfg; in lan966x_ptp_hwtstamp_set() 94 memcpy(&phc->hwtstamp_config, &cfg, sizeof(cfg)); in lan966x_ptp_hwtstamp_set() 106 return copy_to_user(ifr->ifr_data, &phc->hwtstamp_config, in lan966x_ptp_hwtstamp_get() 107 sizeof(phc->hwtstamp_config)) ? -EFAULT : 0; in lan966x_ptp_hwtstamp_get() 794 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in lan966x_ptp_phc_init()
|
/Linux-v6.1/drivers/net/ethernet/mscc/ |
D | ocelot_ptp.c | 479 return copy_to_user(ifr->ifr_data, &ocelot->hwtstamp_config, in ocelot_hwstamp_get() 480 sizeof(ocelot->hwtstamp_config)) ? -EFAULT : 0; in ocelot_hwstamp_get() 488 struct hwtstamp_config cfg; in ocelot_hwstamp_set() 554 memcpy(&ocelot->hwtstamp_config, &cfg, sizeof(cfg)); in ocelot_hwstamp_set() 830 ocelot->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in ocelot_init_timestamp()
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/fungible/funeth/ |
D | funeth.h | 124 struct hwtstamp_config hwtstamp_cfg;
|