Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_device.c198 u32 pwr_sts = inl(dev_priv->apm_base + PSB_APM_STS); in cdv_init_pm() local
199 if ((pwr_sts & PSB_PWRGT_GFX_MASK) == 0) in cdv_init_pm()
361 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
372 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() local
394 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()
H A Doaktrail_device.c354 u32 pwr_sts; in oaktrail_power_down() local
360 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() local
385 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()