Searched refs:pwr_sts (Results 1 – 2 of 2) sorted by relevance
198 u32 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_init_pm() local199 if ((pwr_sts & PSB_PWRGT_GFX_MASK) == 0) in cdv_init_pm()361 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local372 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_power_down()373 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D3) in cdv_power_down()383 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local394 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_power_up()395 if ((pwr_sts & pwr_mask) == PSB_PWRGT_GFX_D0) in cdv_power_up()
354 u32 pwr_sts; in oaktrail_power_down() local360 pwr_sts = inl(dev_priv->ospm_base + PSB_PM_SSS); in oaktrail_power_down()361 if ((pwr_sts & pwr_mask) == pwr_mask) in oaktrail_power_down()378 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local385 pwr_sts = inl(dev_priv->ospm_base + PSB_PM_SSS); in oaktrail_power_up()386 if ((pwr_sts & pwr_mask) == 0) in oaktrail_power_up()