Home
last modified time | relevance | path

Searched refs:cpu_core (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/arch/mips/kernel/
Dsmp-cps.c193 atomic_set(&mips_cps_core_bootcfg[cpu_core(&current_cpu_data)].vpe_mask, in cps_prepare_cpus()
288 unsigned core = cpu_core(&current_cpu_data); in remote_vpe_boot()
296 unsigned core = cpu_core(&cpu_data[cpu]); in cps_boot_secondary()
409 core = cpu_core(&cpu_data[cpu]); in cps_shutdown_this_cpu()
459 core_cfg = &mips_cps_core_bootcfg[cpu_core(&current_cpu_data)]; in cps_cpu_disable()
523 unsigned core = cpu_core(&cpu_data[cpu]); in cps_cpu_die()
Dmips-cpc.c97 curr_core = cpu_core(&current_cpu_data); in mips_cpc_lock_other()
117 curr_core = cpu_core(&current_cpu_data); in mips_cpc_unlock_other()
Dmips-cm.c298 curr_core = cpu_core(&current_cpu_data); in mips_cm_lock_other()
319 curr_core = cpu_core(&current_cpu_data); in mips_cm_unlock_other()
Dpm-cps.c113 unsigned core = cpu_core(&current_cpu_data); in cps_pm_enter_state()
485 uasm_i_addiu(&p, t0, zero, 1 << cpu_core(&cpu_data[cpu])); in cps_gen_entry_code()
639 unsigned core = cpu_core(&cpu_data[cpu]); in cps_pm_online_cpu()
Dproc.c142 seq_printf(m, "core\t\t\t: %d\n", cpu_core(&cpu_data[n])); in show_cpuinfo()
Dsmp.c180 core = cpu_core(&cpu_data[cpu]); in mips_smp_send_ipi_mask()
/Linux-v5.4/arch/mips/include/asm/
Dtopology.h16 #define topology_core_id(cpu) (cpu_core(&cpu_data[cpu]))
Dmips-cm.h398 unsigned int core = cpu_core(&cpu_data[cpu]); in mips_cm_vp_id()
456 mips_cm_lock_other(cpu_cluster(d), cpu_core(d), cpu_vpe_id(d), block); in mips_cm_lock_other_cpu()
Dcpu-info.h152 static inline unsigned int cpu_core(struct cpuinfo_mips *cpuinfo) in cpu_core() function
/Linux-v5.4/arch/mips/loongson64/loongson-3/
Dsmp.c695 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_disable_clock()
709 uint64_t core_id = cpu_core(&cpu_data[cpu]); in loongson3_enable_clock()
/Linux-v5.4/drivers/staging/netlogic/
Dxlr_net.c231 int cpu_core = nlm_core_id(); in xlr_make_tx_desc() local
232 int fr_stn_id = cpu_core * 8 + XLR_FB_STN; /* FB to 6th bucket */ in xlr_make_tx_desc()