Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/gma500/
Dcdv_device.c219 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()
[all …]
Doaktrail_device.c446 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local
448 pwr_cnt = inl(dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_up()
449 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()
450 outl(pwr_cnt, (dev_priv->ospm_base + PSB_PM_SSC)); in oaktrail_power_up()
/Linux-v4.19/drivers/phy/rockchip/
Dphy-rockchip-pcie.c83 int pwr_cnt; member
159 if (--rk_phy->pwr_cnt) in rockchip_pcie_phy_power_off()
173 rk_phy->pwr_cnt++; in rockchip_pcie_phy_power_off()
193 if (rk_phy->pwr_cnt++) in rockchip_pcie_phy_power_on()
288 rk_phy->pwr_cnt--; in rockchip_pcie_phy_power_on()