Home
last modified time | relevance | path

Searched refs:mlx5e_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c10 struct mlx5e_dev *mlx5e_create_devlink(struct device *dev, in mlx5e_create_devlink()
13 struct mlx5e_dev *mlx5e_dev; in mlx5e_create_devlink() local
16 devlink = devlink_alloc_ns(&mlx5e_devlink_ops, sizeof(*mlx5e_dev), in mlx5e_create_devlink()
24 void mlx5e_destroy_devlink(struct mlx5e_dev *mlx5e_dev) in mlx5e_destroy_devlink() argument
26 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_destroy_devlink()
42 int mlx5e_devlink_port_register(struct mlx5e_dev *mlx5e_dev, in mlx5e_devlink_port_register() argument
45 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_devlink_port_register()
65 devlink_port_attrs_set(&mlx5e_dev->dl_port, &attrs); in mlx5e_devlink_port_register()
67 return devlink_port_register(devlink, &mlx5e_dev->dl_port, in mlx5e_devlink_port_register()
71 void mlx5e_devlink_port_unregister(struct mlx5e_dev *mlx5e_dev) in mlx5e_devlink_port_unregister() argument
[all …]
Ddevlink.h10 struct mlx5e_dev *mlx5e_create_devlink(struct device *dev,
12 void mlx5e_destroy_devlink(struct mlx5e_dev *mlx5e_dev);
13 int mlx5e_devlink_port_register(struct mlx5e_dev *mlx5e_dev,
15 void mlx5e_devlink_port_unregister(struct mlx5e_dev *mlx5e_dev);
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5985 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in mlx5e_resume() local
5986 struct mlx5e_priv *priv = mlx5e_dev->priv; in mlx5e_resume()
6009 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in mlx5e_suspend() local
6010 struct mlx5e_priv *priv = mlx5e_dev->priv; in mlx5e_suspend()
6031 struct mlx5e_dev *mlx5e_dev; in mlx5e_probe() local
6037 mlx5e_dev = mlx5e_create_devlink(&adev->dev, mdev); in mlx5e_probe()
6038 if (IS_ERR(mlx5e_dev)) in mlx5e_probe()
6039 return PTR_ERR(mlx5e_dev); in mlx5e_probe()
6040 auxiliary_set_drvdata(adev, mlx5e_dev); in mlx5e_probe()
6042 err = mlx5e_devlink_port_register(mlx5e_dev, mdev); in mlx5e_probe()
[all …]
Den.h942 struct mlx5e_dev { struct