Home
last modified time | relevance | path

Searched refs:madev (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Ddev.c310 struct mlx5_adev *madev; in add_adev() local
313 madev = kzalloc(sizeof(*madev), GFP_KERNEL); in add_adev()
314 if (!madev) in add_adev()
317 adev = &madev->adev; in add_adev()
322 madev->mdev = dev; in add_adev()
323 madev->idx = idx; in add_adev()
327 kfree(madev); in add_adev()
336 return madev; in add_adev()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_main.c239 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_en_remove() local
240 struct mlx4_dev *dev = madev->mdev; in mlx4_en_remove()
267 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_en_probe() local
268 struct mlx4_dev *dev = madev->mdev; in mlx4_en_probe()
/linux/drivers/infiniband/hw/mana/
H A Ddevice.c110 struct mana_adev *madev = container_of(adev, struct mana_adev, adev); in mana_ib_probe() local
111 struct gdma_context *gc = madev->mdev->gdma_context; in mana_ib_probe()
113 struct gdma_dev *mdev = madev->mdev; in mana_ib_probe()
/linux/drivers/fwctl/mlx5/
H A Dmain.c367 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5ctl_probe() local
368 struct mlx5_core_dev *mdev = madev->mdev; in mlx5ctl_probe()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c3218 struct mana_adev *madev = container_of(dev, struct mana_adev, adev.dev); in adev_release() local
3220 kfree(madev); in adev_release()
3238 struct mana_adev *madev; in add_adev() local
3241 madev = kzalloc(sizeof(*madev), GFP_KERNEL); in add_adev()
3242 if (!madev) in add_adev()
3245 adev = &madev->adev; in add_adev()
3254 madev->mdev = gd; in add_adev()
3260 /* madev is owned by the auxiliary device */ in add_adev()
3261 madev in add_adev()
[all...]
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c2616 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_ib_probe() local
2617 struct mlx4_dev *dev = madev->mdev; in mlx4_ib_probe()
2979 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_ib_remove() local
2980 struct mlx4_dev *dev = madev->mdev; in mlx4_ib_remove()