Home
last modified time | relevance | path

Searched refs:events_nb (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c1289 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in uplink_rep_async_event()
1333 priv->events_nb.notifier_call = uplink_rep_async_event; in mlx5e_uplink_rep_enable()
1334 mlx5_notifier_register(mdev, &priv->events_nb); in mlx5e_uplink_rep_enable()
1361 mlx5_notifier_unregister(mdev, &priv->events_nb); in mlx5e_uplink_rep_disable()
H A Den.h911 struct notifier_block events_nb; member
H A Den_main.c178 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in async_event()
198 priv->events_nb.notifier_call = async_event; in mlx5e_enable_async_events()
199 mlx5_notifier_register(priv->mdev, &priv->events_nb); in mlx5e_enable_async_events()
204 mlx5_notifier_unregister(priv->mdev, &priv->events_nb); in mlx5e_disable_async_events()