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

/linux-4.4.14/arch/mips/kernel/
H A Dmips-cpc.c73 unsigned curr_core; mips_cpc_lock_other() local
75 curr_core = current_cpu_data.core; mips_cpc_lock_other()
76 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), mips_cpc_lock_other()
77 per_cpu(cpc_core_lock_flags, curr_core)); mips_cpc_lock_other()
89 unsigned curr_core = current_cpu_data.core; mips_cpc_unlock_other() local
90 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), mips_cpc_unlock_other()
91 per_cpu(cpc_core_lock_flags, curr_core)); mips_cpc_unlock_other()
H A Dmips-cm.c264 unsigned curr_core; mips_cm_lock_other() local
268 curr_core = current_cpu_data.core; mips_cm_lock_other()
269 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), mips_cm_lock_other()
270 per_cpu(cm_core_lock_flags, curr_core)); mips_cm_lock_other()
291 unsigned curr_core = current_cpu_data.core; mips_cm_unlock_other() local
293 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), mips_cm_unlock_other()
294 per_cpu(cm_core_lock_flags, curr_core)); mips_cm_unlock_other()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_n.c26214 u8 curr_core; wlc_phy_calc_rx_iq_comp_nphy() local
26236 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { wlc_phy_calc_rx_iq_comp_nphy()
26238 if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) { wlc_phy_calc_rx_iq_comp_nphy()
26239 iq = est[curr_core].iq_prod; wlc_phy_calc_rx_iq_comp_nphy()
26240 ii = est[curr_core].i_pwr; wlc_phy_calc_rx_iq_comp_nphy()
26241 qq = est[curr_core].q_pwr; wlc_phy_calc_rx_iq_comp_nphy()
26242 } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) { wlc_phy_calc_rx_iq_comp_nphy()
26243 iq = est[curr_core].iq_prod; wlc_phy_calc_rx_iq_comp_nphy()
26244 ii = est[curr_core].i_pwr; wlc_phy_calc_rx_iq_comp_nphy()
26245 qq = est[curr_core].q_pwr; wlc_phy_calc_rx_iq_comp_nphy()
26298 if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) { wlc_phy_calc_rx_iq_comp_nphy()
26308 if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) { wlc_phy_calc_rx_iq_comp_nphy()

Completed in 416 milliseconds