Home
last modified time | relevance | path

Searched refs:pps_idx (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_dp.c823 int pps_idx = 0; in intel_pps_get_registers() local
828 pps_idx = bxt_power_sequencer_idx(intel_dp); in intel_pps_get_registers()
830 pps_idx = vlv_power_sequencer_pipe(intel_dp); in intel_pps_get_registers()
832 regs->pp_ctrl = PP_CONTROL(pps_idx); in intel_pps_get_registers()
833 regs->pp_stat = PP_STATUS(pps_idx); in intel_pps_get_registers()
834 regs->pp_on = PP_ON_DELAYS(pps_idx); in intel_pps_get_registers()
835 regs->pp_off = PP_OFF_DELAYS(pps_idx); in intel_pps_get_registers()
838 regs->pp_div = PP_DIVISOR(pps_idx); in intel_pps_get_registers()
Di915_reg.h4620 #define _MMIO_PPS(pps_idx, reg) _MMIO(dev_priv->pps_mmio_base - \ argument
4622 (pps_idx) * 0x100)
4625 #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) argument
4653 #define PP_CONTROL(pps_idx) _MMIO_PPS(pps_idx, _PP_CONTROL) argument
4665 #define PP_ON_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_ON_DELAYS) argument
4679 #define PP_OFF_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_OFF_DELAYS) argument
4686 #define PP_DIVISOR(pps_idx) _MMIO_PPS(pps_idx, _PP_DIVISOR) argument
Dintel_display.c14096 int pps_idx; in intel_pps_unlock_regs_wa() local
14109 for (pps_idx = 0; pps_idx < pps_num; pps_idx++) { in intel_pps_unlock_regs_wa()
14110 u32 val = I915_READ(PP_CONTROL(pps_idx)); in intel_pps_unlock_regs_wa()
14113 I915_WRITE(PP_CONTROL(pps_idx), val); in intel_pps_unlock_regs_wa()