Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/gpu/drm/gma500/
Dcdv_device.c211 u32 pwr_cnt; in cdv_init_pm() local
221 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
224 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_init_pm()
225 pwr_cnt |= PSB_PWRGT_GFX_ON; in cdv_init_pm()
226 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_init_pm()
393 u32 pwr_cnt, pwr_mask, pwr_sts; in cdv_power_down() local
396 pwr_cnt = inl(dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
397 pwr_cnt &= ~PSB_PWRGT_GFX_MASK; in cdv_power_down()
398 pwr_cnt |= PSB_PWRGT_GFX_OFF; in cdv_power_down()
401 outl(pwr_cnt, dev_priv->apm_base + PSB_APM_CMD); in cdv_power_down()
[all …]
Doaktrail_device.c433 u32 pwr_sts, pwr_cnt; in oaktrail_power_up() local
435 pwr_cnt = inl(dev_priv->ospm_base + PSB_PM_SSC); in oaktrail_power_up()
436 pwr_cnt &= ~pwr_mask; in oaktrail_power_up()
437 outl(pwr_cnt, (dev_priv->ospm_base + PSB_PM_SSC)); in oaktrail_power_up()
/linux-5.19.10/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()