/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/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 | 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/thermal/qcom/ |
D | lmh.c | 92 int temp_low, temp_high, temp_arm, cpu_id, ret; in lmh_probe() local 106 cpu_id = of_cpu_node_to_id(cpu_node); in lmh_probe() 132 if (cpu_id == 0) { in lmh_probe() 134 } else if (cpu_id == 4) { in lmh_probe()
|
/drivers/platform/x86/ |
D | amd-pmc.c | 116 u32 cpu_id; member 185 switch (pdev->cpu_id) { in amd_pmc_idlemask_read() 212 if (dev->cpu_id == AMD_CPU_ID_PCO) in smu_fw_info_show() 306 if (dev->cpu_id == AMD_CPU_ID_PCO) in amd_pmc_setup_smu_logging() 406 switch (dev->cpu_id) { in amd_pmc_get_os_hint() 449 if (pdev->cpu_id == AMD_CPU_ID_CZN) { in amd_pmc_suspend() 523 dev->cpu_id = rdev->device; in amd_pmc_probe()
|
/drivers/platform/x86/intel/ |
D | int0002_vgpio.c | 170 const struct x86_cpu_id *cpu_id; in int0002_probe() local 177 cpu_id = x86_match_cpu(int0002_cpu_ids); in int0002_probe() 178 if (!cpu_id) in int0002_probe()
|
/drivers/acpi/ |
D | cppc_acpi.c | 145 ret = access_fn(cpc_ptr->cpu_id, &st_name); \ 171 ret = cppc_get_perf_ctrs(cpc_ptr->cpu_id, &fb_ctrs); in show_feedback_ctrs() 392 pr_debug("Invalid _PSD data for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 397 pr_debug("Unknown _PSD:num_entries for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 402 pr_debug("Unknown _PSD:revision for CPU: %d\n", cpc_ptr->cpu_id); in acpi_get_psd() 409 pr_debug("Invalid _PSD:coord_type for CPU:%d\n", cpc_ptr->cpu_id); in acpi_get_psd() 800 cpc_ptr->cpu_id = pr->id; in acpi_cppc_processor_probe()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | lio_core.c | 729 droq->cpu_id == this_cpu) { in liquidio_napi_drv_callback() 733 smp_call_function_single_async(droq->cpu_id, &droq->csd); in liquidio_napi_drv_callback() 815 int cpu_id; in liquidio_setup_io_queues() local 828 cpu_id = 0; in liquidio_setup_io_queues() 858 droq->cpu_id = cpu_id; in liquidio_setup_io_queues() 859 cpu_id++; in liquidio_setup_io_queues() 860 if (cpu_id >= cpu_id_modulus) in liquidio_setup_io_queues() 861 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
|
D | offload.c | 476 bpf_event_output(record->ptr, be32_to_cpu(cbe->cpu_id), in nfp_bpf_event_output()
|
/drivers/s390/cio/ |
D | css.h | 66 __u32 cpu_id : 24; /* CPU identification */ member
|
D | css.c | 894 struct cpuid cpu_id; in css_generate_pgid() local 903 get_cpu_id(&cpu_id); in css_generate_pgid() 904 css->global_pgid.cpu_id = cpu_id.ident; in css_generate_pgid() 905 css->global_pgid.cpu_model = cpu_id.machine; in css_generate_pgid()
|
/drivers/irqchip/ |
D | irq-gic.c | 915 void gic_send_sgi(unsigned int cpu_id, unsigned int irq) in gic_send_sgi() argument 917 BUG_ON(cpu_id >= NR_GIC_CPU_IF); in gic_send_sgi() 918 cpu_id = 1 << cpu_id; in gic_send_sgi() 920 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 | 802 sink == per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev))) { in _coresight_build_path() 1025 csdev->def_sink = per_cpu(csdev_sink, source_ops(csdev)->cpu_id(csdev)); in coresight_find_default_sink() 1145 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_enable() 1185 cpu = source_ops(csdev)->cpu_id(csdev); in coresight_disable()
|
D | coresight-etm-perf.c | 697 int ret = 0, cpu = source_ops(csdev)->cpu_id(csdev); in etm_perf_symlink()
|
D | coresight-etm3x-core.c | 669 .cpu_id = etm_cpu_id,
|
/drivers/scsi/lpfc/ |
D | lpfc_nvme.h | 44 uint32_t cpu_id; /* current cpu id at time of create */ member
|
/drivers/infiniband/ulp/rtrs/ |
D | rtrs-clt.h | 86 unsigned int cpu_id; member
|
/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/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/platform/x86/intel/pmc/ |
D | core.c | 1984 const struct x86_cpu_id *cpu_id; in pmc_core_probe() local 1996 cpu_id = x86_match_cpu(intel_pmc_core_ids); in pmc_core_probe() 1997 if (!cpu_id) in pmc_core_probe() 2000 pmcdev->map = (struct pmc_reg_map *)cpu_id->driver_data; in pmc_core_probe()
|
/drivers/misc/habanalabs/gaudi/ |
D | gaudi.c | 2783 gaudi_irq_map_table[GAUDI_EVENT_DMA0_QM].cpu_id + in gaudi_init_pci_dma_qman() 2831 gaudi_irq_map_table[GAUDI_EVENT_DMA0_CORE].cpu_id + dma_id); in gaudi_init_dma_core() 2962 gaudi_irq_map_table[GAUDI_EVENT_DMA0_QM].cpu_id + in gaudi_init_hbm_dma_qman() 3099 gaudi_irq_map_table[GAUDI_EVENT_MME0_QM].cpu_id + in gaudi_init_mme_qman() 3233 gaudi_irq_map_table[GAUDI_EVENT_TPC0_QM].cpu_id + in gaudi_init_tpc_qman() 3384 gaudi_irq_map_table[GAUDI_EVENT_NIC0_QM0].cpu_id + in gaudi_init_nic_qman() 4101 gaudi_irq_map_table[GAUDI_EVENT_PI_UPDATE].cpu_id); in gaudi_init_cpu_queues() 4296 gaudi_irq_map_table[GAUDI_EVENT_HALT_MACHINE].cpu_id); in gaudi_hw_fini() 4751 gaudi_irq_map_table[GAUDI_EVENT_PI_UPDATE].cpu_id); in gaudi_ring_doorbell() 9113 gaudi_irq_map_table[GAUDI_EVENT_INTS_REGISTER].cpu_id); in gaudi_enable_events_from_fw()
|
/drivers/net/ethernet/intel/iavf/ |
D | iavf_txrx.c | 1735 int cpu_id = smp_processor_id(); in iavf_napi_poll() local 1744 if (!cpumask_test_cpu(cpu_id, &q_vector->affinity_mask)) { in iavf_napi_poll()
|
/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4404 u32 q_index, cpu_id; in pm80xx_chip_ssp_io_req() local 4425 cpu_id = smp_processor_id(); in pm80xx_chip_ssp_io_req() 4426 q_index = (u32) (cpu_id) % (pm8001_ha->max_q_num); in pm80xx_chip_ssp_io_req() 4557 u32 q_index, cpu_id; in pm80xx_chip_sata_req() local 4568 cpu_id = smp_processor_id(); in pm80xx_chip_sata_req() 4569 q_index = (u32) (cpu_id) % (pm8001_ha->max_q_num); in pm80xx_chip_sata_req()
|