Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/gma500/
Dcdv_device.c178 u32 pwr_cnt; in cdv_init_pm() local
188 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
191 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()
192 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()
193 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
360 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
363 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
364 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()
365 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()
368 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
[all …]
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()
/Linux-v6.1/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()