Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/drm/i915/
Dvlv_sideband_reg.h67 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument
68 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument
69 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument
70 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument
71 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument
Di915_reg.h6704 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument
6705 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument
6804 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
6805 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)
6810 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
6811 ((pw_idx) - ICL_PW_CTL_IDX_PW_1 + SKL_PG1)
6814 #define _ICL_AUX_REG_IDX(pw_idx) ((pw_idx) - ICL_PW_CTL_IDX_AUX_A) argument
6817 #define ICL_AUX_ANAOVRD1(pw_idx) _MMIO(_PICK(_ICL_AUX_REG_IDX(pw_idx), \ argument
/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_display_power_well.c198 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument
199 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)
201 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument
202 ((pw_idx) - ICL_PW_CTL_IDX_AUX_TBT1 + AUX_CH_C)
206 int pw_idx = i915_power_well_instance(power_well)->hsw.idx; in icl_aux_pw_to_ch() local
208 return power_well->desc->is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) : in icl_aux_pw_to_ch()
209 ICL_AUX_PW_TO_CH(pw_idx); in icl_aux_pw_to_ch()
253 int pw_idx = i915_power_well_instance(power_well)->hsw.idx; in hsw_wait_for_power_well_enable() local
267 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()
278 int pw_idx) in hsw_power_well_requesters() argument
[all …]