Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A 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()
A 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()
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 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()
A Dtsnep.h168 struct hwtstamp_config hwtstamp_config; member
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/
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()
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()
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.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_ptp.c80 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 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()
A Dhclge_ptp.h65 struct hwtstamp_config ts_cfg;
/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
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.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/
A Dtrap.h25 struct hwtstamp_config *tstamp;
A Dptp.h47 struct hwtstamp_config *tstamp;
/linux-6.3-rc2/drivers/net/dsa/hirschmann/
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.3-rc2/tools/testing/selftests/net/
A D.gitignore9 hwtstamp_config
A Dhwtstamp_config.c89 struct hwtstamp_config config; in main()
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dmlx4_en.h397 struct hwtstamp_config hwtstamp_config; member
620 struct hwtstamp_config hwtstamp_config; member
790 struct hwtstamp_config ts_config,
A 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()
A 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()
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 Dxdp_hw_metadata.c288 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 Dnet_tstamp.h76 struct hwtstamp_config { struct
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_ptp.c253 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 Docelot_ptp.c479 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 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.3-rc2/drivers/net/ethernet/fungible/funeth/
A Dfuneth.h124 struct hwtstamp_config hwtstamp_cfg;

Completed in 46 milliseconds

12345