Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display_power.c287 #define ICL_AUX_PW_TO_CH(pw_idx) \ argument
288 ((pw_idx) - ICL_PW_CTL_IDX_AUX_A + AUX_CH_A)
290 #define ICL_TBT_AUX_PW_TO_CH(pw_idx) \ argument
291 ((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() local
298 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() local
338 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_reg.h1264 #define PUNIT_PWRGT_MASK(pw_idx) (3 << ((pw_idx) * 2)) argument
1265 #define PUNIT_PWRGT_PWR_ON(pw_idx) (0 << ((pw_idx) * 2)) argument
1266 #define PUNIT_PWRGT_CLK_GATE(pw_idx) (1 << ((pw_idx) * 2)) argument
1267 #define PUNIT_PWRGT_RESET(pw_idx) (2 << ((pw_idx) * 2)) argument
1268 #define PUNIT_PWRGT_PWR_GATE(pw_idx) (3 << ((pw_idx) * 2)) argument
9552 #define HSW_PWR_WELL_CTL_REQ(pw_idx) (0x2 << ((pw_idx) * 2)) argument
9553 #define HSW_PWR_WELL_CTL_STATE(pw_idx) (0x1 << ((pw_idx) * 2)) argument
9645 #define SKL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
9646 ((pw_idx) - SKL_PW_CTL_IDX_PW_1 + SKL_PG1)
9651 #define ICL_PW_CTL_IDX_TO_PG(pw_idx) \ argument
[all …]