Searched refs:pps_idx (Results 1 – 3 of 3) sorted by relevance
823 int pps_idx = 0; in intel_pps_get_registers() local828 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()
4620 #define _MMIO_PPS(pps_idx, reg) _MMIO(dev_priv->pps_mmio_base - \ argument4622 (pps_idx) * 0x100)4625 #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) argument4653 #define PP_CONTROL(pps_idx) _MMIO_PPS(pps_idx, _PP_CONTROL) argument4665 #define PP_ON_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_ON_DELAYS) argument4679 #define PP_OFF_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_OFF_DELAYS) argument4686 #define PP_DIVISOR(pps_idx) _MMIO_PPS(pps_idx, _PP_DIVISOR) argument
14096 int pps_idx; in intel_pps_unlock_regs_wa() local14109 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()