Searched refs:pwr_cnt (Results 1 – 3 of 3) sorted by relevance
211 u32 pwr_cnt; in cdv_init_pm() local221 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()224 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()225 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()226 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()393 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local396 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()397 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()398 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()401 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()[all …]
433 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local435 pwr_cnt = inl(dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_up()436 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()437 outl(pwr_cnt, (dev_priv->ospm_base + PSB_PM_SSC)); in oaktrail_power_up()
75 int pwr_cnt; member151 if (--rk_phy->pwr_cnt) in rockchip_pcie_phy_power_off()165 rk_phy->pwr_cnt++; in rockchip_pcie_phy_power_off()185 if (rk_phy->pwr_cnt++) in rockchip_pcie_phy_power_on()280 rk_phy->pwr_cnt--; in rockchip_pcie_phy_power_on()