Home
last modified time | relevance | path

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

/linux-5.19.10/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.h6953 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument
6954 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument
7053 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
7054 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)
7059 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
7060 ((pw_idx) - ICL_PW_CTL_IDX_PW_1 + SKL_PG1)
7063 #define _ICL_AUX_REG_IDX(pw_idx) ((pw_idx) - ICL_PW_CTL_IDX_AUX_A) argument
7066 #define ICL_AUX_ANAOVRD1(pw_idx) _MMIO(_PICK(_ICL_AUX_REG_IDX(pw_idx), \ argument
/linux-5.19.10/drivers/gpu/drm/i915/display/
Dintel_display_power_well.c196 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument
197 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)
199 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument
200 ((pw_idx) - ICL_PW_CTL_IDX_AUX_TBT1 + AUX_CH_C)
204 int pw_idx = i915_power_well_instance(power_well)->hsw.idx; in icl_aux_pw_to_ch() local
206 return power_well->desc->is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) : in icl_aux_pw_to_ch()
207 ICL_AUX_PW_TO_CH(pw_idx); in icl_aux_pw_to_ch()
251 int pw_idx = i915_power_well_instance(power_well)->hsw.idx; in hsw_wait_for_power_well_enable() local
265 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()
276 int pw_idx) in hsw_power_well_requesters() argument
[all …]