Lines Matching refs:pwr_cnt
219 u32 pwr_cnt; in cdv_init_pm() local
229 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
232 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()
233 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()
234 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
391 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
394 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
395 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()
396 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()
399 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
413 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local
416 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_up()
417 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_up()
418 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_power_up()
421 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_up()