Home
last modified time | relevance | path

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

/linux-6.12.1/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
17 devlink = devlink_alloc_ns(&mlx5e_devlink_ops, sizeof(*mlx5e_dev), in mlx5e_create_devlink()
32 void mlx5e_destroy_devlink(struct mlx5e_dev *mlx5e_dev) in mlx5e_destroy_devlink() argument
34 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_destroy_devlink()
50 int mlx5e_devlink_port_register(struct mlx5e_dev *mlx5e_dev, in mlx5e_devlink_port_register() argument
53 struct devlink *devlink = priv_to_devlink(mlx5e_dev); in mlx5e_devlink_port_register()
73 devlink_port_attrs_set(&mlx5e_dev->dl_port, &attrs); in mlx5e_devlink_port_register()
75 return devlink_port_register(devlink, &mlx5e_dev->dl_port, in mlx5e_devlink_port_register()
79 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c6327 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in _mlx5e_resume() local
6328 struct mlx5e_priv *priv = mlx5e_dev->priv; in _mlx5e_resume()
6375 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in _mlx5e_suspend() local
6376 struct mlx5e_priv *priv = mlx5e_dev->priv; in _mlx5e_suspend()
6416 struct mlx5e_dev *mlx5e_dev; in _mlx5e_probe() local
6421 mlx5e_dev = mlx5e_create_devlink(&adev->dev, mdev); in _mlx5e_probe()
6422 if (IS_ERR(mlx5e_dev)) in _mlx5e_probe()
6423 return PTR_ERR(mlx5e_dev); in _mlx5e_probe()
6424 auxiliary_set_drvdata(adev, mlx5e_dev); in _mlx5e_probe()
6426 err = mlx5e_devlink_port_register(mlx5e_dev, mdev); in _mlx5e_probe()
[all …]
Den.h944 struct mlx5e_dev { struct