Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c115 struct mlx4_adev *madev; in add_adev() local
118 madev = kzalloc_obj(*madev); 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()
190 struct mlx4_adev *madev = priv->adev[i]; in mlx4_do_bond() local
194 if (!madev) in mlx4_do_bond()
[all …]
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/fwctl/mlx5/
H A Dmain.c374 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5ctl_probe() local
375 struct mlx5_core_dev *mdev = madev->mdev; in mlx5ctl_probe()
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c3406 struct mana_adev *madev = container_of(dev, struct mana_adev, adev.dev); in adev_release() local
3408 kfree(madev); in adev_release()
3426 struct mana_adev *madev; in add_adev() local
3429 madev = kzalloc_obj(*madev); in add_adev()
3430 if (!madev) in add_adev()
3433 adev = &madev->adev; in add_adev()
3442 madev->mdev = gd; in add_adev()
3449 madev = NULL; in add_adev()
3466 kfree(madev); in add_adev()
/linux/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.c3774 struct mlx5_adev *madev; member
3847 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add()
4101 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5v_probe() local
4102 struct mlx5_core_dev *mdev = madev->mdev; in mlx5v_probe()
4120 mgtdev->madev = madev; in mlx5v_probe()
/linux/drivers/infiniband/hw/mlx4/
H A Dmain.c2614 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_ib_probe() local
2615 struct mlx4_dev *dev = madev->mdev; in mlx4_ib_probe()
2975 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_ib_remove() local
2976 struct mlx4_dev *dev = madev->mdev; in mlx4_ib_remove()