Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx4/
A Dintf.c115 struct mlx4_adev *madev; in add_adev() local
118 madev = kzalloc(sizeof(*madev), GFP_KERNEL); in add_adev()
119 if (!madev) in add_adev()
122 adev = &madev->adev; in add_adev()
127 madev->mdev = dev; in add_adev()
128 madev->idx = idx; in add_adev()
132 kfree(madev); in add_adev()
141 return madev; in add_adev()
194 if (!madev) in mlx4_do_bond()
197 device_lock(&madev->adev.dev); in mlx4_do_bond()
[all …]
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()
/drivers/net/ethernet/mellanox/mlx5/core/
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()
/drivers/infiniband/hw/mana/
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()
/drivers/fwctl/mlx5/
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()
/drivers/net/ethernet/microsoft/mana/
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()
3261 madev = NULL; in add_adev()
3278 kfree(madev); in add_adev()
/drivers/vdpa/mlx5/net/
A Dmlx5_vnet.c3765 struct mlx5_adev *madev; member
3837 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add()
4085 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5v_probe() local
4086 struct mlx5_core_dev *mdev = madev->mdev; in mlx5v_probe()
4104 mgtdev->madev = madev; in mlx5v_probe()
/drivers/infiniband/hw/mlx4/
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()

Completed in 31 milliseconds