Home
last modified time | relevance | path

Searched refs:VFIO_REGION_INFO_FLAG_WRITE (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/vfio/cdx/
H A Dmain.c40 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_WRITE; in vfio_cdx_open_device()
160 if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE) && in vfio_cdx_mmap()
/openbmc/linux/drivers/s390/cio/
H A Dvfio_ccw_async.c85 VFIO_REGION_INFO_FLAG_WRITE, in vfio_ccw_register_async_dev_regions()
H A Dvfio_ccw_ops.c327 | VFIO_REGION_INFO_FLAG_WRITE; in vfio_ccw_mdev_get_region_info()
/openbmc/linux/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c52 vdev->regions[i].flags |= VFIO_REGION_INFO_FLAG_WRITE; in vfio_fsl_mc_open_device()
336 if (!(region->flags & VFIO_REGION_INFO_FLAG_WRITE)) in vfio_fsl_mc_write()
412 if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE) in vfio_fsl_mc_mmap()
/openbmc/linux/drivers/vfio/platform/
H A Dvfio_platform_common.c163 VFIO_REGION_INFO_FLAG_WRITE; in vfio_platform_regions_init()
529 if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE)) in vfio_platform_write()
588 if (!(vdev->regions[index].flags & VFIO_REGION_INFO_FLAG_WRITE) in vfio_platform_mmap()
/openbmc/linux/samples/vfio-mdev/
H A Dmdpy.c448 VFIO_REGION_INFO_FLAG_WRITE); in mdpy_get_region_info()
455 VFIO_REGION_INFO_FLAG_WRITE | in mdpy_get_region_info()
H A Dmbochs.c1046 VFIO_REGION_INFO_FLAG_WRITE); in mbochs_get_region_info()
1052 VFIO_REGION_INFO_FLAG_WRITE | in mbochs_get_region_info()
1059 VFIO_REGION_INFO_FLAG_WRITE); in mbochs_get_region_info()
1066 VFIO_REGION_INFO_FLAG_WRITE | in mbochs_get_region_info()
H A Dmtty.c1169 VFIO_REGION_INFO_FLAG_WRITE; in mtty_get_region_info()
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dkvmgt.c606 VFIO_REGION_INFO_FLAG_WRITE | in intel_gvt_set_edid()
1185 VFIO_REGION_INFO_FLAG_WRITE; in intel_vgpu_ioctl()
1196 VFIO_REGION_INFO_FLAG_WRITE; in intel_vgpu_ioctl()
1208 VFIO_REGION_INFO_FLAG_WRITE; in intel_vgpu_ioctl()
/openbmc/linux/include/uapi/linux/
H A Dvfio.h275 #define VFIO_REGION_INFO_FLAG_WRITE (1 << 1) /* Region supports write */ macro
/openbmc/qemu/linux-headers/linux/
H A Dvfio.h275 #define VFIO_REGION_INFO_FLAG_WRITE (1 << 1) /* Region supports write */ macro
/openbmc/qemu/hw/vfio/
H A Dhelpers.c406 prot |= region->flags & VFIO_REGION_INFO_FLAG_WRITE ? PROT_WRITE : 0; in vfio_region_mmap()
H A Dpci.c2681 !(reg_info->flags & VFIO_REGION_INFO_FLAG_WRITE) || in vfio_populate_vga()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_core.c1032 VFIO_REGION_INFO_FLAG_WRITE; in vfio_pci_ioctl_get_region_info()
1043 VFIO_REGION_INFO_FLAG_WRITE; in vfio_pci_ioctl_get_region_info()
1096 VFIO_REGION_INFO_FLAG_WRITE; in vfio_pci_ioctl_get_region_info()
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c1295 VFIO_REGION_INFO_FLAG_WRITE | in hisi_acc_vfio_pci_ioctl()