Home
last modified time | relevance | path

Searched refs:core_vdev (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/include/linux/
A Dvfio_pci_core.h108 void vfio_pci_core_close_device(struct vfio_device *core_vdev);
109 int vfio_pci_core_init_dev(struct vfio_device *core_vdev);
110 void vfio_pci_core_release_dev(struct vfio_device *core_vdev);
116 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
120 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
122 ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
124 int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
125 void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
126 int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
/linux-6.3-rc2/drivers/vfio/fsl-mc/
A Dvfio_fsl_mc.c22 static int vfio_fsl_mc_open_device(struct vfio_device *core_vdev) in vfio_fsl_mc_open_device() argument
25 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_open_device()
100 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_close_device()
120 static long vfio_fsl_mc_ioctl(struct vfio_device *core_vdev, in vfio_fsl_mc_ioctl() argument
125 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_ioctl()
244 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_read()
323 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_write()
384 static int vfio_fsl_mc_mmap(struct vfio_device *core_vdev, in vfio_fsl_mc_mmap() argument
388 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_mmap()
515 container_of(core_vdev, struct vfio_fsl_mc_device, vdev); in vfio_fsl_mc_init_dev()
[all …]
/linux-6.3-rc2/drivers/vfio/platform/
A Dvfio_platform_private.h84 int vfio_platform_open_device(struct vfio_device *core_vdev);
85 void vfio_platform_close_device(struct vfio_device *core_vdev);
86 long vfio_platform_ioctl(struct vfio_device *core_vdev,
88 ssize_t vfio_platform_read(struct vfio_device *core_vdev,
91 ssize_t vfio_platform_write(struct vfio_device *core_vdev,
94 int vfio_platform_mmap(struct vfio_device *core_vdev,
A Dvfio_platform.c40 static int vfio_platform_init_dev(struct vfio_device *core_vdev) in vfio_platform_init_dev() argument
43 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_init_dev()
44 struct platform_device *pdev = to_platform_device(core_vdev->dev); in vfio_platform_init_dev()
80 static void vfio_platform_release_dev(struct vfio_device *core_vdev) in vfio_platform_release_dev() argument
83 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_release_dev()
A Dvfio_amba.c44 static int vfio_amba_init_dev(struct vfio_device *core_vdev) in vfio_amba_init_dev() argument
47 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_init_dev()
48 struct amba_device *adev = to_amba_device(core_vdev->dev); in vfio_amba_init_dev()
91 static void vfio_amba_release_dev(struct vfio_device *core_vdev) in vfio_amba_release_dev() argument
94 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_release_dev()
A Dvfio_platform_common.c217 void vfio_platform_close_device(struct vfio_device *core_vdev) in vfio_platform_close_device() argument
220 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_close_device()
237 int vfio_platform_open_device(struct vfio_device *core_vdev) in vfio_platform_open_device() argument
240 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_open_device()
275 long vfio_platform_ioctl(struct vfio_device *core_vdev, in vfio_platform_ioctl() argument
279 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_ioctl()
440 ssize_t vfio_platform_read(struct vfio_device *core_vdev, in vfio_platform_read() argument
444 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_read()
522 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_write()
562 int vfio_platform_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma) in vfio_platform_mmap() argument
[all …]
/linux-6.3-rc2/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c1195 container_of(core_vdev, struct vfio_pci_core_device, vdev); in hisi_acc_pci_rw_access_check()
1215 container_of(core_vdev, struct vfio_pci_core_device, vdev); in hisi_acc_vfio_pci_mmap()
1232 return vfio_pci_core_mmap(core_vdev, vma); in hisi_acc_vfio_pci_mmap()
1246 return vfio_pci_core_write(core_vdev, buf, new_count, ppos); in hisi_acc_vfio_pci_write()
1260 return vfio_pci_core_read(core_vdev, buf, new_count, ppos); in hisi_acc_vfio_pci_read()
1299 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in hisi_acc_vfio_pci_ioctl()
1313 if (core_vdev->mig_ops) { in hisi_acc_vfio_pci_open_device()
1333 vfio_pci_core_close_device(core_vdev); in hisi_acc_vfio_pci_close_device()
1346 struct pci_dev *pdev = to_pci_dev(core_vdev->dev); in hisi_acc_vfio_pci_migrn_init_dev()
1355 core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops; in hisi_acc_vfio_pci_migrn_init_dev()
[all …]
/linux-6.3-rc2/drivers/vfio/pci/
A Dvfio_pci_core.c682 void vfio_pci_core_close_device(struct vfio_device *core_vdev) in vfio_pci_core_close_device() argument
685 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_close_device()
1381 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_ioctl()
1505 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_read()
1518 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_write()
1741 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_mmap()
1813 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_request()
1924 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_match()
2089 int vfio_pci_core_init_dev(struct vfio_device *core_vdev) in vfio_pci_core_init_dev() argument
2092 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_init_dev()
[all …]
A Dvfio_pci.c101 static int vfio_pci_open_device(struct vfio_device *core_vdev) in vfio_pci_open_device() argument
104 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_open_device()
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dmain.c1250 static int mlx5vf_pci_open_device(struct vfio_device *core_vdev) in mlx5vf_pci_open_device() argument
1253 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_open_device()
1267 static void mlx5vf_pci_close_device(struct vfio_device *core_vdev) in mlx5vf_pci_close_device() argument
1270 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_close_device()
1273 vfio_pci_core_close_device(core_vdev); in mlx5vf_pci_close_device()
1288 static int mlx5vf_pci_init_dev(struct vfio_device *core_vdev) in mlx5vf_pci_init_dev() argument
1290 struct mlx5vf_pci_core_device *mvdev = container_of(core_vdev, in mlx5vf_pci_init_dev()
1294 ret = vfio_pci_core_init_dev(core_vdev); in mlx5vf_pci_init_dev()
1304 static void mlx5vf_pci_release_dev(struct vfio_device *core_vdev) in mlx5vf_pci_release_dev() argument
1306 struct mlx5vf_pci_core_device *mvdev = container_of(core_vdev, in mlx5vf_pci_release_dev()
[all …]

Completed in 22 milliseconds