Searched refs:pw_idx (Results 1 – 2 of 2) sorted by relevance
287 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument288 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)290 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument291 ((pw_idx) - ICL_PW_CTL_IDX_AUX_TBT1 + AUX_CH_C)296 int pw_idx = power_well->desc->hsw.idx; in icl_tc_phy_aux_ch() local298 return power_well->desc->hsw.is_tc_tbt ? ICL_TBT_AUX_PW_TO_CH(pw_idx) : in icl_tc_phy_aux_ch()299 ICL_AUX_PW_TO_CH(pw_idx); in icl_tc_phy_aux_ch()334 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_enable() local338 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()349 int pw_idx) in hsw_power_well_requesters() argument[all …]
1264 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument1265 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument1266 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument1267 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument1268 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument9552 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument9553 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument9645 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument9646 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)9651 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument[all …]