Searched refs:pw_idx (Results 1 – 2 of 2) sorted by relevance
319 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_enable() local323 HSW_PWR_WELL_CTL_STATE(pw_idx), 1)) { in hsw_wait_for_power_well_enable()334 int pw_idx) in hsw_power_well_requesters() argument336 u32 req_mask = HSW_PWR_WELL_CTL_REQ(pw_idx); in hsw_power_well_requesters()352 int pw_idx = power_well->desc->hsw.idx; in hsw_wait_for_power_well_disable() local366 HSW_PWR_WELL_CTL_STATE(pw_idx))) || in hsw_wait_for_power_well_disable()367 (reqs = hsw_power_well_requesters(dev_priv, regs, pw_idx)), 1); in hsw_wait_for_power_well_disable()388 int pw_idx = power_well->desc->hsw.idx; in hsw_power_well_enable() local394 pg = INTEL_GEN(dev_priv) >= 11 ? ICL_PW_CTL_IDX_TO_PG(pw_idx) : in hsw_power_well_enable()395 SKL_PW_CTL_IDX_TO_PG(pw_idx); in hsw_power_well_enable()[all …]
1150 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument1151 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument1152 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument1153 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument1154 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument9126 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument9127 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument9219 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument9220 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)9225 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument[all …]