Lines Matching refs:region_info
436 struct vfio_region_info *region_info, in mdpy_get_region_info() argument
439 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info()
440 region_info->index != MDPY_DISPLAY_REGION) in mdpy_get_region_info()
443 switch (region_info->index) { in mdpy_get_region_info()
445 region_info->offset = 0; in mdpy_get_region_info()
446 region_info->size = MDPY_CONFIG_SPACE_SIZE; in mdpy_get_region_info()
447 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mdpy_get_region_info()
452 region_info->offset = MDPY_MEMORY_BAR_OFFSET; in mdpy_get_region_info()
453 region_info->size = mdev_state->memsize; in mdpy_get_region_info()
454 region_info->flags = (VFIO_REGION_INFO_FLAG_READ | in mdpy_get_region_info()
459 region_info->size = 0; in mdpy_get_region_info()
460 region_info->offset = 0; in mdpy_get_region_info()
461 region_info->flags = 0; in mdpy_get_region_info()