Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.c46 int cpuid; in smp_prepare_cpus() local
79 int cpuid = 1; in setup_smp() local
Dcpu_ops.c27 void __init cpu_set_ops(int cpuid) in cpu_set_ops()
/linux-6.1.9/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.1.9/drivers/firmware/psci/
Dpsci.c210 static int __psci_cpu_on(u32 fn, unsigned long cpuid, unsigned long entry_point) in __psci_cpu_on()
218 static int psci_0_1_cpu_on(unsigned long cpuid, unsigned long entry_point) in psci_0_1_cpu_on()
223 static int psci_0_2_cpu_on(unsigned long cpuid, unsigned long entry_point) in psci_0_2_cpu_on()
228 static int __psci_migrate(u32 fn, unsigned long cpuid) in __psci_migrate()
236 static int psci_0_1_migrate(unsigned long cpuid) in psci_0_1_migrate()
241 static int psci_0_2_migrate(unsigned long cpuid) in psci_0_2_migrate()
400 unsigned long cpuid; in psci_debugfs_read() local
534 unsigned long cpuid; in psci_init_migrate() local
/linux-6.1.9/drivers/cpufreq/
Dtegra194-cpufreq.c79 static void tegra234_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra234_get_cpu_cluster_id()
91 static int tegra234_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra234_get_cpu_ndiv()
110 u32 cpu, cpuid, clusterid; in tegra234_set_cpu_ndiv() local
135 u32 cpuid, clusterid; in tegra234_read_counters() local
171 static void tegra194_get_cpu_cluster_id(u32 cpu, u32 *cpuid, u32 *clusterid) in tegra194_get_cpu_cluster_id()
315 static int tegra194_get_cpu_ndiv(u32 cpu, u32 cpuid, u32 clusterid, u64 *ndiv) in tegra194_get_cpu_ndiv()
336 u32 cpuid, clusterid; in tegra194_get_speed() local
/linux-6.1.9/tools/perf/pmu-events/
Dempty-pmu-events.c194 const char *cpuid; member
271 char *cpuid = perf_pmu__getcpuid(pmu); in perf_pmu__find_table() local
296 const struct pmu_events_table *find_core_events_table(const char *arch, const char *cpuid) in find_core_events_table()
/linux-6.1.9/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.1.9/tools/perf/arch/x86/annotate/
Dinstructions.c198 static int x86__cpuid_parse(struct arch *arch, char *cpuid) in x86__cpuid_parse()
219 static int x86__annotate_init(struct arch *arch, char *cpuid) in x86__annotate_init()
/linux-6.1.9/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.1.9/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.1.9/arch/x86/kvm/
Dcpuid.c444 struct kvm_cpuid *cpuid, in kvm_vcpu_ioctl_set_cpuid()
489 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_set_cpuid2()
512 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_get_cpuid2()
534 const struct cpuid_reg cpuid = x86_feature_cpuid(leaf * 32); in __kvm_cpu_cap_mask() local
1320 int kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, in kvm_dev_ioctl_get_cpuid()
/linux-6.1.9/tools/perf/util/
Dsample-raw.c17 const char *cpuid = perf_env__cpuid(evlist->env); in evlist__init_trace_event_sample_raw() local
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c688 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_cpuid() local
703 bool kvm_cpuid_has(const struct kvm_cpuid2 *cpuid, in kvm_cpuid_has()
744 void vcpu_init_cpuid(struct kvm_vcpu *vcpu, const struct kvm_cpuid2 *cpuid) in vcpu_init_cpuid()
1178 const struct kvm_cpuid_entry2 *get_cpuid_entry(const struct kvm_cpuid2 *cpuid, in get_cpuid_entry()
1207 static struct kvm_cpuid2 *cpuid; in kvm_get_supported_hv_cpuid() local
1257 struct kvm_cpuid2 *cpuid = allocate_kvm_cpuid2(MAX_NR_CPUID_ENTRIES); in vcpu_get_supported_hv_cpuid() local
/linux-6.1.9/arch/parisc/include/asm/
Dtopology.h12 static inline void store_cpu_topology(unsigned int cpuid) { } in store_cpu_topology()
/linux-6.1.9/tools/perf/arch/x86/util/
Dcpuid.h7 cpuid(unsigned int op, unsigned int op2, unsigned int *a, unsigned int *b, in cpuid() function
/linux-6.1.9/arch/arm/include/asm/
Dcpu.h15 u32 cpuid; member

123456