/kernel/linux/linux-5.10/tools/power/x86/turbostat/ |
H A D | turbostat.c | 229 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ 234 ((core_no) * topo.threads_per_core) + \ 237 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ 241 (core_no)) 436 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local 440 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus() 448 core_no, node_no, in for_all_cpus() 454 c = GET_CORE(core_base, core_no, in for_all_cpus() 2812 int retval, pkg_no, node_no, core_no, thread_no; for_all_cpus_2() local [all...] |
/kernel/linux/linux-6.6/tools/power/x86/turbostat/ |
H A D | turbostat.c | 407 #define GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no) \ 412 ((core_no) * topo.threads_per_core) + \ 415 #define GET_CORE(core_base, core_no, node_no, pkg_no) \ 419 (core_no)) 597 int retval, pkg_no, core_no, thread_no, node_no; in for_all_cpus() local 601 for (core_no = 0; core_no < topo.cores_per_node; ++core_no) { in for_all_cpus() 607 t = GET_THREAD(thread_base, thread_no, core_no, node_no, pkg_no); in for_all_cpus() 612 c = GET_CORE(core_base, core_no, node_n in for_all_cpus() 2989 int retval, pkg_no, node_no, core_no, thread_no; for_all_cpus_2() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 23272 u8 core_no; in wlc_phy_get_tx_gain_nphy() local 23286 for (core_no = 0; core_no < 2; core_no++) { in wlc_phy_get_tx_gain_nphy() 23288 target_gain.ipa[core_no] = in wlc_phy_get_tx_gain_nphy() 23289 curr_gain[core_no] & 0x0007; in wlc_phy_get_tx_gain_nphy() 23290 target_gain.pad[core_no] = in wlc_phy_get_tx_gain_nphy() 23291 ((curr_gain[core_no] & 0x00F8) >> 3); in wlc_phy_get_tx_gain_nphy() 23292 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23293 ((curr_gain[core_no] in wlc_phy_get_tx_gain_nphy() 23387 wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no, struct nphy_txgains target_gain, struct nphy_iqcal_params *params) wlc_phy_iqcal_gainparams_nphy() argument 25639 u16 core_no, cal_type; wlc_phy_cal_txiqlo_nphy() local 27318 u8 core_no, rx_core; wlc_phy_cal_rxiq_nphy_rev3() local 27491 u16 core_no; wlc_phy_cal_rxiq_nphy_rev2() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 23272 u8 core_no; in wlc_phy_get_tx_gain_nphy() local 23286 for (core_no = 0; core_no < 2; core_no++) { in wlc_phy_get_tx_gain_nphy() 23288 target_gain.ipa[core_no] = in wlc_phy_get_tx_gain_nphy() 23289 curr_gain[core_no] & 0x0007; in wlc_phy_get_tx_gain_nphy() 23290 target_gain.pad[core_no] = in wlc_phy_get_tx_gain_nphy() 23291 ((curr_gain[core_no] & 0x00F8) >> 3); in wlc_phy_get_tx_gain_nphy() 23292 target_gain.pga[core_no] = in wlc_phy_get_tx_gain_nphy() 23293 ((curr_gain[core_no] in wlc_phy_get_tx_gain_nphy() 23387 wlc_phy_iqcal_gainparams_nphy(struct brcms_phy *pi, u16 core_no, struct nphy_txgains target_gain, struct nphy_iqcal_params *params) wlc_phy_iqcal_gainparams_nphy() argument 25639 u16 core_no, cal_type; wlc_phy_cal_txiqlo_nphy() local 27318 u8 core_no, rx_core; wlc_phy_cal_rxiq_nphy_rev3() local 27491 u16 core_no; wlc_phy_cal_rxiq_nphy_rev2() local [all...] |