Home
last modified time | relevance | path

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

/drivers/gpu/drm/gma500/
Dcdv_device.c227 u32 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_init_pm() local
228 if ((pwr_sts & PSB_PWRGT_GFX_MASK) == 0) in cdv_init_pm()
380 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
391 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() local
413 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()
Doaktrail_device.c412 u32 pwr_sts; in oaktrail_power_down() local
418 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() local
443 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()