Searched refs:mlx5e_dev (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 10 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 …]
|
H A D | devlink.h | 10 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);
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 5988 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in mlx5e_resume() local 5989 struct mlx5e_priv *priv = mlx5e_dev->priv; in mlx5e_resume() 6012 struct mlx5e_dev *mlx5e_dev = auxiliary_get_drvdata(adev); in mlx5e_suspend() local 6013 struct mlx5e_priv *priv = mlx5e_dev->priv; in mlx5e_suspend() 6034 struct mlx5e_dev *mlx5e_dev; in mlx5e_probe() local 6040 mlx5e_dev = mlx5e_create_devlink(&adev->dev, mdev); in mlx5e_probe() 6041 if (IS_ERR(mlx5e_dev)) in mlx5e_probe() 6042 return PTR_ERR(mlx5e_dev); in mlx5e_probe() 6043 auxiliary_set_drvdata(adev, mlx5e_dev); in mlx5e_probe() 6045 err = mlx5e_devlink_port_register(mlx5e_dev, mdev); in mlx5e_probe() [all …]
|
H A D | en.h | 942 struct mlx5e_dev { struct
|