Searched refs:pmsr (Results 1 – 5 of 5) sorted by relevance
75 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()78 value = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_set_pmode()98 ret = in_be64(&pmd_regs->pmsr) & 0x07; in cbe_cpufreq_get_pmode()
559 unsigned long pmsr; in powernv_cpufreq_throttle_check() local563 pmsr = get_pmspr(SPRN_PMSR); in powernv_cpufreq_throttle_check()567 pmsr_pmax = extract_max_pstate(pmsr); in powernv_cpufreq_throttle_check()593 if (pmsr & PMSR_PSAFE_ENABLE) { in powernv_cpufreq_throttle_check()599 if (pmsr & PMSR_SPR_EM_DISABLE) { in powernv_cpufreq_throttle_check()605 pr_info("PMSR = %16lx\n", pmsr); in powernv_cpufreq_throttle_check()
73 u32 pmsr, val; in rcar_pcie_wakeup() local83 pmsr = readl(pcie_base + PMSR); in rcar_pcie_wakeup()91 if ((pmsr & PMEL1RX) && ((pmsr & PMSTATE) != PMSTATE_L1)) { in rcar_pcie_wakeup()
3006 u32 pmsr; in mt7530_pcs_get_state() local3008 pmsr = mt7530_read(priv, MT7530_PMSR_P(port)); in mt7530_pcs_get_state()3010 state->link = (pmsr & PMSR_LINK); in mt7530_pcs_get_state()3012 state->duplex = !!(pmsr & PMSR_DPX); in mt7530_pcs_get_state()3014 switch (pmsr & PMSR_SPEED_MASK) { in mt7530_pcs_get_state()3030 if (pmsr & PMSR_RX_FC) in mt7530_pcs_get_state()3032 if (pmsr & PMSR_TX_FC) in mt7530_pcs_get_state()
579 u32 pmsr = mtk_r32(mac->hw, MTK_MAC_MSR(mac->id)); in mtk_mac_pcs_get_state() local581 state->link = (pmsr & MAC_MSR_LINK); in mtk_mac_pcs_get_state()582 state->duplex = (pmsr & MAC_MSR_DPX) >> 1; in mtk_mac_pcs_get_state()584 switch (pmsr & (MAC_MSR_SPEED_1000 | MAC_MSR_SPEED_100)) { in mtk_mac_pcs_get_state()600 if (pmsr & MAC_MSR_RX_FC) in mtk_mac_pcs_get_state()602 if (pmsr & MAC_MSR_TX_FC) in mtk_mac_pcs_get_state()