Home
last modified time | relevance | path

Searched refs:hwtstamp_config (Results 1 - 25 of 183) sorted by relevance

12345678

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H 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()
H 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()
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_confi in mlxsw_sp2_ptp_disable()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.h52 struct hwtstamp_config *config);
55 struct hwtstamp_config *config);
111 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_get()
118 struct hwtstamp_config *config) in mlxsw_sp1_ptp_hwtstamp_set()
182 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_get()
189 struct hwtstamp_config *config) in mlxsw_sp2_ptp_hwtstamp_set()
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/
H 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()
H A Dtsnep.h179 struct hwtstamp_config hwtstamp_config; member
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H 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()
H A Daq_main.c229 struct hwtstamp_config *config) in aq_ndev_config_hwtstamp()
266 struct hwtstamp_config config; in aq_ndev_hwtstamp_set()
289 struct hwtstamp_config config; in aq_ndev_hwtstamp_get()
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H 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()
/kernel/linux/linux-6.6/include/linux/
H A Dnet_tstamp.h14 * struct kernel_hwtstamp_config - Kernel copy of struct hwtstamp_config
16 * @flags: see struct hwtstamp_config
17 * @tx_type: see struct hwtstamp_config
18 * @rx_filter: see struct hwtstamp_config
27 * timestamping configuration, over the inextensible struct hwtstamp_config
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()
/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/
H 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h405 struct hwtstamp_config hwtstamp_config; member
630 struct hwtstamp_config hwtstamp_config; member
800 struct hwtstamp_config ts_config,
H A Den_cq.c136 if ((cq->type != RX && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
137 (cq->type == RX && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
H A Den_netdev.c2211 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2212 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv()
2261 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv()
2262 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv()
2415 struct hwtstamp_config config; in mlx4_en_hwtstamp_set()
2475 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get()
2476 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get()
2555 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/pensando/ionic/
H 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4_en.h398 struct hwtstamp_config hwtstamp_config; member
622 struct hwtstamp_config hwtstamp_config; member
792 struct hwtstamp_config ts_config,
H 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()
H 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()
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()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtrap.h25 struct hwtstamp_config *tstamp;
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dnet_tstamp.h50 * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter
62 struct hwtstamp_config { struct
68 /* possible values for hwtstamp_config->tx_type */
106 /* possible values for hwtstamp_config->rx_filter */
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dnet_tstamp.h43 struct hwtstamp_config { struct
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dnet_tstamp.h43 struct hwtstamp_config { struct
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dnet_tstamp.h34 struct hwtstamp_config { struct
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dnet_tstamp.h64 * struct hwtstamp_config - %SIOCGHWTSTAMP and %SIOCSHWTSTAMP parameter
76 struct hwtstamp_config { struct
82 /* possible values for hwtstamp_config->flags */
97 /* possible values for hwtstamp_config->tx_type */
135 /* possible values for hwtstamp_config->rx_filter */
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c92 struct hwtstamp_config *config) in mv88e6xxx_set_hwtstamp_config()
180 struct hwtstamp_config config; in mv88e6xxx_port_hwtstamp_set()
205 struct hwtstamp_config *config = &ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get()

Completed in 22 milliseconds

12345678