Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_display_power.c319 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_enable() local
323 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()
334 int pw_idx) in hsw_power_well_requesters() argument
336 u32 req_mask = HSW_PWR_WELL_CTL_REQ(pw_idx); in hsw_power_well_requesters()
352 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_disable() local
366 HSW_PWR_WELL_CTL_STATE(pw_idx))) || in hsw_wait_for_power_well_disable()
367 (reqs = hsw_power_well_requesters(dev_priv, regs, pw_idx)), 1); in hsw_wait_for_power_well_disable()
388 int pw_idx = power_well->desc->hsw.idx; in hsw_power_well_enable() local
394 pg = INTEL_GEN(dev_priv) >= 11 ? ICL_PW_CTL_IDX_TO_PG(pw_idx) : in hsw_power_well_enable()
395 SKL_PW_CTL_IDX_TO_PG(pw_idx); in hsw_power_well_enable()
[all …]
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_reg.h1150 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument
1151 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument
1152 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument
1153 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument
1154 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument
9126 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument
9127 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument
9219 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
9220 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)
9225 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
[all …]