Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/drm/i915/
H A Di915_vgpu.c102 magic = bus_space_read_8(bst, bsh, (bus_size_t)vgtif_offset(magic)); in i915_detect_vgpu()
104 magic = bus_space_read_4(bst, bsh, (bus_size_t)vgtif_offset(magic)); in i915_detect_vgpu()
106 (bus_size_t)vgtif_offset(magic) + 4) in i915_detect_vgpu()
115 magic = readq(shared_area + vgtif_offset(magic)); in i915_detect_vgpu()
123 (bus_size_t)vgtif_offset(version_major)); in i915_detect_vgpu()
125 version_major = readw(shared_area + vgtif_offset(version_major)); in i915_detect_vgpu()
134 (bus_size_t)vgtif_offset(vgt_caps)); in i915_detect_vgpu()
136 dev_priv->vgpu.caps = readl(shared_area + vgtif_offset(vgt_caps)); in i915_detect_vgpu()
H A Di915_pvinfo.h117 #define vgtif_offset(x) (offsetof(struct vgt_if, x)) macro
119 #define vgtif_reg(x) _MMIO(VGT_PVINFO_PAGE + vgtif_offset(x))