Lines Matching refs:hwtstamp_config
2221 memcpy(&dst->hwtstamp_config, &prof->hwtstamp_config, in mlx4_en_copy_priv()
2222 sizeof(dst->hwtstamp_config)); in mlx4_en_copy_priv()
2271 memcpy(&dst->hwtstamp_config, &src->hwtstamp_config, in mlx4_en_update_priv()
2272 sizeof(dst->hwtstamp_config)); in mlx4_en_update_priv()
2425 struct hwtstamp_config config; in mlx4_en_hwtstamp_set()
2485 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get()
2486 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get()
2565 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features()
3299 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev()
3300 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
3301 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev()
3495 struct hwtstamp_config ts_config, in mlx4_en_reset_config()
3505 if (priv->hwtstamp_config.tx_type == ts_config.tx_type && in mlx4_en_reset_config()
3506 priv->hwtstamp_config.rx_filter == ts_config.rx_filter && in mlx4_en_reset_config()
3513 (priv->hwtstamp_config.rx_filter != HWTSTAMP_FILTER_NONE)) { in mlx4_en_reset_config()
3525 memcpy(&new_prof.hwtstamp_config, &ts_config, sizeof(ts_config)); in mlx4_en_reset_config()