Home
last modified time | relevance | path

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

/drivers/net/ethernet/atheros/alx/
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 …]
/drivers/phy/hisilicon/
A Dphy-hi3670-pcie.c163 struct regmap *pmctrl; member
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); in hi3670_pcie_noc_power()
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()
/drivers/media/platform/qcom/venus/
A Dpm_helpers.c1019 struct device *pmctrl = core->pmdomains ? in core_power_v4() local
1024 if (pmctrl) { in core_power_v4()
1025 ret = pm_runtime_resume_and_get(pmctrl); in core_power_v4()
1033 if (pmctrl) in core_power_v4()
1034 pm_runtime_put_sync(pmctrl); in core_power_v4()
1039 if (ret < 0 && pmctrl) in core_power_v4()
1040 pm_runtime_put_sync(pmctrl); in core_power_v4()
1050 if (pmctrl) in core_power_v4()
1051 pm_runtime_put_sync(pmctrl); in core_power_v4()
/drivers/net/ethernet/sis/
A Dsis900.h39 pmctrl=0xB0, //Power Management Control Register enumerator
A Dsis900.c2103 sw32(pmctrl, pmctrl_bits); in sis900_set_wol()
2118 sw32(pmctrl, pmctrl_bits); in sis900_set_wol()
2135 pmctrl_bits = sr32(pmctrl); in sis900_get_wol()

Completed in 20 milliseconds