Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 12 of 12) sorted by relevance

/drivers/xen/
Dpcpu.c60 uint32_t cpu_id; member
73 static int xen_pcpu_down(uint32_t cpu_id) in xen_pcpu_down() argument
78 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_down()
84 static int xen_pcpu_up(uint32_t cpu_id) in xen_pcpu_up() argument
89 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_up()
120 ret = xen_pcpu_down(pcpu->cpu_id); in store_online()
123 ret = xen_pcpu_up(pcpu->cpu_id); in store_online()
156 static struct pcpu *get_pcpu(uint32_t cpu_id) in get_pcpu() argument
161 if (pcpu->cpu_id == cpu_id) in get_pcpu()
201 dev->id = pcpu->cpu_id; in register_pcpu()
[all …]
Dxen-acpi-cpuhotplug.c193 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local
215 cpu_id = HYPERVISOR_dom0_op(&op); in xen_hotadd_cpu()
216 if (cpu_id < 0) in xen_hotadd_cpu()
220 return cpu_id; in xen_hotadd_cpu()
/drivers/cpufreq/
Dspeedstep-centrino.c35 struct cpu_id struct
51 static const struct cpu_id cpu_ids[] = { argument
63 const struct cpu_id *cpu_id; member
70 const struct cpu_id *x);
74 static DEFINE_PER_CPU(const struct cpu_id *, centrino_cpu);
199 { .cpu_id = cpuid, \
237 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table()
238 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table()
243 if (model->cpu_id == NULL) { in centrino_cpu_init_table()
275 const struct cpu_id *x) in centrino_verify_cpu_id()
/drivers/lguest/
Dlguest_user.c205 unsigned int cpu_id = *o; in read() local
212 if (cpu_id >= lg->nr_cpus) in read()
215 cpu = &lg->cpus[cpu_id]; in read()
412 unsigned int cpu_id = *off; in write() local
421 if (!lg || (cpu_id >= lg->nr_cpus)) in write()
423 cpu = &lg->cpus[cpu_id]; in write()
/drivers/infiniband/hw/ehca/
Dehca_irq.c700 int cpu_id; in queue_comp_task() local
706 cpu_id = find_next_online_cpu(pool); in queue_comp_task()
707 BUG_ON(!cpu_online(cpu_id)); in queue_comp_task()
709 cct = per_cpu_ptr(pool->cpu_comp_tasks, cpu_id); in queue_comp_task()
710 thread = *per_cpu_ptr(pool->cpu_comp_threads, cpu_id); in queue_comp_task()
717 cpu_id = find_next_online_cpu(pool); in queue_comp_task()
718 cct = per_cpu_ptr(pool->cpu_comp_tasks, cpu_id); in queue_comp_task()
719 thread = *per_cpu_ptr(pool->cpu_comp_threads, cpu_id); in queue_comp_task()
/drivers/irqchip/
Dirq-gic.c661 void gic_send_sgi(unsigned int cpu_id, unsigned int irq) in gic_send_sgi() argument
663 BUG_ON(cpu_id >= NR_GIC_CPU_IF); in gic_send_sgi()
664 cpu_id = 1 << cpu_id; in gic_send_sgi()
666 writel_relaxed((cpu_id << 16) | irq, gic_data_dist_base(&gic_data[0]) + GIC_DIST_SOFTINT); in gic_send_sgi()
/drivers/s390/cio/
Dcss.c700 struct cpuid cpu_id; in css_generate_pgid() local
712 get_cpu_id(&cpu_id); in css_generate_pgid()
713 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid()
714 css->global_pgid.cpu_model = cpu_id.machine; in css_generate_pgid()
Dcss.h57 __u32 cpu_id : 24; /* CPU identification */ member
/drivers/edac/
De752x_edac.c1215 char *cpu_id = cpu_data(0).x86_model_id; in e752x_init_sysbus_parity_mask() local
1222 } else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) { in e752x_init_sysbus_parity_mask()
/drivers/s390/char/
Dzcore.c193 struct cpuid cpu_id; member
617 get_cpu_id(&hdr->cpu_id); in zcore_header_init()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c4569 int cpu_id, last_cpu_id = 0; in mpt3sas_base_attach() local
4576 for_each_online_cpu(cpu_id) in mpt3sas_base_attach()
4577 last_cpu_id = cpu_id; in mpt3sas_base_attach()
/drivers/scsi/mpt2sas/
Dmpt2sas_base.c4441 int cpu_id, last_cpu_id = 0; in mpt2sas_base_attach() local
4448 for_each_online_cpu(cpu_id) in mpt2sas_base_attach()
4449 last_cpu_id = cpu_id; in mpt2sas_base_attach()