Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/arm/hisilicon/controller/
H A Dhi6220-domain-ctrl.yaml21 Power Management domain controller --> hisilicon,hi6220-pmctrl
29 - hisilicon,hi6220-pmctrl
64 compatible = "hisilicon,hi6220-pmctrl", "syscon";
/openbmc/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()
429 pmctrl & ~(ALX_PMCTRL_L1_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()
653 pmctrl |= ALX_PMCTRL_RCVR_WT_1US | in alx_enable_aspm()
658 pmctrl &= ~(ALX_PMCTRL_L1_SRDS_EN | in alx_enable_aspm()
[all …]
/openbmc/linux/drivers/phy/hisilicon/
H A 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()
/openbmc/linux/drivers/media/platform/qcom/venus/
H A 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()
/openbmc/linux/Documentation/devicetree/bindings/clock/
H A Dhi6220-clock.txt18 - "hisilicon,hi6220-pmctrl"
/openbmc/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()
/openbmc/u-boot/arch/arm/dts/
H A Dhi6220.dtsi160 compatible = "hisilicon,hi6220-pmctrl", "syscon";
/openbmc/linux/arch/arm64/boot/dts/hisilicon/
H A Dhi6220.dtsi285 compatible = "hisilicon,hi6220-pmctrl", "syscon";