Home
last modified time | relevance | path

Searched refs:vgtif_offset (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/i915/
Di915_pvinfo.h115 #define vgtif_offset(x) (offsetof(struct vgt_if, x)) macro
117 #define vgtif_reg(x) _MMIO(VGT_PVINFO_PAGE + vgtif_offset(x))
Di915_vgpu.c87 magic = readq(shared_area + vgtif_offset(magic)); in intel_vgpu_detect()
91 version_major = readw(shared_area + vgtif_offset(version_major)); in intel_vgpu_detect()
97 dev_priv->vgpu.caps = readl(shared_area + vgtif_offset(vgt_caps)); in intel_vgpu_detect()