Home
last modified time | relevance | path

Searched refs:curr_core (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/mips/kernel/
H A Dmips-cpc.c92 unsigned int curr_core; in mips_cpc_lock_other() local
99 curr_core = cpu_core(&current_cpu_data); in mips_cpc_lock_other()
100 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_lock_other()
101 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_lock_other()
113 unsigned int curr_core; in mips_cpc_unlock_other() local
119 curr_core = cpu_core(&current_cpu_data); in mips_cpc_unlock_other()
120 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_unlock_other()
121 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_unlock_other()
H A Dmips-cm.c306 unsigned int curr_core, cm_rev; in mips_cm_lock_other() local
345 curr_core = cpu_core(&current_cpu_data); in mips_cm_lock_other()
346 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), in mips_cm_lock_other()
347 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_lock_other()
363 unsigned int curr_core; in mips_cm_unlock_other() local
366 curr_core = cpu_core(&current_cpu_data); in mips_cm_unlock_other()
367 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), in mips_cm_unlock_other()
368 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_unlock_other()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c26089 u8 curr_core; in wlc_phy_calc_rx_iq_comp_nphy() local
26111 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { in wlc_phy_calc_rx_iq_comp_nphy()
26113 if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) { in wlc_phy_calc_rx_iq_comp_nphy()
26114 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26115 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26116 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26117 } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) { in wlc_phy_calc_rx_iq_comp_nphy()
26118 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26119 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26120 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
[all …]