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.c609 void mlx5_sd_put_adev(struct auxiliary_device *actual_adev, in mlx5_sd_put_adev() argument
612 if (actual_adev != adev) { in mlx5_sd_put_adev()
613 device_unlock(&actual_adev->dev); in mlx5_sd_put_adev()
614 put_device(&actual_adev->dev); in mlx5_sd_put_adev()
H A Dsd.h18 void mlx5_sd_put_adev(struct auxiliary_device *actual_adev,
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c6769 struct auxiliary_device *actual_adev; in mlx5e_resume() local
6776 actual_adev = mlx5_sd_get_adev(mdev, adev, edev->idx); in mlx5e_resume()
6777 if (actual_adev) { in mlx5e_resume()
6778 err = _mlx5e_resume(actual_adev); in mlx5e_resume()
6779 mlx5_sd_put_adev(actual_adev, adev); in mlx5e_resume()
6812 struct auxiliary_device *actual_adev; in mlx5e_suspend() local
6815 actual_adev = mlx5_sd_get_adev(mdev, adev, edev->idx); in mlx5e_suspend()
6816 if (actual_adev) in mlx5e_suspend()
6817 err = _mlx5e_suspend(actual_adev, false); in mlx5e_suspend()
6820 if (actual_adev) in mlx5e_suspend()
[all …]