Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/virtio/
H A Dmain.c21 static int virtiovf_pci_open_device(struct vfio_device *core_vdev) in virtiovf_pci_open_device() argument
23 struct virtiovf_pci_core_device *virtvdev = container_of(core_vdev, in virtiovf_pci_open_device()
45 static void virtiovf_pci_close_device(struct vfio_device *core_vdev) in virtiovf_pci_close_device() argument
47 struct virtiovf_pci_core_device *virtvdev = container_of(core_vdev, in virtiovf_pci_close_device()
51 vfio_pci_core_close_device(core_vdev); in virtiovf_pci_close_device()
55 static int virtiovf_pci_init_device(struct vfio_device *core_vdev) in virtiovf_pci_init_device() argument
57 struct virtiovf_pci_core_device *virtvdev = container_of(core_vdev, in virtiovf_pci_init_device()
61 ret = vfio_pci_core_init_dev(core_vdev); in virtiovf_pci_init_device()
73 static void virtiovf_pci_core_release_dev(struct vfio_device *core_vdev) in virtiovf_pci_core_release_dev() argument
76 struct virtiovf_pci_core_device *virtvdev = container_of(core_vdev, in virtiovf_pci_core_release_dev()
[all …]
/linux/include/linux/
H A Dvfio_pci_core.h166 void vfio_pci_core_close_device(struct vfio_device *core_vdev);
167 int vfio_pci_core_init_dev(struct vfio_device *core_vdev);
168 void vfio_pci_core_release_dev(struct vfio_device *core_vdev);
174 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
178 int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev,
181 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
183 ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
188 int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
189 void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
190 int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
[all …]
/linux/drivers/vfio/platform/
H 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 int vfio_platform_ioctl_get_region_info(struct vfio_device *core_vdev,
91 ssize_t vfio_platform_read(struct vfio_device *core_vdev,
94 ssize_t vfio_platform_write(struct vfio_device *core_vdev,
97 int vfio_platform_mmap(struct vfio_device *core_vdev,
H 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()
H 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()
93 static void vfio_amba_release_dev(struct vfio_device *core_vdev) in vfio_amba_release_dev() argument
96 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_release_dev()
H 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 int vfio_platform_ioctl_get_region_info(struct vfio_device *core_vdev, in vfio_platform_ioctl_get_region_info() argument
280 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_ioctl_get_region_info()
293 long vfio_platform_ioctl(struct vfio_device *core_vdev, in vfio_platform_ioctl() argument
297 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_ioctl()
441 ssize_t vfio_platform_read(struct vfio_device *core_vdev, in vfio_platform_read() argument
445 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_read()
[all …]
/linux/drivers/vfio/pci/
H A Dvfio_pci.c103 static int vfio_pci_open_device(struct vfio_device *core_vdev) in vfio_pci_open_device() argument
106 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_open_device()
128 static int vfio_pci_init_dev(struct vfio_device *core_vdev) in vfio_pci_init_dev() argument
131 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_init_dev()
146 return vfio_pci_core_init_dev(core_vdev); in vfio_pci_init_dev()
H A Dvfio_pci_core.c108 struct vfio_device *core_vdev = container_of(dev, struct vfio_device, in vfio_pci_core_debugfs_private() local
111 return container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_debugfs_private()
818 void vfio_pci_core_close_device(struct vfio_device *core_vdev) in vfio_pci_core_close_device() argument
821 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_close_device()
1130 int vfio_pci_ioctl_get_region_info(struct vfio_device *core_vdev, in vfio_pci_ioctl_get_region_info() argument
1135 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_ioctl_get_region_info()
1555 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd, in vfio_pci_core_ioctl() argument
1559 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_ioctl()
1683 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf, in vfio_pci_core_read() argument
1687 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_read()
[all …]