Home
last modified time | relevance | path

Searched defs:cpuid (Results 1 – 25 of 148) sorted by relevance

123456

/linux-6.6.21/arch/s390/include/asm/
Dcpu.h17 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/
Dflowctrl.c51 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/
Dflowctrl.h51 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/
Dcpu_ops_sbi.c65 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()
Dcpu_ops_spinwait.c20 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()
Dsmpboot.c49 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
Dcpu_ops.c27 void __init cpu_set_ops(int cpuid) in cpu_set_ops()
/linux-6.6.21/arch/alpha/kernel/
Dsmp.c80 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/
Dempty-pmu-events.c206 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/
Dpsci.c216 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/
Dprom_64.c441 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()
Dsmp_32.c179 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
Dsun4d_irq.c33 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
Dirq_64.c314 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
Dsun4d_smp.c45 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/
Dinstructions.c170 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/
Dtegra194-cpufreq.c104 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/
Dheader.c42 char *cpuid = NULL; in _get_cpuid() local
86 char *cpuid = _get_cpuid(); in get_cpuid() local
/linux-6.6.21/arch/x86/kvm/
Dcpuid.c195 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/
Darm_pmu_acpi.c251 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/
Dtopology.c177 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/
Dnuma.h47 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/
Dprocessor.c645 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/
Dcpuid_test.c126 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/
Dsample-raw.c17 const char *cpuid = perf_env__cpuid(evlist->env); in evlist__init_trace_event_sample_raw() local

123456