Home
last modified time | relevance | path

Searched refs:vpe_id (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/arch/mips/oprofile/
Dop_model_mipsxx.c55 M_PERFCTL_VPEID(cpu_data[smp_processor_id()].vpe_id))
56 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro
57 0 : cpu_data[smp_processor_id()].vpe_id)
78 #define vpe_id() 0 macro
101 unsigned int cpu = vpe_id(); \
116 unsigned int cpu = vpe_id(); \
/linux-4.4.14/arch/mips/kernel/
Dsmp-cps.c66 cpu_data[nvpes + v].vpe_id = v; in cps_smp_setup()
256 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); in cps_boot_secondary() local
258 struct vpe_boot_config *vpe_cfg = &core_cfg->vpe_config[vpe_id]; in cps_boot_secondary()
398 unsigned vpe_id = cpu_vpe_id(&cpu_data[cpu]); in wait_for_sibling_halt() local
404 settc(vpe_id); in wait_for_sibling_halt()
Dsmp-cmp.c54 c->vpe_id = (read_c0_tcbind() >> TCBIND_CURVPE_SHIFT) & in cmp_init_secondary()
Dsmp-mt.c303 seq_printf(m, "VPE\t\t\t: %d\n", cpu_data[n].vpe_id); in proc_cpuinfo_chain_call()
Dperf_event_mipsxx.c148 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro
155 #define vpe_id() (cpu_has_mipsmt_pertccounters ? \ macro
174 #define vpe_id() 0 macro
185 if (vpe_id() == 1) in mipsxx_pmu_swizzle_perf_idx()
354 (1 << (12 + vpe_id())) | M_PERFCTL_TC; in mipsxx_pmu_enable_event()
/linux-4.4.14/arch/mips/include/asm/
Dcpu-info.h76 int vpe_id; /* Virtual Processor number */ member
129 # define cpu_vpe_id(cpuinfo) ((cpuinfo)->vpe_id)