Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dsd.h24 void mlx5_sd_put_adev(struct auxiliary_device *actual_adev,
H A Dsd.c1087 void mlx5_sd_put_adev(struct auxiliary_device *actual_adev, in mlx5_sd_put_adev() argument
1090 if (actual_adev != adev) { in mlx5_sd_put_adev()
1091 device_unlock(&actual_adev->dev); in mlx5_sd_put_adev()
1092 put_device(&actual_adev->dev); in mlx5_sd_put_adev()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6820 struct auxiliary_device *actual_adev; in mlx5e_resume() local
6827 actual_adev = mlx5_sd_get_adev(mdev, adev, edev->idx); in mlx5e_resume()
6828 if (actual_adev) { in mlx5e_resume()
6829 err = _mlx5e_resume(actual_adev); in mlx5e_resume()
6830 mlx5_sd_put_adev(actual_adev, adev); in mlx5e_resume()
6863 struct auxiliary_device *actual_adev; in mlx5e_suspend() local
6866 actual_adev = mlx5_sd_get_adev(mdev, adev, edev->idx); in mlx5e_suspend()
6867 if (actual_adev) in mlx5e_suspend()
6868 err = _mlx5e_suspend(actual_adev, false); in mlx5e_suspend()
6871 if (actual_adev) in mlx5e_suspend()
[all …]