Searched refs:pwr_sts (Results 1 – 2 of 2) sorted by relevance
227 u32 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_init_pm() local228 if ((pwr_sts & PSB_PWRGT_GFX_MASK) == 0) in cdv_init_pm()380 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local391 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_power_down()392 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D3) in cdv_power_down()402 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local413 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_power_up()414 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D0) in cdv_power_up()
412 u32 pwr_sts; in oaktrail_power_down() local418 pwr_sts = inl(dev_priv->ospm_base + PSB_PM_SSS); in oaktrail_power_down()419 if ((pwr_sts & pwr_mask) == pwr_mask) in oaktrail_power_down()436 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local443 pwr_sts = inl(dev_priv->ospm_base + PSB_PM_SSS); in oaktrail_power_up()444 if ((pwr_sts & pwr_mask) == 0) in oaktrail_power_up()