Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c1240 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in uplink_rep_async_event()
1284 priv->events_nb.notifier_call = uplink_rep_async_event; in mlx5e_uplink_rep_enable()
1285 mlx5_notifier_register(mdev, &priv->events_nb); in mlx5e_uplink_rep_enable()
1312 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.c152 struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); in async_event()
172 priv->events_nb.notifier_call = async_event; in mlx5e_enable_async_events()
173 mlx5_notifier_register(priv->mdev, &priv->events_nb); in mlx5e_enable_async_events()
178 mlx5_notifier_unregister(priv->mdev, &priv->events_nb); in mlx5e_disable_async_events()