Searched refs:VFIO_REGION_INFO_FLAG_WRITE (Results 1 – 15 of 15) sorted by relevance
40 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()
85 VFIO_REGION_INFO_FLAG_WRITE, in vfio_ccw_register_async_dev_regions()
327 | VFIO_REGION_INFO_FLAG_WRITE; in vfio_ccw_mdev_get_region_info()
52 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()
163 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()
1046 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()
448 VFIO_REGION_INFO_FLAG_WRITE); in mdpy_get_region_info()455 VFIO_REGION_INFO_FLAG_WRITE | in mdpy_get_region_info()
1169 VFIO_REGION_INFO_FLAG_WRITE; in mtty_get_region_info()
606 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()
275 #define VFIO_REGION_INFO_FLAG_WRITE (1 << 1) /* Region supports write */ macro
1032 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()
407 prot |= region->flags & VFIO_REGION_INFO_FLAG_WRITE ? PROT_WRITE : 0; in vfio_region_mmap()
2681 !(reg_info->flags & VFIO_REGION_INFO_FLAG_WRITE) || in vfio_populate_vga()
1295 VFIO_REGION_INFO_FLAG_WRITE | in hisi_acc_vfio_pci_ioctl()