Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/kernel/
Dmips-cpc.c94 unsigned int curr_core; in mips_cpc_lock_other() local
101 curr_core = cpu_core(&current_cpu_data); in mips_cpc_lock_other()
102 spin_lock_irqsave(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_lock_other()
103 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_lock_other()
115 unsigned int curr_core; in mips_cpc_unlock_other() local
121 curr_core = cpu_core(&current_cpu_data); in mips_cpc_unlock_other()
122 spin_unlock_irqrestore(&per_cpu(cpc_core_lock, curr_core), in mips_cpc_unlock_other()
123 per_cpu(cpc_core_lock_flags, curr_core)); in mips_cpc_unlock_other()
Dmips-cm.c263 unsigned int curr_core, cm_rev; in mips_cm_lock_other() local
302 curr_core = cpu_core(&current_cpu_data); in mips_cm_lock_other()
303 spin_lock_irqsave(&per_cpu(cm_core_lock, curr_core), in mips_cm_lock_other()
304 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_lock_other()
320 unsigned int curr_core; in mips_cm_unlock_other() local
323 curr_core = cpu_core(&current_cpu_data); in mips_cm_unlock_other()
324 spin_unlock_irqrestore(&per_cpu(cm_core_lock, curr_core), in mips_cm_unlock_other()
325 per_cpu(cm_core_lock_flags, curr_core)); in mips_cm_unlock_other()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c26128 u8 curr_core; in wlc_phy_calc_rx_iq_comp_nphy() local
26150 for (curr_core = 0; curr_core < pi->pubpi.phy_corenum; curr_core++) { in wlc_phy_calc_rx_iq_comp_nphy()
26152 if ((curr_core == PHY_CORE_0) && (core_mask & 0x1)) { in wlc_phy_calc_rx_iq_comp_nphy()
26153 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26154 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26155 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26156 } else if ((curr_core == PHY_CORE_1) && (core_mask & 0x2)) { in wlc_phy_calc_rx_iq_comp_nphy()
26157 iq = est[curr_core].iq_prod; in wlc_phy_calc_rx_iq_comp_nphy()
26158 ii = est[curr_core].i_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
26159 qq = est[curr_core].q_pwr; in wlc_phy_calc_rx_iq_comp_nphy()
[all …]