Home
last modified time | relevance | path

Searched refs:pmctrl (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/atheros/alx/
Dhw.c403 u32 val, pmctrl; in alx_reset_mac() local
408 pmctrl = 0; in alx_reset_mac()
426 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_reset_mac()
427 if (pmctrl & (ALX_PMCTRL_L1_EN | ALX_PMCTRL_L0S_EN)) in alx_reset_mac()
429 pmctrl & ~(ALX_PMCTRL_L1_EN | in alx_reset_mac()
459 if (pmctrl & (ALX_PMCTRL_L1_EN | ALX_PMCTRL_L0S_EN)) in alx_reset_mac()
460 alx_write_mem32(hw, ALX_PMCTRL, pmctrl); in alx_reset_mac()
646 u32 pmctrl; in alx_enable_aspm() local
649 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_enable_aspm()
651 ALX_SET_FIELD(pmctrl, ALX_PMCTRL_LCKDET_TIMER, in alx_enable_aspm()
[all …]
/drivers/phy/hisilicon/
Dphy-hi3670-pcie.c158 struct regmap *pmctrl; member
537 regmap_write(phy->pmctrl, NOC_POWER_IDLEREQ_1, val); in hi3670_pcie_noc_power()
540 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val); in hi3670_pcie_noc_power()
548 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val); in hi3670_pcie_noc_power()
759 phy->pmctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3670-pmctrl"); in hi3670_pcie_phy_get_resources()
760 if (IS_ERR(phy->pmctrl)) in hi3670_pcie_phy_get_resources()
761 return PTR_ERR(phy->pmctrl); in hi3670_pcie_phy_get_resources()
/drivers/media/platform/qcom/venus/
Dpm_helpers.c1038 struct device *pmctrl = core->pmdomains[0]; in core_power_v4() local
1042 if (pmctrl) { in core_power_v4()
1043 ret = pm_runtime_resume_and_get(pmctrl); in core_power_v4()
1051 if (pmctrl) in core_power_v4()
1052 pm_runtime_put_sync(pmctrl); in core_power_v4()
1057 if (ret < 0 && pmctrl) in core_power_v4()
1058 pm_runtime_put_sync(pmctrl); in core_power_v4()
1068 if (pmctrl) in core_power_v4()
1069 pm_runtime_put_sync(pmctrl); in core_power_v4()
/drivers/net/ethernet/sis/
Dsis900.h39 pmctrl=0xB0, //Power Management Control Register enumerator
Dsis900.c2102 sw32(pmctrl, pmctrl_bits); in sis900_set_wol()
2117 sw32(pmctrl, pmctrl_bits); in sis900_set_wol()
2134 pmctrl_bits = sr32(pmctrl); in sis900_get_wol()