Searched refs:madev (Results 1 – 2 of 2) sorted by relevance
301 struct mlx5_adev *madev; in add_adev() local304 madev = kzalloc(sizeof(*madev), GFP_KERNEL); in add_adev()305 if (!madev) in add_adev()308 adev = &madev->adev; in add_adev()313 madev->mdev = dev; in add_adev()314 madev->idx = idx; in add_adev()318 kfree(madev); in add_adev()327 return madev; in add_adev()561 struct mlx5_core_dev *mdev = madev->mdev; in next_phys_dev()581 struct mlx5_adev *madev; in mlx5_get_next_phys_dev() local[all …]
2445 struct mlx5_adev *madev; member2541 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add()2667 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5v_probe() local2668 struct mlx5_core_dev *mdev = madev->mdev; in mlx5v_probe()2680 mgtdev->madev = madev; in mlx5v_probe()
Completed in 159 milliseconds