Searched refs:pw_idx (Results 1 – 2 of 2) sorted by relevance
291 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument292 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)294 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument295 ((pw_idx) - ICL_PW_CTL_IDX_AUX_TBT1 + AUX_CH_C)299 int pw_idx = power_well->desc->hsw.idx; in icl_aux_pw_to_ch() local301 return power_well->desc->hsw.is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) : in icl_aux_pw_to_ch()302 ICL_AUX_PW_TO_CH(pw_idx); in icl_aux_pw_to_ch()346 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_enable() local361 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()372 int pw_idx) in hsw_power_well_requesters() argument[all …]
1284 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument1285 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument1286 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument1287 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument1288 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument9760 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument9761 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument9860 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument9861 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)9866 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument[all …]