/linux-6.6.21/arch/s390/include/asm/ |
D | cpu.h | 17 struct cpuid struct 19 unsigned int version : 8; 20 unsigned int ident : 24; 21 unsigned int machine : 16; 22 unsigned int unused : 16;
|
/linux-6.6.21/drivers/soc/tegra/ |
D | flowctrl.c | 51 u32 flowctrl_read_cpu_csr(unsigned int cpuid) in flowctrl_read_cpu_csr() 62 void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr() 67 void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) in flowctrl_write_cpu_halt() 72 void flowctrl_cpu_suspend_enter(unsigned int cpuid) in flowctrl_cpu_suspend_enter() 128 void flowctrl_cpu_suspend_exit(unsigned int cpuid) in flowctrl_cpu_suspend_exit()
|
/linux-6.6.21/include/soc/tegra/ |
D | flowctrl.h | 51 static inline u32 flowctrl_read_cpu_csr(unsigned int cpuid) in flowctrl_read_cpu_csr() 56 static inline void flowctrl_write_cpu_csr(unsigned int cpuid, u32 value) in flowctrl_write_cpu_csr() 60 static inline void flowctrl_write_cpu_halt(unsigned int cpuid, u32 value) {} in flowctrl_write_cpu_halt() 62 static inline void flowctrl_cpu_suspend_enter(unsigned int cpuid) in flowctrl_cpu_suspend_enter() 66 static inline void flowctrl_cpu_suspend_exit(unsigned int cpuid) in flowctrl_cpu_suspend_exit()
|
/linux-6.6.21/arch/riscv/kernel/ |
D | cpu_ops_sbi.c | 65 static int sbi_cpu_start(unsigned int cpuid, struct task_struct *tidle) in sbi_cpu_start() 82 static int sbi_cpu_prepare(unsigned int cpuid) in sbi_cpu_prepare() 92 static int sbi_cpu_disable(unsigned int cpuid) in sbi_cpu_disable() 107 static int sbi_cpu_is_stopped(unsigned int cpuid) in sbi_cpu_is_stopped()
|
D | cpu_ops_spinwait.c | 20 static void cpu_update_secondary_bootdata(unsigned int cpuid, in cpu_update_secondary_bootdata() 42 static int spinwait_cpu_prepare(unsigned int cpuid) in spinwait_cpu_prepare() 51 static int spinwait_cpu_start(unsigned int cpuid, struct task_struct *tidle) in spinwait_cpu_start()
|
D | smpboot.c | 49 int cpuid; in smp_prepare_cpus() local 126 int cpuid; in acpi_parse_and_init_cpus() local 148 int cpuid = 1; in of_parse_and_init_cpus() local
|
D | cpu_ops.c | 27 void __init cpu_set_ops(int cpuid) in cpu_set_ops()
|
/linux-6.6.21/arch/alpha/kernel/ |
D | smp.c | 80 smp_store_cpu_info(int cpuid) in smp_store_cpu_info() 92 smp_setup_percpu_timer(int cpuid) in smp_setup_percpu_timer() 99 wait_boot_cpu_to_stop(int cpuid) in wait_boot_cpu_to_stop() 120 int cpuid = hard_smp_processor_id(); in smp_callin() local 197 send_secondary_console_msg(char *str, int cpuid) in send_secondary_console_msg() 289 secondary_cpu_start(int cpuid, struct task_struct *idle) in secondary_cpu_start() 360 smp_boot_one_cpu(int cpuid, struct task_struct *idle) in smp_boot_one_cpu()
|
/linux-6.6.21/tools/perf/pmu-events/ |
D | empty-pmu-events.c | 206 const char *cpuid; member 330 char *cpuid = perf_pmu__getcpuid(pmu); in perf_pmu__find_events_table() local 358 char *cpuid = perf_pmu__getcpuid(pmu); in perf_pmu__find_metrics_table() local 383 const struct pmu_events_table *find_core_events_table(const char *arch, const char *cpuid) in find_core_events_table() 394 const struct pmu_metrics_table *find_core_metrics_table(const char *arch, const char *cpuid) in find_core_metrics_table()
|
/linux-6.6.21/drivers/firmware/psci/ |
D | psci.c | 216 static int __psci_cpu_on(u32 fn, unsigned long cpuid, unsigned long entry_point) in __psci_cpu_on() 224 static int psci_0_1_cpu_on(unsigned long cpuid, unsigned long entry_point) in psci_0_1_cpu_on() 229 static int psci_0_2_cpu_on(unsigned long cpuid, unsigned long entry_point) in psci_0_2_cpu_on() 234 static int __psci_migrate(u32 fn, unsigned long cpuid) in __psci_migrate() 242 static int psci_0_1_migrate(unsigned long cpuid) in psci_0_1_migrate() 247 static int psci_0_2_migrate(unsigned long cpuid) in psci_0_2_migrate() 406 unsigned long cpuid; in psci_debugfs_read() local 553 unsigned long cpuid; in psci_init_migrate() local
|
/linux-6.6.21/arch/sparc/kernel/ |
D | prom_64.c | 441 int cpuid = of_getintprop_default(dp, mid_prop, -1); in of_iterate_over_cpus() local 469 static void *check_cpu_node(struct device_node *dp, int cpuid, int id) in check_cpu_node() 476 struct device_node *of_find_node_by_cpuid(int cpuid) in of_find_node_by_cpuid() 481 static void *record_one_cpu(struct device_node *dp, int cpuid, int arg) in record_one_cpu() 500 static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) in fill_in_one_cpu()
|
D | smp_32.c | 179 int i, cpuid, extra; in smp_prepare_cpus() local 239 int cpuid = hard_smp_processor_id(); in smp_prepare_boot_cpu() local 311 unsigned int cpuid = hard_smp_processor_id(); in arch_cpu_pre_online() local
|
D | sun4d_irq.c | 33 unsigned int cpuid; /* target cpu */ member 195 int cpuid = handler_data->cpuid; in sun4d_mask_irq() local 213 int cpuid = handler_data->cpuid; in sun4d_unmask_irq() local 254 int cpuid = cpu_logical_map(1); in sun4d_distribute_irqs() local
|
D | irq_64.c | 314 static unsigned int sun4u_compute_tid(unsigned long imap, unsigned long cpuid) in sun4u_compute_tid() 353 int cpuid; in irq_choose_cpu() local 378 unsigned long cpuid, imap, val; in sun4u_irq_enable() local 403 unsigned long cpuid, imap, val; in sun4u_set_affinity() local 454 unsigned long cpuid = irq_choose_cpu(data->irq, in sun4v_irq_enable() local 476 unsigned long cpuid = irq_choose_cpu(data->irq, mask); in sun4v_set_affinity() local 514 unsigned long cpuid; in sun4v_virq_enable() local 543 unsigned long cpuid; in sun4v_virt_set_affinity() local
|
D | sun4d_smp.c | 45 static inline void show_leds(int cpuid) in show_leds() 56 int cpuid = hard_smp_processor_id(); in sun4d_cpu_pre_starting() local 69 int cpuid; in sun4d_cpu_pre_online() local
|
/linux-6.6.21/tools/perf/arch/x86/annotate/ |
D | instructions.c | 170 static int x86__cpuid_parse(struct arch *arch, char *cpuid) in x86__cpuid_parse() 191 static int x86__annotate_init(struct arch *arch, char *cpuid) in x86__annotate_init()
|
/linux-6.6.21/drivers/cpufreq/ |
D | tegra194-cpufreq.c | 104 static void tegra234_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra234_get_cpu_cluster_id() 116 static int tegra234_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra234_get_cpu_ndiv() 135 u32 cpu, cpuid, clusterid; in tegra234_set_cpu_ndiv() local 160 u32 cpuid, clusterid; in tegra234_read_counters() local 196 static void tegra194_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra194_get_cpu_cluster_id() 340 static int tegra194_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra194_get_cpu_ndiv() 361 u32 cpuid, clusterid; in tegra194_get_speed() local
|
/linux-6.6.21/tools/perf/arch/riscv/util/ |
D | header.c | 42 char *cpuid = NULL; in _get_cpuid() local 86 char *cpuid = _get_cpuid(); in get_cpuid() local
|
/linux-6.6.21/arch/x86/kvm/ |
D | cpuid.c | 195 struct kvm_hypervisor_cpuid cpuid = {}; in kvm_get_hypervisor_cpuid() local 459 struct kvm_cpuid *cpuid, in kvm_vcpu_ioctl_set_cpuid() 504 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_set_cpuid2() 527 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_get_cpuid2() 544 const struct cpuid_reg cpuid = x86_feature_cpuid(leaf * 32); in __kvm_cpu_cap_mask() local 1378 int kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, in kvm_dev_ioctl_get_cpuid()
|
/linux-6.6.21/drivers/perf/ |
D | arm_pmu_acpi.c | 251 unsigned long cpuid = read_cpuid_id(); in arm_pmu_acpi_find_pmu() local 340 unsigned long cpuid) in arm_pmu_acpi_probe_matching_cpus() 383 unsigned long cpuid; in arm_pmu_acpi_probe() local
|
/linux-6.6.21/arch/arm/kernel/ |
D | topology.c | 177 static inline void update_cpu_capacity(unsigned int cpuid) {} in update_cpu_capacity() 185 void store_cpu_topology(unsigned int cpuid) in store_cpu_topology()
|
/linux-6.6.21/arch/loongarch/include/asm/ |
D | numa.h | 47 static inline void set_cpuid_to_node(int cpuid, s16 node) in set_cpuid_to_node() 56 static inline void early_numa_add_cpu(int cpuid, s16 node) { } in early_numa_add_cpu()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 645 static uint32_t __kvm_cpu_has(const struct kvm_cpuid2 *cpuid, in __kvm_cpu_has() 667 bool kvm_cpuid_has(const struct kvm_cpuid2 *cpuid, in kvm_cpuid_has() 674 uint32_t kvm_cpuid_property(const struct kvm_cpuid2 *cpuid, in kvm_cpuid_property() 738 void vcpu_init_cpuid(struct kvm_vcpu *vcpu, const struct kvm_cpuid2 *cpuid) in vcpu_init_cpuid() 1140 const struct kvm_cpuid_entry2 *get_cpuid_entry(const struct kvm_cpuid2 *cpuid, in get_cpuid_entry() 1190 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_hv_cpuid() local 1240 struct kvm_cpuid2 *cpuid = allocate_kvm_cpuid2(MAX_NR_CPUID_ENTRIES); in vcpu_get_supported_hv_cpuid() local
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | cpuid_test.c | 126 struct kvm_cpuid2 *vcpu_alloc_cpuid(struct kvm_vm *vm, vm_vaddr_t *p_gva, struct kvm_cpuid2 *cpuid) in vcpu_alloc_cpuid() 168 struct kvm_cpuid2 *cpuid = allocate_kvm_cpuid2(vcpu->cpuid->nent + 1); in test_get_cpuid2() local
|
/linux-6.6.21/tools/perf/util/ |
D | sample-raw.c | 17 const char *cpuid = perf_env__cpuid(evlist->env); in evlist__init_trace_event_sample_raw() local
|