Home
last modified time | relevance | path

Searched refs:pmsr (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/cpufreq/
Dppc_cbe_cpufreq_pervasive.c75 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()
Dpowernv-cpufreq.c559 unsigned long pmsr; in powernv_cpufreq_throttle_check() local
563 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()
/kernel/linux/linux-5.10/net/wireless/
Dpmsr.c466 struct nlattr *pmsr, *peers, *peer, *resp, *data, *typedata; in nl80211_pmsr_send_result() local
468 pmsr = nla_nest_start_noflag(msg, NL80211_ATTR_PEER_MEASUREMENTS); in nl80211_pmsr_send_result()
469 if (!pmsr) in nl80211_pmsr_send_result()
522 nla_nest_end(msg, pmsr); in nl80211_pmsr_send_result()
DMakefile15 cfg80211-y += pmsr.o
Dnl80211.c1980 struct nlattr *pmsr, *caps; in nl80211_send_pmsr_capa() local
1990 pmsr = nla_nest_start_noflag(msg, NL80211_ATTR_PEER_MEASUREMENTS); in nl80211_send_pmsr_capa()
1991 if (!pmsr) in nl80211_send_pmsr_capa()
2013 nla_nest_end(msg, pmsr); in nl80211_send_pmsr_capa()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcell-regs.h106 u64 pmsr; /* 0x0888 */ member
/kernel/linux/linux-5.10/drivers/net/dsa/
Dmt7530.c2375 u32 pmsr; in mt7530_phylink_mac_link_state() local
2380 pmsr = mt7530_read(priv, MT7530_PMSR_P(port)); in mt7530_phylink_mac_link_state()
2382 state->link = (pmsr & PMSR_LINK); in mt7530_phylink_mac_link_state()
2384 state->duplex = !!(pmsr & PMSR_DPX); in mt7530_phylink_mac_link_state()
2386 switch (pmsr & PMSR_SPEED_MASK) { in mt7530_phylink_mac_link_state()
2402 if (pmsr & PMSR_RX_FC) in mt7530_phylink_mac_link_state()
2404 if (pmsr & PMSR_TX_FC) in mt7530_phylink_mac_link_state()
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c380 u32 pmsr = mtk_r32(mac->hw, MTK_MAC_MSR(mac->id)); in mtk_mac_pcs_get_state() local
382 state->link = (pmsr & MAC_MSR_LINK); in mtk_mac_pcs_get_state()
383 state->duplex = (pmsr & MAC_MSR_DPX) >> 1; in mtk_mac_pcs_get_state()
385 switch (pmsr & (MAC_MSR_SPEED_1000 | MAC_MSR_SPEED_100)) { in mtk_mac_pcs_get_state()
401 if (pmsr & MAC_MSR_RX_FC) in mtk_mac_pcs_get_state()
403 if (pmsr & MAC_MSR_TX_FC) in mtk_mac_pcs_get_state()