Searched refs:madev (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| A D | intf.c | 115 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 D | en_main.c | 239 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/net/ethernet/mellanox/mlx5/core/ |
| A D | dev.c | 301 struct mlx5_adev *madev; in add_adev() local 304 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()
|
| /linux/drivers/infiniband/hw/mana/ |
| A D | device.c | 57 struct mana_adev *madev = container_of(adev, struct mana_adev, adev); in mana_ib_probe() local 58 struct gdma_dev *mdev = madev->mdev; in mana_ib_probe()
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| A D | mana_en.c | 2818 struct mana_adev *madev = container_of(dev, struct mana_adev, adev.dev); in adev_release() local 2820 kfree(madev); in adev_release() 2838 struct mana_adev *madev; in add_adev() local 2841 madev = kzalloc(sizeof(*madev), GFP_KERNEL); in add_adev() 2842 if (!madev) in add_adev() 2845 adev = &madev->adev; in add_adev() 2854 madev->mdev = gd; in add_adev() 2861 madev = NULL; in add_adev() 2876 kfree(madev); in add_adev()
|
| /linux/drivers/vdpa/mlx5/net/ |
| A D | mlx5_vnet.c | 3763 struct mlx5_adev *madev; member 3835 mdev = mgtdev->madev->mdev; in mlx5_vdpa_dev_add() 4080 struct mlx5_adev *madev = container_of(adev, struct mlx5_adev, adev); in mlx5v_probe() local 4081 struct mlx5_core_dev *mdev = madev->mdev; in mlx5v_probe() 4099 mgtdev->madev = madev; in mlx5v_probe()
|
| /linux/drivers/infiniband/hw/mlx4/ |
| A D | main.c | 2614 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() 2977 struct mlx4_adev *madev = container_of(adev, struct mlx4_adev, adev); in mlx4_ib_remove() local 2978 struct mlx4_dev *dev = madev->mdev; in mlx4_ib_remove()
|
Completed in 38 milliseconds