Home
last modified time | relevance | path

Searched refs:pmctrl (Results 1 – 3 of 3) 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.c162 struct regmap *pmctrl; member
541 regmap_write(phy->pmctrl, NOC_POWER_IDLEREQ_1, val); in hi3670_pcie_noc_power()
544 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val); in hi3670_pcie_noc_power()
552 regmap_read(phy->pmctrl, NOC_POWER_IDLE_1, &val); in hi3670_pcie_noc_power()
763 phy->pmctrl = syscon_regmap_lookup_by_compatible("hisilicon,hi3670-pmctrl"); in hi3670_pcie_phy_get_resources()
764 if (IS_ERR(phy->pmctrl)) in hi3670_pcie_phy_get_resources()
765 return PTR_ERR(phy->pmctrl); in hi3670_pcie_phy_get_resources()
/linux/Documentation/devicetree/bindings/clock/
H A Dhi6220-clock.txt18 - "hisilicon,hi6220-pmctrl"