Home
last modified time | relevance | path

Searched refs:cpunum (Results 1 – 9 of 9) sorted by relevance

/arch/x86/kernel/acpi/
Dcppc_msr.c26 int cpc_read_ffh(int cpunum, struct cpc_reg *reg, u64 *val) in cpc_read_ffh() argument
30 err = rdmsrl_safe_on_cpu(cpunum, reg->address, val); in cpc_read_ffh()
41 int cpc_write_ffh(int cpunum, struct cpc_reg *reg, u64 val) in cpc_write_ffh() argument
46 err = rdmsrl_safe_on_cpu(cpunum, reg->address, &rd_val); in cpc_write_ffh()
55 err = wrmsrl_safe_on_cpu(cpunum, reg->address, rd_val); in cpc_write_ffh()
/arch/mips/paravirt/
Dparavirt-smp.c48 unsigned int cpunum = get_ebase_cpunum(); in paravirt_smp_setup() local
50 if (WARN_ON(cpunum >= NR_CPUS)) in paravirt_smp_setup()
58 __cpu_number_map[cpunum] = 0; in paravirt_smp_setup()
59 __cpu_logical_map[0] = cpunum; in paravirt_smp_setup()
/arch/parisc/kernel/
Dsmp.c256 smp_cpu_init(int cpunum) in smp_cpu_init() argument
262 init_per_cpu(cpunum); in smp_cpu_init()
269 if (cpu_online(cpunum)) { in smp_cpu_init()
272 printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum); in smp_cpu_init()
276 notify_cpu_starting(cpunum); in smp_cpu_init()
278 set_cpu_online(cpunum, true); in smp_cpu_init()
Dprocessor.c80 init_percpu_prof(unsigned long cpunum) in init_percpu_prof() argument
320 int __init init_per_cpu(int cpunum) in init_per_cpu() argument
334 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in init_per_cpu()
335 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in init_per_cpu()
337 if (cpunum == 0) in init_per_cpu()
339 cpunum, coproc_cfg.revision, coproc_cfg.model); in init_per_cpu()
361 init_percpu_prof(cpunum); in init_per_cpu()
Dsetup.c406 int ret, cpunum; in start_parisc() local
412 cpunum = smp_processor_id(); in start_parisc()
420 per_cpu(cpu_data, cpunum).fp_rev = coproc_cfg.revision; in start_parisc()
421 per_cpu(cpu_data, cpunum).fp_model = coproc_cfg.model; in start_parisc()
/arch/mips/sgi-ip27/
Dip27-smp.c34 static void alloc_cpupda(cpuid_t cpu, int cpunum) in alloc_cpupda() argument
39 cputonasid(cpunum) = nasid; in alloc_cpupda()
40 sn_cpu_info[cpunum].p_nodeid = node; in alloc_cpupda()
41 cputoslice(cpunum) = get_cpu_slice(cpu); in alloc_cpupda()
Dip27-irq-pci.c81 static inline int find_level(cpuid_t *cpunum, int irq) in find_level() argument
90 *cpunum = cpu; in find_level()
/arch/x86/include/asm/
Dsmp.h133 void common_cpu_up(unsigned int cpunum, struct task_struct *tidle);
134 int native_cpu_up(unsigned int cpunum, struct task_struct *tidle);
/arch/ia64/kernel/
Dsetup.c638 # define cpunum c->cpu in show_cpuinfo() macro
641 # define cpunum 0 in show_cpuinfo()
678 proc_freq = cpufreq_quick_get(cpunum); in show_cpuinfo()
697 cpunum, c->vendor, c->family, c->model, in show_cpuinfo()
705 cpumask_weight(&cpu_core_map[cpunum])); in show_cpuinfo()