Searched refs:pmsr (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/drivers/cpufreq/ |
D | ppc_cbe_cpufreq_pervasive.c | 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()
|
D | powernv-cpufreq.c | 559 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()
|
/Linux-v6.1/net/wireless/ |
D | pmsr.c | 486 struct nlattr *pmsr, *peers, *peer, *resp, *data, *typedata; in nl80211_pmsr_send_result() local 488 pmsr = nla_nest_start_noflag(msg, NL80211_ATTR_PEER_MEASUREMENTS); in nl80211_pmsr_send_result() 489 if (!pmsr) in nl80211_pmsr_send_result() 542 nla_nest_end(msg, pmsr); in nl80211_pmsr_send_result()
|
D | Makefile | 15 cfg80211-y += pmsr.o
|
D | nl80211.c | 2159 struct nlattr *pmsr, *caps; in nl80211_send_pmsr_capa() local 2169 pmsr = nla_nest_start_noflag(msg, NL80211_ATTR_PEER_MEASUREMENTS); in nl80211_send_pmsr_capa() 2170 if (!pmsr) in nl80211_send_pmsr_capa() 2192 nla_nest_end(msg, pmsr); in nl80211_send_pmsr_capa()
|
/Linux-v6.1/drivers/pci/controller/ |
D | pcie-rcar-host.c | 73 u32 pmsr, val; in rcar_pcie_wakeup() local 83 pmsr = readl(pcie_base + PMSR); in rcar_pcie_wakeup() 91 if ((pmsr & PMEL1RX) && ((pmsr & PMSTATE) != PMSTATE_L1)) { in rcar_pcie_wakeup()
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | cell-regs.h | 106 u64 pmsr; /* 0x0888 */ member
|
/Linux-v6.1/drivers/net/dsa/ |
D | mt7530.c | 2951 u32 pmsr; in mt7530_pcs_get_state() local 2953 pmsr = mt7530_read(priv, MT7530_PMSR_P(port)); in mt7530_pcs_get_state() 2955 state->link = (pmsr & PMSR_LINK); in mt7530_pcs_get_state() 2957 state->duplex = !!(pmsr & PMSR_DPX); in mt7530_pcs_get_state() 2959 switch (pmsr & PMSR_SPEED_MASK) { in mt7530_pcs_get_state() 2975 if (pmsr & PMSR_RX_FC) in mt7530_pcs_get_state() 2977 if (pmsr & PMSR_TX_FC) in mt7530_pcs_get_state()
|
/Linux-v6.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 578 u32 pmsr = mtk_r32(mac->hw, MTK_MAC_MSR(mac->id)); in mtk_mac_pcs_get_state() local 580 state->link = (pmsr & MAC_MSR_LINK); in mtk_mac_pcs_get_state() 581 state->duplex = (pmsr & MAC_MSR_DPX) >> 1; in mtk_mac_pcs_get_state() 583 switch (pmsr & (MAC_MSR_SPEED_1000 | MAC_MSR_SPEED_100)) { in mtk_mac_pcs_get_state() 599 if (pmsr & MAC_MSR_RX_FC) in mtk_mac_pcs_get_state() 601 if (pmsr & MAC_MSR_TX_FC) in mtk_mac_pcs_get_state()
|