Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 15 of 15) 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()
183 static struct pcpu *get_pcpu(uint32_t cpu_id) in get_pcpu() argument
188 if (pcpu->cpu_id == cpu_id) in get_pcpu()
225 dev->id = pcpu->cpu_id; in register_pcpu()
[all …]
Dxen-acpi-cpuhotplug.c187 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local
209 cpu_id = HYPERVISOR_dom0_op(&op); in xen_hotadd_cpu()
210 if (cpu_id < 0) in xen_hotadd_cpu()
214 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.c109 unsigned int cpu_id = *o; in read() local
116 if (cpu_id >= lg->nr_cpus) in read()
119 cpu = &lg->cpus[cpu_id]; in read()
308 unsigned int cpu_id = *off; in write() local
317 if (!lg || (cpu_id >= lg->nr_cpus)) in write()
319 cpu = &lg->cpus[cpu_id]; in write()
/drivers/staging/rdma/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/clk/
Dclk-mb86s7x.c259 u32 cpu_id; member
272 cmd.cpu_id = 0; in mhu_cluster_rate()
282 cmd.cluster_id, cmd.cpu_id, cmd.frequency); in mhu_cluster_rate()
292 cmd.cluster_id, cmd.cpu_id, cmd.frequency); in mhu_cluster_rate()
/drivers/acpi/
Dcppc_acpi.c161 pr_debug("Invalid _PSD data for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd()
166 pr_debug("Unknown _PSD:num_entries for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd()
171 pr_debug("Unknown _PSD:revision for CPU: %d\n", cpc_ptr->cpu_id); in acpi_get_psd()
178 pr_debug("Invalid _PSD:coord_type for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd()
511 cpc_ptr->cpu_id = pr->id; in acpi_cppc_processor_probe()
/drivers/s390/cio/
Dcss.c704 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/irqchip/
Dirq-gic.c800 void gic_send_sgi(unsigned int cpu_id, unsigned int irq) in gic_send_sgi() argument
802 BUG_ON(cpu_id >= NR_GIC_CPU_IF); in gic_send_sgi()
803 cpu_id = 1 << cpu_id; in gic_send_sgi()
805 writel_relaxed((cpu_id << 16) | irq, gic_data_dist_base(&gic_data[0]) + GIC_DIST_SOFTINT); in gic_send_sgi()
/drivers/net/ethernet/cavium/liquidio/
Docteon_droq.h323 u32 cpu_id; member
Dlio_main.c1860 if (droq->cpu_id == this_cpu) { in liquidio_napi_drv_callback()
1869 smp_call_function_single_async(droq->cpu_id, csd); in liquidio_napi_drv_callback()
1944 static int cpu_id; in setup_io_queues() local
1961 cpu_id = 0; in setup_io_queues()
1988 droq->cpu_id = cpu_id; in setup_io_queues()
1989 cpu_id++; in setup_io_queues()
1990 if (cpu_id >= cpu_id_modulus) in setup_io_queues()
1991 cpu_id = 0; in setup_io_queues()
/drivers/s390/char/
Dzcore.c193 struct cpuid cpu_id; member
594 get_cpu_id(&hdr->cpu_id); in zcore_header_init()
/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/scsi/mpt3sas/
Dmpt3sas_base.c5185 int cpu_id, last_cpu_id = 0; in mpt3sas_base_attach() local
5192 for_each_online_cpu(cpu_id) in mpt3sas_base_attach()
5193 last_cpu_id = cpu_id; in mpt3sas_base_attach()