/drivers/xen/ |
D | pcpu.c | 60 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 …]
|
D | xen-acpi-cpuhotplug.c | 187 int cpu_id, apic_id, pxm; in xen_hotadd_cpu() local 209 cpu_id = HYPERVISOR_platform_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/ |
D | speedstep-centrino.c | 36 struct cpu_id struct 52 static const struct cpu_id cpu_ids[] = { argument 64 const struct cpu_id *cpu_id; member 71 const struct cpu_id *x); 75 static DEFINE_PER_CPU(const struct cpu_id *, centrino_cpu); 200 { .cpu_id = cpuid, \ 238 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table() 239 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table() 244 if (model->cpu_id == NULL) { in centrino_cpu_init_table() 276 const struct cpu_id *x) in centrino_verify_cpu_id()
|
/drivers/lguest/ |
D | lguest_user.c | 109 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/platform/x86/ |
D | intel_pmc_core.c | 130 const struct x86_cpu_id *cpu_id; in pmc_core_probe() local 133 cpu_id = x86_match_cpu(intel_pmc_core_ids); in pmc_core_probe() 134 if (!cpu_id) { in pmc_core_probe()
|
/drivers/clk/ |
D | clk-mb86s7x.c | 259 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/ |
D | cppc_acpi.c | 141 cppc_get_perf_ctrs(cpc_ptr->cpu_id, &fb_ctrs); in show_feedback_ctrs() 154 cppc_get_perf_ctrs(cpc_ptr->cpu_id, &fb_ctrs); in show_reference_perf() 167 cppc_get_perf_ctrs(cpc_ptr->cpu_id, &fb_ctrs); in show_wraparound_time() 382 pr_debug("Invalid _PSD data for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 387 pr_debug("Unknown _PSD:num_entries for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 392 pr_debug("Unknown _PSD:revision for CPU: %d\n", cpc_ptr->cpu_id); in acpi_get_psd() 399 pr_debug("Invalid _PSD:coord_type for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 762 cpc_ptr->cpu_id = pr->id; in acpi_cppc_processor_probe()
|
/drivers/s390/cio/ |
D | css.c | 699 struct cpuid cpu_id; in css_generate_pgid() local 707 get_cpu_id(&cpu_id); in css_generate_pgid() 708 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid() 709 css->global_pgid.cpu_model = cpu_id.machine; in css_generate_pgid()
|
D | css.h | 57 __u32 cpu_id : 24; /* CPU identification */ member
|
/drivers/irqchip/ |
D | irq-gic.c | 823 void gic_send_sgi(unsigned int cpu_id, unsigned int irq) in gic_send_sgi() argument 825 BUG_ON(cpu_id >= NR_GIC_CPU_IF); in gic_send_sgi() 826 cpu_id = 1 << cpu_id; in gic_send_sgi() 828 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/ |
D | octeon_droq.h | 347 u32 cpu_id; member
|
D | lio_main.c | 2386 if (OCTEON_CN23XX_PF(oct) || droq->cpu_id == this_cpu) { in liquidio_napi_drv_callback() 2395 smp_call_function_single_async(droq->cpu_id, csd); in liquidio_napi_drv_callback() 2459 static int cpu_id; in setup_io_queues() local 2478 cpu_id = 0; in setup_io_queues() 2508 droq->cpu_id = cpu_id; in setup_io_queues() 2509 cpu_id++; in setup_io_queues() 2510 if (cpu_id >= cpu_id_modulus) in setup_io_queues() 2511 cpu_id = 0; in setup_io_queues()
|
/drivers/edac/ |
D | e752x_edac.c | 1215 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/infiniband/hw/hfi1/ |
D | sdma.c | 826 unsigned long cpu_id; member 836 .key_offset = offsetof(struct sdma_rht_node, cpu_id), 837 .key_len = FIELD_SIZEOF(struct sdma_rht_node, cpu_id), 860 unsigned long cpu_id; in sdma_select_user_engine() local 869 cpu_id = smp_processor_id(); in sdma_select_user_engine() 871 rht_node = rhashtable_lookup_fast(&dd->sdma_rht, &cpu_id, in sdma_select_user_engine() 980 rht_node->cpu_id = cpu; in sdma_set_cpu_to_sde_map()
|
/drivers/hwtracing/coresight/ |
D | coresight.c | 608 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_enable() 648 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_disable()
|
D | coresight-etm-perf.c | 465 int ret = 0, cpu = source_ops(csdev)->cpu_id(csdev); in etm_perf_symlink()
|
D | coresight-etm3x.c | 637 .cpu_id = etm_cpu_id,
|
D | coresight-etm4x.c | 414 .cpu_id = etm4_cpu_id,
|
/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 5223 int cpu_id, last_cpu_id = 0; in mpt3sas_base_attach() local 5230 for_each_online_cpu(cpu_id) in mpt3sas_base_attach() 5231 last_cpu_id = cpu_id; in mpt3sas_base_attach()
|