Lines Matching refs:core_device
29 struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev); in mlx5vf_drvdata() local
31 return container_of(core_device, struct mlx5vf_pci_core_device, in mlx5vf_drvdata()
32 core_device); in mlx5vf_drvdata()
1164 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_set_device_state()
1195 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_data_size()
1212 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_device_state()
1247 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_open_device()
1248 struct vfio_pci_core_device *vdev = &mvdev->core_device; in mlx5vf_pci_open_device()
1264 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_close_device()
1285 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_init_dev()
1301 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_release_dev()
1332 mvdev = vfio_alloc_device(mlx5vf_pci_core_device, core_device.vdev, in mlx5vf_pci_probe()
1337 dev_set_drvdata(&pdev->dev, &mvdev->core_device); in mlx5vf_pci_probe()
1338 ret = vfio_pci_core_register_device(&mvdev->core_device); in mlx5vf_pci_probe()
1344 vfio_put_device(&mvdev->core_device.vdev); in mlx5vf_pci_probe()
1352 vfio_pci_core_unregister_device(&mvdev->core_device); in mlx5vf_pci_remove()
1353 vfio_put_device(&mvdev->core_device.vdev); in mlx5vf_pci_remove()