Home
last modified time | relevance | path

Searched refs:vgpu_vreg (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Dedid.c144 memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes); in gmbus0_mmio_write()
146 pin_select = vgpu_vreg(vgpu, offset) & _GMBUS_PIN_SEL_MASK; in gmbus0_mmio_write()
185 if (vgpu_vreg(vgpu, offset) & GMBUS_SW_CLR_INT) { in gmbus1_mmio_write()
187 vgpu_vreg(vgpu, offset) &= ~GMBUS_SW_CLR_INT; in gmbus1_mmio_write()
240 if (gmbus1_bus_cycle(vgpu_vreg(vgpu, offset)) in gmbus1_mmio_write()
274 vgpu_vreg(vgpu, offset) = wvalue; in gmbus1_mmio_write()
302 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
313 memcpy(&vgpu_vreg(vgpu, offset), &reg_data, byte_count); in gmbus3_mmio_read()
314 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
335 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in gmbus3_mmio_read()
[all …]
Dinterrupt.c201 trace_write_ir(vgpu->id, "IMR", reg, imr, vgpu_vreg(vgpu, reg), in intel_vgpu_reg_imr_handler()
202 (vgpu_vreg(vgpu, reg) ^ imr)); in intel_vgpu_reg_imr_handler()
204 vgpu_vreg(vgpu, reg) = imr; in intel_vgpu_reg_imr_handler()
230 u32 virtual_ier = vgpu_vreg(vgpu, reg); in intel_vgpu_reg_master_irq_handler()
242 vgpu_vreg(vgpu, reg) &= ~GEN8_MASTER_IRQ_CONTROL; in intel_vgpu_reg_master_irq_handler()
243 vgpu_vreg(vgpu, reg) |= ier; in intel_vgpu_reg_master_irq_handler()
272 trace_write_ir(vgpu->id, "IER", reg, ier, vgpu_vreg(vgpu, reg), in intel_vgpu_reg_ier_handler()
273 (vgpu_vreg(vgpu, reg) ^ ier)); in intel_vgpu_reg_ier_handler()
275 vgpu_vreg(vgpu, reg) = ier; in intel_vgpu_reg_ier_handler()
310 trace_write_ir(vgpu->id, "IIR", reg, iir, vgpu_vreg(vgpu, reg), in intel_vgpu_reg_iir_handler()
[all …]
Dhandlers.c96 memcpy(p_data, &vgpu_vreg(vgpu, offset), bytes); in read_vreg()
102 memcpy(&vgpu_vreg(vgpu, offset), p_data, bytes); in write_vreg()
289 old = vgpu_vreg(vgpu, offset); in mul_force_wake_write()
312 vgpu_vreg(vgpu, offset) = new; in mul_force_wake_write()
313 vgpu_vreg(vgpu, ack_reg_offset) = (new & GENMASK(15, 0)); in mul_force_wake_write()
324 data = vgpu_vreg(vgpu, offset); in gdrst_mmio_write()
361 vgpu_vreg(vgpu, offset) = 0; in gdrst_mmio_write()
383 if (vgpu_vreg(vgpu, offset) & PANEL_POWER_ON) { in pch_pp_control_mmio_write()
401 if (vgpu_vreg(vgpu, offset) & TRANS_ENABLE) in transconf_mmio_write()
402 vgpu_vreg(vgpu, offset) |= TRANS_STATE_ENABLE; in transconf_mmio_write()
[all …]
Dexeclist.c98 status.ldw = vgpu_vreg(vgpu, status_reg); in emulate_execlist_status()
99 status.udw = vgpu_vreg(vgpu, status_reg + 4); in emulate_execlist_status()
117 vgpu_vreg(vgpu, status_reg) = status.ldw; in emulate_execlist_status()
118 vgpu_vreg(vgpu, status_reg + 4) = status.udw; in emulate_execlist_status()
139 ctx_status_ptr.dw = vgpu_vreg(vgpu, ctx_status_ptr_reg); in emulate_csb_update()
152 vgpu_vreg(vgpu, offset) = status->ldw; in emulate_csb_update()
153 vgpu_vreg(vgpu, offset + 4) = status->udw; in emulate_csb_update()
156 vgpu_vreg(vgpu, ctx_status_ptr_reg) = ctx_status_ptr.dw; in emulate_csb_update()
262 status.ldw = vgpu_vreg(vgpu, status_reg); in get_next_execlist_slot()
263 status.udw = vgpu_vreg(vgpu, status_reg + 4); in get_next_execlist_slot()
[all …]
Ddebugfs.c66 vreg = vgpu_vreg(param->vgpu, offset); in mmio_diff_handler()
Ddisplay.c48 u32 data = vgpu_vreg(vgpu, _TRANS_DDI_FUNC_CTL_EDP); in get_edp_pipe()
73 if (!(vgpu_vreg(vgpu, _TRANS_DDI_FUNC_CTL_EDP) & TRANS_DDI_FUNC_ENABLE)) in edp_pipe_is_enabled()
Dscheduler.c274 vgpu_vreg(vgpu, i915_mmio_reg_offset(reg)) = in save_ring_hw_state()
278 vgpu_vreg(vgpu, i915_mmio_reg_offset(reg)) = in save_ring_hw_state()
282 vgpu_vreg(vgpu, i915_mmio_reg_offset(reg)) = in save_ring_hw_state()
Dgvt.h459 #define vgpu_vreg(vgpu, offset) \ macro
Dcmd_parser.c956 vreg = &vgpu_vreg(s->vgpu, offset); in cmd_reg_handler()
1028 vgpu_vreg(vgpu, offset) = data; in cmd_reg_handler()