Home
last modified time | relevance | path

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

/drivers/xen/
Dpcpu.c58 uint32_t cpu_id; member
71 static int xen_pcpu_down(uint32_t cpu_id) in xen_pcpu_down() argument
76 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_down()
82 static int xen_pcpu_up(uint32_t cpu_id) in xen_pcpu_up() argument
87 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_up()
118 ret = xen_pcpu_down(pcpu->cpu_id); in store_online()
121 ret = xen_pcpu_up(pcpu->cpu_id); in store_online()
154 static struct pcpu *get_pcpu(uint32_t cpu_id) in get_pcpu() argument
159 if (pcpu->cpu_id == cpu_id) in get_pcpu()
199 dev->id = pcpu->cpu_id; in register_pcpu()
[all …]
Dxen-acpi-cpuhotplug.c194 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local
216 cpu_id = HYPERVISOR_dom0_op(&op); in xen_hotadd_cpu()
217 if (cpu_id < 0) in xen_hotadd_cpu()
221 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/s390/cio/
Dcss.c686 struct cpuid cpu_id; in css_generate_pgid() local
698 get_cpu_id(&cpu_id); in css_generate_pgid()
699 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid()
700 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.c1219 char *cpu_id = cpu_data(0).x86_model_id; in e752x_init_sysbus_parity_mask() local
1226 } else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) { in e752x_init_sysbus_parity_mask()
/drivers/s390/char/
Dzcore.c188 struct cpuid cpu_id; member
639 get_cpu_id(&hdr->cpu_id); in zcore_header_init()
/drivers/scsi/mpt2sas/
Dmpt2sas_base.c1341 int cpu_id; in _base_assign_reply_queues() local
1368 for_each_online_cpu(cpu_id) { in _base_assign_reply_queues()
1370 ioc->cpu_msix_table[cpu_id] = reply_q->msix_index; in _base_assign_reply_queues()
1375 ioc->cpu_msix_table[cpu_id] = in _base_assign_reply_queues()
1381 ioc->cpu_msix_table[cpu_id] = in _base_assign_reply_queues()
4253 int cpu_id, last_cpu_id = 0; in mpt2sas_base_attach() local
4260 for_each_online_cpu(cpu_id) in mpt2sas_base_attach()
4261 last_cpu_id = cpu_id; in mpt2sas_base_attach()
/drivers/scsi/mpt3sas/
Dmpt3sas_base.c1624 int cpu_id; in _base_assign_reply_queues() local
1664 for_each_online_cpu(cpu_id) { in _base_assign_reply_queues()
1666 ioc->cpu_msix_table[cpu_id] = reply_q->msix_index; in _base_assign_reply_queues()
1671 ioc->cpu_msix_table[cpu_id] = in _base_assign_reply_queues()
1677 ioc->cpu_msix_table[cpu_id] = in _base_assign_reply_queues()
4415 int cpu_id, last_cpu_id = 0; in mpt3sas_base_attach() local
4422 for_each_online_cpu(cpu_id) in mpt3sas_base_attach()
4423 last_cpu_id = cpu_id; in mpt3sas_base_attach()