Searched refs:g_addr (Results 1 – 2 of 2) sorted by relevance
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gvt/ |
H A D | gtt.c | 77 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr) in intel_gvt_ggtt_gmadr_g2h() argument 79 if (WARN(!vgpu_gmadr_is_valid(vgpu, g_addr), in intel_gvt_ggtt_gmadr_g2h() 80 "invalid guest gmadr %llx\n", g_addr)) in intel_gvt_ggtt_gmadr_g2h() 83 if (vgpu_gmadr_is_aperture(vgpu, g_addr)) in intel_gvt_ggtt_gmadr_g2h() 85 + (g_addr - vgpu_aperture_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 88 + (g_addr - vgpu_hidden_offset(vgpu)); in intel_gvt_ggtt_gmadr_g2h() 100 *g_addr = vgpu_aperture_gmadr_base(vgpu) in intel_gvt_ggtt_gmadr_h2g() 103 *g_addr = vgpu_hidden_gmadr_base(vgpu) in intel_gvt_ggtt_gmadr_h2g() 126 u64 g_addr; in intel_gvt_ggtt_h2g_index() local 130 &g_addr); in intel_gvt_ggtt_h2g_index() [all …]
|
H A D | gvt.h | 521 int intel_gvt_ggtt_gmadr_g2h(struct intel_vgpu *vgpu, u64 g_addr, u64 *h_addr); 522 int intel_gvt_ggtt_gmadr_h2g(struct intel_vgpu *vgpu, u64 h_addr, u64 *g_addr);
|