/drivers/misc/habanalabs/include/gaudi/ |
D | gaudi_async_ids_map_extended.h | 18 int cpu_id; member 24 { .fc_id = 0, .cpu_id = 0, .valid = 0, .name = "" }, 25 { .fc_id = 1, .cpu_id = 1, .valid = 0, .name = "" }, 26 { .fc_id = 2, .cpu_id = 2, .valid = 0, .name = "" }, 27 { .fc_id = 3, .cpu_id = 3, .valid = 0, .name = "" }, 28 { .fc_id = 4, .cpu_id = 4, .valid = 0, .name = "" }, 29 { .fc_id = 5, .cpu_id = 5, .valid = 0, .name = "" }, 30 { .fc_id = 6, .cpu_id = 6, .valid = 0, .name = "" }, 31 { .fc_id = 7, .cpu_id = 7, .valid = 0, .name = "" }, 32 { .fc_id = 8, .cpu_id = 8, .valid = 0, .name = "" }, [all …]
|
/drivers/misc/habanalabs/include/gaudi2/ |
D | gaudi2_async_ids_map_extended.h | 18 int cpu_id; member 26 { .fc_id = 0, .cpu_id = 0, .valid = 0, 28 { .fc_id = 1, .cpu_id = 1, .valid = 0, 30 { .fc_id = 2, .cpu_id = 2, .valid = 0, 32 { .fc_id = 3, .cpu_id = 3, .valid = 0, 34 { .fc_id = 4, .cpu_id = 4, .valid = 0, 36 { .fc_id = 5, .cpu_id = 5, .valid = 0, 38 { .fc_id = 6, .cpu_id = 6, .valid = 0, 40 { .fc_id = 7, .cpu_id = 7, .valid = 0, 42 { .fc_id = 8, .cpu_id = 8, .valid = 0, [all …]
|
/drivers/xen/ |
D | pcpu.c | 60 uint32_t cpu_id; member 74 static int xen_pcpu_down(uint32_t cpu_id) in xen_pcpu_down() argument 79 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_down() 85 static int xen_pcpu_up(uint32_t cpu_id) in xen_pcpu_up() argument 90 .u.cpu_ol.cpuid = cpu_id, in xen_pcpu_up() 121 ret = xen_pcpu_down(pcpu->cpu_id); in online_store() 124 ret = xen_pcpu_up(pcpu->cpu_id); in online_store() 184 static struct pcpu *get_pcpu(uint32_t cpu_id) in get_pcpu() argument 189 if (pcpu->cpu_id == cpu_id) in get_pcpu() 226 dev->id = pcpu->cpu_id; in register_pcpu() [all …]
|
/drivers/cpufreq/ |
D | amd-pstate-trace.h | 34 unsigned int cpu_id, 46 cpu_id, 59 __field(unsigned int, cpu_id) 72 __entry->cpu_id = cpu_id; 85 (unsigned int)__entry->cpu_id,
|
D | speedstep-centrino.c | 37 struct cpu_id struct 53 static const struct cpu_id cpu_ids[] = { argument 65 const struct cpu_id *cpu_id; member 72 const struct cpu_id *x); 76 static DEFINE_PER_CPU(const struct cpu_id *, centrino_cpu); 201 { .cpu_id = cpuid, \ 239 for(model = models; model->cpu_id != NULL; model++) in centrino_cpu_init_table() 240 if (centrino_verify_cpu_id(cpu, model->cpu_id) && in centrino_cpu_init_table() 245 if (model->cpu_id == NULL) { in centrino_cpu_init_table() 277 const struct cpu_id *x) in centrino_verify_cpu_id()
|
/drivers/platform/x86/amd/ |
D | pmc.c | 144 u32 cpu_id; member 279 if (dev->cpu_id == AMD_CPU_ID_PCO) { in amd_pmc_setup_smu_logging() 319 if (pdev->cpu_id == AMD_CPU_ID_PCO) in get_metrics_table() 346 if (dev->cpu_id == AMD_CPU_ID_PCO) in amd_pmc_get_smu_version() 400 if (pdev->cpu_id == AMD_CPU_ID_PCO) in pmc_attr_is_visible() 492 switch (pdev->cpu_id) { in amd_pmc_idlemask_read() 545 if (dev->cpu_id == AMD_CPU_ID_YC || dev->cpu_id == AMD_CPU_ID_CB || in amd_pmc_dbgfs_register() 546 dev->cpu_id == AMD_CPU_ID_PS) in amd_pmc_dbgfs_register() 656 switch (dev->cpu_id) { in amd_pmc_get_os_hint() 758 if (pdev->cpu_id == AMD_CPU_ID_CZN) { in amd_pmc_s2idle_prepare() [all …]
|
/drivers/peci/ |
D | device.c | 47 static int peci_get_cpu_id(struct peci_device *device, u32 *cpu_id) in peci_get_cpu_id() argument 60 *cpu_id = peci_request_data_readl(req); in peci_get_cpu_id() 96 u32 cpu_id; in peci_device_info_init() local 99 ret = peci_get_cpu_id(device, &cpu_id); in peci_device_info_init() 103 device->info.family = peci_x86_cpu_family(cpu_id); in peci_device_info_init() 104 device->info.model = peci_x86_cpu_model(cpu_id); in peci_device_info_init()
|
/drivers/thermal/qcom/ |
D | lmh.c | 94 int temp_low, temp_high, temp_arm, cpu_id, ret; in lmh_probe() local 109 cpu_id = of_cpu_node_to_id(cpu_node); in lmh_probe() 135 if (cpu_id == 0) { in lmh_probe() 137 } else if (cpu_id == 4) { in lmh_probe()
|
/drivers/acpi/ |
D | cppc_acpi.c | 147 ret = access_fn(cpc_ptr->cpu_id, &st_name); \ 173 ret = cppc_get_perf_ctrs(cpc_ptr->cpu_id, &fb_ctrs); in show_feedback_ctrs() 395 pr_debug("Invalid _PSD data for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 400 pr_debug("Unknown _PSD:num_entries for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 405 pr_debug("Unknown _PSD:revision for CPU: %d\n", cpc_ptr->cpu_id); in acpi_get_psd() 412 pr_debug("Invalid _PSD:coord_type for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 844 cpc_ptr->cpu_id = pr->id; in acpi_cppc_processor_probe()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_core.c | 728 droq->cpu_id == this_cpu) { in liquidio_napi_drv_callback() 732 smp_call_function_single_async(droq->cpu_id, &droq->csd); in liquidio_napi_drv_callback() 814 int cpu_id; in liquidio_setup_io_queues() local 827 cpu_id = 0; in liquidio_setup_io_queues() 857 droq->cpu_id = cpu_id; in liquidio_setup_io_queues() 858 cpu_id++; in liquidio_setup_io_queues() 859 if (cpu_id >= cpu_id_modulus) in liquidio_setup_io_queues() 860 cpu_id = 0; in liquidio_setup_io_queues()
|
D | octeon_droq.h | 321 u32 cpu_id; member
|
/drivers/net/ethernet/netronome/nfp/bpf/ |
D | fw.h | 119 __be32 cpu_id; member
|
/drivers/s390/cio/ |
D | css.h | 66 __u32 cpu_id : 24; /* CPU identification */ member
|
D | css.c | 855 struct cpuid cpu_id; in css_generate_pgid() local 864 get_cpu_id(&cpu_id); in css_generate_pgid() 865 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid() 866 css->global_pgid.cpu_model = cpu_id.machine; in css_generate_pgid()
|
/drivers/irqchip/ |
D | irq-gic.c | 927 void gic_send_sgi(unsigned int cpu_id, unsigned int irq) in gic_send_sgi() argument 929 BUG_ON(cpu_id >= NR_GIC_CPU_IF); in gic_send_sgi() 930 cpu_id = 1 << cpu_id; in gic_send_sgi() 932 writel_relaxed((cpu_id << 16) | irq, gic_data_dist_base(&gic_data[0]) + GIC_DIST_SOFTINT); in gic_send_sgi()
|
/drivers/hwtracing/coresight/ |
D | coresight-core.c | 830 sink == per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev))) { in _coresight_build_path() 1053 csdev->def_sink = per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev)); in coresight_find_default_sink() 1173 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_enable() 1213 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_disable()
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.h | 86 unsigned int cpu_id; member
|
/drivers/scsi/lpfc/ |
D | lpfc_nvme.h | 44 uint32_t cpu_id; /* current cpu id at time of create */ member
|
/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 799 unsigned long cpu_id; member 809 .key_offset = offsetof(struct sdma_rht_node, cpu_id), 810 .key_len = sizeof_field(struct sdma_rht_node, cpu_id), 832 unsigned long cpu_id; in sdma_select_user_engine() local 842 cpu_id = smp_processor_id(); in sdma_select_user_engine() 843 rht_node = rhashtable_lookup(dd->sdma_rht, &cpu_id, in sdma_select_user_engine() 951 rht_node->cpu_id = cpu; in sdma_set_cpu_to_sde_map()
|
/drivers/edac/ |
D | e752x_edac.c | 1213 char *cpu_id = cpu_data(0).x86_model_id; in e752x_init_sysbus_parity_mask() local 1220 } else if (cpu_id[0] && !strstr(cpu_id, "Xeon")) { in e752x_init_sysbus_parity_mask()
|
/drivers/platform/x86/intel/pmc/ |
D | core.c | 1988 const struct x86_cpu_id *cpu_id; in pmc_core_probe() local 2000 cpu_id = x86_match_cpu(intel_pmc_core_ids); in pmc_core_probe() 2001 if (!cpu_id) in pmc_core_probe() 2004 pmcdev->map = (struct pmc_reg_map *)cpu_id->driver_data; in pmc_core_probe()
|
/drivers/misc/habanalabs/gaudi2/ |
D | gaudi2.c | 2658 static int gaudi2_scrub_arc_dccm(struct hl_device *hdev, u32 cpu_id) in gaudi2_scrub_arc_dccm() argument 2663 switch (cpu_id) { in gaudi2_scrub_arc_dccm() 2666 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 2675 reg_base = gaudi2_arc_blocks_bases[cpu_id]; in gaudi2_scrub_arc_dccm() 2678 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 2688 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 2698 rc = gaudi2_send_job_to_kdma(hdev, 0, CFG_BASE + gaudi2_arc_dccm_bases[cpu_id], in gaudi2_scrub_arc_dccm() 3782 static void gaudi2_set_arc_running_mode(struct hl_device *hdev, u32 cpu_id, u32 run_mode) in gaudi2_set_arc_running_mode() argument 3786 reg_base = gaudi2_arc_blocks_bases[cpu_id]; in gaudi2_set_arc_running_mode() 3805 static int gaudi2_verify_arc_running_mode(struct hl_device *hdev, u32 cpu_id, u32 run_mode) in gaudi2_verify_arc_running_mode() argument [all …]
|
/drivers/platform/x86/amd/pmf/ |
D | pmf.h | 163 u32 cpu_id; member
|
D | core.c | 376 dev->cpu_id = rdev->device; in amd_pmf_probe()
|
/drivers/soc/mediatek/ |
D | mtk-svs.c | 462 u32 cpu_id; member 2147 svsb->opp_dev = get_cpu_device(svsb->cpu_id); in svs_mt8183_platform_probe() 2229 .cpu_id = 0, 2253 .cpu_id = 4,
|