/openbmc/linux/arch/s390/include/asm/ |
H A 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;
|
/openbmc/linux/drivers/soc/tegra/ |
H A 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()
|
/openbmc/linux/include/soc/tegra/ |
H A 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()
|
/openbmc/linux/arch/riscv/kernel/ |
H A 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()
|
H A D | cpu_ops_spinwait.c | 20 static void cpu_update_secondary_bootdata(unsigned int cpuid, in cpu_update_secondary_bootdata() 41 static int spinwait_cpu_prepare(unsigned int cpuid) in spinwait_cpu_prepare() 50 static int spinwait_cpu_start(unsigned int cpuid, struct task_struct *tidle) in spinwait_cpu_start()
|
H A 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
|
/openbmc/qemu/target/arm/ |
H A D | arm-powerctl.c | 96 int arm_set_cpu_on(uint64_t cpuid, uint64_t entry, uint64_t context_id, in arm_set_cpu_on() 204 int arm_set_cpu_on_and_reset(uint64_t cpuid) in arm_set_cpu_on_and_reset() 257 int arm_set_cpu_off(uint64_t cpuid) in arm_set_cpu_off() 293 int arm_reset_cpu(uint64_t cpuid) in arm_reset_cpu()
|
/openbmc/linux/tools/perf/pmu-events/ |
H A 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()
|
/openbmc/linux/arch/alpha/kernel/ |
H A 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()
|
/openbmc/linux/arch/loongarch/include/asm/ |
H A 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() 59 static inline void set_cpuid_to_node(int cpuid, s16 node) { } in set_cpuid_to_node()
|
/openbmc/u-boot/cmd/ |
H A D | mp.c | 11 unsigned long cpuid; in cpu_status_all() local 30 unsigned long cpuid; in cpu_cmd() local
|
/openbmc/linux/drivers/firmware/psci/ |
H A 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 555 unsigned long cpuid; in psci_init_migrate() local
|
/openbmc/u-boot/arch/arm/mach-omap2/omap3/ |
H A D | sys_info.c | 70 u32 cpuid = 0; in get_cpu_id() local 96 u32 cpuid = get_cpu_id(); in get_cpu_family() local 124 u32 cpuid = get_cpu_id(); in get_cpu_rev() local
|
/openbmc/linux/tools/perf/arch/x86/annotate/ |
H A 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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() 502 static void *fill_in_one_cpu(struct device_node *dp, int cpuid, int arg) in fill_in_one_cpu()
|
H A 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
|
H A 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
|
H A 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
|
/openbmc/linux/tools/perf/arch/riscv/util/ |
H A D | header.c | 42 char *cpuid = NULL; in _get_cpuid() local 86 char *cpuid = _get_cpuid(); in get_cpuid() local
|
/openbmc/linux/drivers/cpufreq/ |
H A 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
|
/openbmc/linux/arch/arm/kernel/ |
H A 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()
|
/openbmc/linux/drivers/perf/ |
H A 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
|
/openbmc/linux/arch/x86/kvm/ |
H A D | cpuid.c | 195 struct kvm_hypervisor_cpuid cpuid = {}; in kvm_get_hypervisor_cpuid() local 460 struct kvm_cpuid *cpuid, in kvm_vcpu_ioctl_set_cpuid() 505 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_set_cpuid2() 528 struct kvm_cpuid2 *cpuid, in kvm_vcpu_ioctl_get_cpuid2() 545 const struct cpuid_reg cpuid = x86_feature_cpuid(leaf * 32); in __kvm_cpu_cap_mask() local 1393 int kvm_dev_ioctl_get_cpuid(struct kvm_cpuid2 *cpuid, in kvm_dev_ioctl_get_cpuid()
|
/openbmc/qemu/hw/intc/ |
H A D | loongson_ipi_common.c | 105 uint32_t cpuid; in mail_send() local 125 uint32_t cpuid; in any_send() local 148 uint32_t cpuid; in loongson_ipi_core_writel() local
|
/openbmc/qemu/hw/core/ |
H A D | cpu-sysemu.c | 93 int cpuid, void *opaque) in cpu_write_elf32_note() 115 int cpuid, void *opaque) in cpu_write_elf64_note()
|