Home
last modified time | relevance | path

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

/Linux-v5.4/arch/mips/kernel/
Dmips-cpc.c90 unsigned int curr_core; in mips_cpc_lock_other() local
97 curr_core = cpu_core(&current_cpu_data); in mips_cpc_lock_other()
98 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_lock_other()
99 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_lock_other()
111 unsigned int curr_core; in mips_cpc_unlock_other() local
117 curr_core = cpu_core(&current_cpu_data); in mips_cpc_unlock_other()
118 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_unlock_other()
119 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_unlock_other()
Dmips-cm.c259 unsigned int curr_core, cm_rev; in mips_cm_lock_other() local
298 curr_core = cpu_core(&current_cpu_data); in mips_cm_lock_other()
299 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), in mips_cm_lock_other()
300 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_lock_other()
316 unsigned int curr_core; in mips_cm_unlock_other() local
319 curr_core = cpu_core(&current_cpu_data); in mips_cm_unlock_other()
320 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), in mips_cm_unlock_other()
321 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_unlock_other()
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c26117 u8 curr_core; in wlc_phy_calc_rx_iq_comp_nphy() local
26139 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { in wlc_phy_calc_rx_iq_comp_nphy()
26141 if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) { in wlc_phy_calc_rx_iq_comp_nphy()
26142 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26143 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26144 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26145 } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) { in wlc_phy_calc_rx_iq_comp_nphy()
26146 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26147 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26148 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
[all …]