Lines Matching refs:config_region_info
57 struct vfio_region_info config_region_info, bar_region_info[6]; member
242 s->config_region_info.offset, in qemu_vfio_pci_read_config()
243 s->config_region_info.size); in qemu_vfio_pci_read_config()
244 assert(QEMU_IS_ALIGNED(s->config_region_info.offset + ofs, size)); in qemu_vfio_pci_read_config()
246 pread(s->device, buf, size, s->config_region_info.offset + ofs) in qemu_vfio_pci_read_config()
256 s->config_region_info.offset, in qemu_vfio_pci_write_config()
257 s->config_region_info.size); in qemu_vfio_pci_write_config()
258 assert(QEMU_IS_ALIGNED(s->config_region_info.offset + ofs, size)); in qemu_vfio_pci_write_config()
260 pwrite(s->device, buf, size, s->config_region_info.offset + ofs) in qemu_vfio_pci_write_config()
421 s->config_region_info = (struct vfio_region_info) { in qemu_vfio_init_pci()
425 if (ioctl(s->device, VFIO_DEVICE_GET_REGION_INFO, &s->config_region_info)) { in qemu_vfio_init_pci()
430 trace_qemu_vfio_region_info("config", s->config_region_info.offset, in qemu_vfio_init_pci()
431 s->config_region_info.size, in qemu_vfio_init_pci()
432 s->config_region_info.cap_offset); in qemu_vfio_init_pci()