/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A 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()
|
A 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() 1248 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set() 1449 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get() 1540 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_enable() 1554 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_disable() 1569 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_configure_port() 1590 struct hwtstamp_config new_config) in mlxsw_sp2_ptp_deconfigure_port() 1612 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/engleder/ |
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()
|
A D | tsnep.h | 168 struct hwtstamp_config hwtstamp_config; member
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/ |
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()
|
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()
|
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.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A 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() 589 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in sparx5_ptp_phc_init()
|
/linux-6.3-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A 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()
|
A D | hclge_ptp.h | 65 struct hwtstamp_config ts_cfg;
|
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/ |
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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | trap.h | 25 struct hwtstamp_config *tstamp;
|
A D | ptp.h | 47 struct hwtstamp_config *tstamp;
|
/linux-6.3-rc2/drivers/net/dsa/hirschmann/ |
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.3-rc2/tools/testing/selftests/net/ |
A D | .gitignore | 9 hwtstamp_config
|
A D | hwtstamp_config.c | 89 struct hwtstamp_config config; in main()
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/ |
A D | mlx4_en.h | 397 struct hwtstamp_config hwtstamp_config; member 620 struct hwtstamp_config hwtstamp_config; member 790 struct hwtstamp_config ts_config,
|
A 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()
|
A 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() 2480 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get() 3298 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev() 3299 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev() 3300 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev() 3500 struct hwtstamp_config ts_config, in mlx4_en_reset_config() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/ |
A D | xdp_hw_metadata.c | 288 static void hwtstamp_ioctl(int op, const char *ifname, struct hwtstamp_config *cfg) in hwtstamp_ioctl() 307 static struct hwtstamp_config saved_hwtstamp_cfg; 317 struct hwtstamp_config cfg = { in hwtstamp_enable()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | net_tstamp.h | 76 struct hwtstamp_config { struct
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/ |
A D | lan966x_ptp.c | 253 struct hwtstamp_config cfg; in lan966x_ptp_setup_traps() 267 struct hwtstamp_config cfg; in lan966x_ptp_hwtstamp_set() 313 memcpy(&phc->hwtstamp_config, &cfg, sizeof(cfg)); in lan966x_ptp_hwtstamp_set() 325 return copy_to_user(ifr->ifr_data, &phc->hwtstamp_config, in lan966x_ptp_hwtstamp_get() 326 sizeof(phc->hwtstamp_config)) ? -EFAULT : 0; in lan966x_ptp_hwtstamp_get() 1013 phc->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in lan966x_ptp_phc_init()
|
/linux-6.3-rc2/drivers/net/ethernet/mscc/ |
A 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-6.3-rc2/drivers/net/dsa/mv88e6xxx/ |
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()
|
/linux-6.3-rc2/drivers/net/ethernet/fungible/funeth/ |
A D | funeth.h | 124 struct hwtstamp_config hwtstamp_cfg;
|