Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/atheros/alx/
H A 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 …]
/linux/drivers/phy/hisilicon/
H A Dphy-hi3670-pcie.c163 struct regmap *pmctrl;
542 regmap_write(phy->pmctrl, NOC_POWER_IDLEREQ_1, val); in hi3670_pcie_noc_power()
545 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val); in hi3670_pcie_noc_power()
553 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val);
764 phy->pmctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3670-pmctrl"); in hi3670_pcie_phy_get_resources()
765 if (IS_ERR(phy->pmctrl)) in hi3670_pcie_phy_get_resources()
766 return PTR_ERR(phy->pmctrl); in hi3670_pcie_phy_get_resources()
158 struct regmap *pmctrl; global() member
/linux/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c1001 struct device *pmctrl = core->pmdomains ? in core_power_v4() local
1006 if (pmctrl) { in core_power_v4()
1007 ret = pm_runtime_resume_and_get(pmctrl); in core_power_v4()
1015 if (pmctrl) in core_power_v4()
1016 pm_runtime_put_sync(pmctrl); in core_power_v4()
1021 if (ret < 0 && pmctrl) in core_power_v4()
1022 pm_runtime_put_sync(pmctrl); in core_power_v4()
1032 if (pmctrl) in core_power_v4()
1033 pm_runtime_put_sync(pmctrl); in core_power_v4()
/linux/Documentation/devicetree/bindings/clock/
H A Dhi6220-clock.txt18 - "hisilicon,hi6220-pmctrl"
/linux/drivers/net/ethernet/sis/
H A Dsis900.h39 pmctrl=0xB0, //Power Management Control Register enumerator
H A 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()