Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_pps.c365 int pps_idx = 0; in intel_pps_get_registers() local
370 pps_idx = bxt_power_sequencer_idx(intel_dp); in intel_pps_get_registers()
372 pps_idx = vlv_power_sequencer_pipe(intel_dp); in intel_pps_get_registers()
374 regs->pp_ctrl = PP_CONTROL(pps_idx); in intel_pps_get_registers()
375 regs->pp_stat = PP_STATUS(pps_idx); in intel_pps_get_registers()
376 regs->pp_on = PP_ON_DELAYS(pps_idx); in intel_pps_get_registers()
377 regs->pp_off = PP_OFF_DELAYS(pps_idx); in intel_pps_get_registers()
384 regs->pp_div = PP_DIVISOR(pps_idx); in intel_pps_get_registers()
1467 int pps_idx; in intel_pps_unlock_regs_wa() local
1480 for (pps_idx = 0; pps_idx < pps_num; pps_idx++) { in intel_pps_unlock_regs_wa()
[all …]
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_reg.h2781 #define _MMIO_PPS(pps_idx, reg) _MMIO(dev_priv->display.pps.mmio_base - \ argument
2783 (pps_idx) * 0x100)
2786 #define PP_STATUS(pps_idx) _MMIO_PPS(pps_idx, _PP_STATUS) argument
2813 #define PP_CONTROL(pps_idx) _MMIO_PPS(pps_idx, _PP_CONTROL) argument
2823 #define PP_ON_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_ON_DELAYS) argument
2834 #define PP_OFF_DELAYS(pps_idx) _MMIO_PPS(pps_idx, _PP_OFF_DELAYS) argument
2839 #define PP_DIVISOR(pps_idx) _MMIO_PPS(pps_idx, _PP_DIVISOR) argument