Searched refs:pw_idx (Results 1 – 3 of 3) sorted by relevance
67 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument68 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument69 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument70 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument71 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument
6704 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument6705 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument6804 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument6805 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)6810 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument6811 ((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) argument6817 #define ICL_AUX_ANAOVRD1(pw_idx) _MMIO(_PICK(_ICL_AUX_REG_IDX(pw_idx), \ argument
198 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument199 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)201 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument202 ((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() local208 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() local267 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 …]