Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/gma500/
H A Dcdv_device.c179 u32 pwr_cnt; in cdv_init_pm() local
189 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
192 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()
193 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()
194 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
361 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
365 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()
366 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()
383 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_up() local
387 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_up()
[all …]
H A Doaktrail_device.c378 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local
380 pwr_cnt = inl(dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_up()
381 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()
382 outl(pwr_cnt, (dev_priv->ospm_base + PSB_PM_SSC)); in oaktrail_power_up()
/openbmc/linux/drivers/phy/rockchip/
H A Dphy-rockchip-pcie.c75 int pwr_cnt; member
136 if (--rk_phy->pwr_cnt) in rockchip_pcie_phy_power_off()
150 rk_phy->pwr_cnt++; in rockchip_pcie_phy_power_off()
170 if (rk_phy->pwr_cnt++) in rockchip_pcie_phy_power_on()
265 rk_phy->pwr_cnt--; in rockchip_pcie_phy_power_on()