Home
last modified time | relevance | path

Searched refs:pwr_cnt (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/gma500/
Dcdv_device.c208 u32 pwr_cnt; in cdv_init_pm() local
218 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() local
383 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 …]
Doaktrail_device.c436 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local
438 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()
/drivers/phy/rockchip/
Dphy-rockchip-pcie.c75 int pwr_cnt; member
151 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()