Searched refs:pwr_cnt (Results 1 – 3 of 3) sorted by relevance
208 u32 pwr_cnt; in cdv_init_pm() local218 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()221 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()222 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()223 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()380 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local383 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()384 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()385 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()388 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()[all …]
436 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local438 pwr_cnt = inl(dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_up()439 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()440 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()