Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/virtio/
A Dmain.c140 core_vdev, struct virtiovf_pci_core_device, core_device.vdev); in virtiovf_pci_read_config()
150 ret = vfio_pci_core_read(core_vdev, buf, count, ppos); in virtiovf_pci_read_config()
225 core_vdev, struct virtiovf_pci_core_device, core_device.vdev); in virtiovf_pci_core_read()
233 return virtiovf_pci_read_config(core_vdev, buf, count, ppos); in virtiovf_pci_core_read()
238 return vfio_pci_core_read(core_vdev, buf, count, ppos); in virtiovf_pci_core_read()
272 return vfio_pci_core_write(core_vdev, buf, count, ppos); in virtiovf_pci_write_config()
293 return vfio_pci_core_write(core_vdev, buf, count, ppos); in virtiovf_pci_core_write()
320 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in virtiovf_pci_ioctl_get_region_info()
332 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in virtiovf_vfio_pci_core_ioctl()
414 ret = vfio_pci_core_init_dev(core_vdev); in virtiovf_pci_init_device()
[all …]
/linux/drivers/vfio/pci/nvgrace-gpu/
A Dmain.c89 nvgrace_gpu_init_fake_bar_emu_regs(core_vdev); in nvgrace_gpu_open_device()
118 vfio_pci_core_close_device(core_vdev); in nvgrace_gpu_close_device()
121 static int nvgrace_gpu_mmap(struct vfio_device *core_vdev, in nvgrace_gpu_mmap() argument
137 return vfio_pci_core_mmap(core_vdev, vma); in nvgrace_gpu_mmap()
223 return vfio_pci_core_ioctl(core_vdev, in nvgrace_gpu_ioctl_get_region_info()
289 nvgrace_gpu_init_fake_bar_emu_regs(core_vdev); in nvgrace_gpu_ioctl()
292 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in nvgrace_gpu_ioctl()
331 ret = vfio_pci_core_read(core_vdev, buf, count, ppos); in nvgrace_gpu_read_config_emu()
547 nvgrace_gpu_read(struct vfio_device *core_vdev, in nvgrace_gpu_read() argument
561 return vfio_pci_core_read(core_vdev, buf, count, ppos); in nvgrace_gpu_read()
[all …]
/linux/drivers/vfio/cdx/
A Dmain.c11 static int vfio_cdx_open_device(struct vfio_device *core_vdev) in vfio_cdx_open_device() argument
14 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_open_device()
15 struct cdx_device *cdx_dev = to_cdx_device(core_vdev->dev); in vfio_cdx_open_device()
42 ret = cdx_dev_reset(core_vdev->dev); in vfio_cdx_open_device()
60 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_close_device()
63 cdx_dev_reset(core_vdev->dev); in vfio_cdx_close_device()
73 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_bm_ctrl()
216 container_of(core_vdev, struct vfio_cdx_device, vdev); in vfio_cdx_ioctl()
229 return cdx_dev_reset(core_vdev->dev); in vfio_cdx_ioctl()
255 static int vfio_cdx_mmap(struct vfio_device *core_vdev, in vfio_cdx_mmap() argument
[all …]
/linux/include/linux/
A Dvfio_pci_core.h106 void vfio_pci_core_close_device(struct vfio_device *core_vdev);
107 int vfio_pci_core_init_dev(struct vfio_device *core_vdev);
108 void vfio_pci_core_release_dev(struct vfio_device *core_vdev);
114 long vfio_pci_core_ioctl(struct vfio_device *core_vdev, unsigned int cmd,
118 ssize_t vfio_pci_core_read(struct vfio_device *core_vdev, char __user *buf,
120 ssize_t vfio_pci_core_write(struct vfio_device *core_vdev, const char __user *buf,
122 int vfio_pci_core_mmap(struct vfio_device *core_vdev, struct vm_area_struct *vma);
123 void vfio_pci_core_request(struct vfio_device *core_vdev, unsigned int count);
124 int vfio_pci_core_match(struct vfio_device *core_vdev, char *buf);
/linux/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/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/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c1172 container_of(core_vdev, struct vfio_pci_core_device, vdev); in hisi_acc_pci_rw_access_check()
1192 container_of(core_vdev, struct vfio_pci_core_device, vdev); in hisi_acc_vfio_pci_mmap()
1209 return vfio_pci_core_mmap(core_vdev, vma); in hisi_acc_vfio_pci_mmap()
1223 return vfio_pci_core_write(core_vdev, buf, new_count, ppos); in hisi_acc_vfio_pci_write()
1237 return vfio_pci_core_read(core_vdev, buf, new_count, ppos); in hisi_acc_vfio_pci_read()
1276 return vfio_pci_core_ioctl(core_vdev, cmd, arg); in hisi_acc_vfio_pci_ioctl()
1290 if (core_vdev->mig_ops) { in hisi_acc_vfio_pci_open_device()
1310 vfio_pci_core_close_device(core_vdev); in hisi_acc_vfio_pci_close_device()
1323 struct pci_dev *pdev = to_pci_dev(core_vdev->dev); in hisi_acc_vfio_pci_migrn_init_dev()
1332 core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops; in hisi_acc_vfio_pci_migrn_init_dev()
[all …]
/linux/drivers/vfio/pci/qat/
A Dmain.c58 static int qat_vf_pci_open_device(struct vfio_device *core_vdev) in qat_vf_pci_open_device() argument
61 container_of(core_vdev, struct qat_vf_core_device, in qat_vf_pci_open_device()
108 struct qat_vf_core_device *qat_vdev = container_of(core_vdev, in qat_vf_pci_close_device()
113 vfio_pci_core_close_device(core_vdev); in qat_vf_pci_close_device()
550 struct qat_vf_core_device *qat_vdev = container_of(core_vdev, in qat_vf_pci_release_dev()
556 vfio_pci_core_release_dev(core_vdev); in qat_vf_pci_release_dev()
559 static int qat_vf_pci_init_dev(struct vfio_device *core_vdev) in qat_vf_pci_init_dev() argument
561 struct qat_vf_core_device *qat_vdev = container_of(core_vdev, in qat_vf_pci_init_dev()
569 core_vdev->mig_ops = &qat_vf_pci_mig_ops; in qat_vf_pci_init_dev()
571 ret = vfio_pci_core_init_dev(core_vdev); in qat_vf_pci_init_dev()
[all …]
/linux/drivers/vfio/pci/
A Dvfio_pci_core.c683 void vfio_pci_core_close_device(struct vfio_device *core_vdev) in vfio_pci_core_close_device() argument
686 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_close_device()
1463 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_ioctl()
1587 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_read()
1600 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_write()
1611 struct vfio_device *core_vdev = &vdev->vdev; in vfio_pci_zap_bars() local
1725 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_mmap()
1815 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_request()
1926 container_of(core_vdev, struct vfio_pci_core_device, vdev); in vfio_pci_core_match()
2092 int vfio_pci_core_init_dev(struct vfio_device *core_vdev) in vfio_pci_core_init_dev() argument
[all …]
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()
/linux/drivers/vfio/pci/mlx5/
A Dmain.c1315 static int mlx5vf_pci_open_device(struct vfio_device *core_vdev) in mlx5vf_pci_open_device() argument
1318 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_open_device()
1332 static void mlx5vf_pci_close_device(struct vfio_device *core_vdev) in mlx5vf_pci_close_device() argument
1335 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_close_device()
1338 vfio_pci_core_close_device(core_vdev); in mlx5vf_pci_close_device()
1353 static int mlx5vf_pci_init_dev(struct vfio_device *core_vdev) in mlx5vf_pci_init_dev() argument
1355 struct mlx5vf_pci_core_device *mvdev = container_of(core_vdev, in mlx5vf_pci_init_dev()
1359 ret = vfio_pci_core_init_dev(core_vdev); in mlx5vf_pci_init_dev()
1369 static void mlx5vf_pci_release_dev(struct vfio_device *core_vdev) in mlx5vf_pci_release_dev() argument
1371 struct mlx5vf_pci_core_device *mvdev = container_of(core_vdev, in mlx5vf_pci_release_dev()
[all …]

Completed in 28 milliseconds