Lines Matching defs:base
404 void *base = vgpu->region[i].data;
413 memcpy(buf, base + pos, count);
558 void *base;
565 base = vgpu_opregion(vgpu)->va;
566 if (!base)
569 if (memcmp(base, OPREGION_SIGNATURE, 16)) {
570 memunmap(base);
578 VFIO_REGION_INFO_FLAG_READ, base);
586 struct vfio_edid_region *base;
589 base = kzalloc(sizeof(*base), GFP_KERNEL);
590 if (!base)
594 base->vfio_edid_regs.edid_offset = EDID_BLOB_OFFSET;
595 base->vfio_edid_regs.edid_max_size = EDID_SIZE;
596 base->vfio_edid_regs.edid_size = EDID_SIZE;
597 base->vfio_edid_regs.max_xres = vgpu_edid_xres(port->id);
598 base->vfio_edid_regs.max_yres = vgpu_edid_yres(port->id);
599 base->edid_blob = port->edid->edid_block;
607 VFIO_REGION_INFO_FLAG_CAPS, base);