/openbmc/qemu/tests/qtest/ |
H A D | arm-cpu-features.c | 29 static QDict *do_query_no_props(QTestState *qts, const char *cpu_type) in do_query_no_props() argument 32 QUERY_TAIL, cpu_type); in do_query_no_props() 36 static QDict *do_query(QTestState *qts, const char *cpu_type, in do_query() argument 51 QUERY_TAIL, cpu_type, args); in do_query() 53 resp = do_query_no_props(qts, cpu_type); in do_query() 73 #define assert_error(qts, cpu_type, expected_error, fmt, ...) \ argument 78 _resp = do_query(qts, cpu_type, fmt, ##__VA_ARGS__); \ 130 #define assert_has_feature(qts, cpu_type, feature) \ argument 132 QDict *_resp = do_query_no_props(qts, cpu_type); \ 139 #define assert_has_not_feature(qts, cpu_type, feature) \ argument [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | cpu-type.h | 15 static inline int __pure __get_cpu_type(const int cpu_type) in __get_cpu_type() argument 17 switch (cpu_type) { in __get_cpu_type() 186 return cpu_type; in __get_cpu_type() 191 const int cpu_type = current_cpu_data.cputype; in current_cpu_type() local 193 return __get_cpu_type(cpu_type); in current_cpu_type() 198 const int cpu_type = cpu_data[0].cputype; in boot_cpu_type() local 200 return __get_cpu_type(cpu_type); in boot_cpu_type()
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | mach-vf610.c | 24 unsigned int cpu_type; in vf610_detect_cpu() local 42 cpu_type = cpxcount ? MXC_CPU_VF600 : MXC_CPU_VF500; in vf610_detect_cpu() 45 cpu_type |= MXC_CPU_VFx10; in vf610_detect_cpu() 47 mxc_set_cpu_type(cpu_type); in vf610_detect_cpu()
|
/openbmc/u-boot/board/renesas/salvator-x/ |
H A D | salvator-x.c | 107 u32 cpu_type = rmobile_get_cpu_type(); in board_fit_config_name_match() local 109 if ((cpu_type == RMOBILE_CPU_TYPE_R8A7795) && in board_fit_config_name_match() 113 if ((cpu_type == RMOBILE_CPU_TYPE_R8A7796) && in board_fit_config_name_match() 117 if ((cpu_type == RMOBILE_CPU_TYPE_R8A77965) && in board_fit_config_name_match()
|
/openbmc/u-boot/arch/arm/mach-rmobile/ |
H A D | cpu_info.c | 52 u16 cpu_type; member 74 u32 cpu_type = rmobile_get_cpu_type(); in rmobile_cpuinfo_idx() local 77 if (rmobile_cpuinfo[i].cpu_type == cpu_type) in rmobile_cpuinfo_idx()
|
/openbmc/qemu/hw/riscv/ |
H A D | riscv_hart.c | 33 DEFINE_PROP_STRING("cpu-type", RISCVHartArrayState, cpu_type), 46 char *cpu_type, Error **errp) in riscv_hart_realize() argument 48 object_initialize_child(OBJECT(s), "harts[*]", &s->harts[idx], cpu_type); in riscv_hart_realize() 63 if (!riscv_hart_realize(s, n, s->cpu_type, errp)) { in riscv_harts_realize()
|
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/ |
H A D | cpu.c | 22 static struct cpu_type cpu_type_list[] = { 214 static struct cpu_type cpu_type_unknown = CPU_TYPE_ENTRY(Unknown, Unknown, 0); 216 struct cpu_type *identify_cpu(u32 ver) in identify_cpu() 235 struct cpu_type *cpu = gd->arch.cpu; in cpu_mask() 252 struct cpu_type *cpu = gd->arch.cpu; in cpu_dsp_mask() 270 struct cpu_type *cpu = gd->arch.cpu; in cpu_num_dspcores() 288 struct cpu_type *cpu = gd->arch.cpu; in cpu_numcores() 327 struct cpu_type *cpu = gd->arch.cpu; in fixup_cpu()
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | perf.c | 494 if (boot_cpu_data.cpu_type == pcxu || in perf_init() 495 boot_cpu_data.cpu_type == pcxu_) { in perf_init() 497 } else if (boot_cpu_data.cpu_type == pcxw || in perf_init() 498 boot_cpu_data.cpu_type == pcxw_ || in perf_init() 499 boot_cpu_data.cpu_type == pcxw2 || in perf_init() 500 boot_cpu_data.cpu_type == mako || in perf_init() 501 boot_cpu_data.cpu_type == mako2) { in perf_init() 503 if (boot_cpu_data.cpu_type == pcxw2 || in perf_init() 504 boot_cpu_data.cpu_type == mako || in perf_init() 505 boot_cpu_data.cpu_type == mako2) in perf_init()
|
H A D | processor.c | 289 boot_cpu_data.cpu_type = parisc_get_cpu_type(boot_cpu_data.hversion); in collect_boot_cpu_data() 290 boot_cpu_data.cpu_name = cpu_name_version[boot_cpu_data.cpu_type][0]; in collect_boot_cpu_data() 291 boot_cpu_data.family_name = cpu_name_version[boot_cpu_data.cpu_type][1]; in collect_boot_cpu_data() 294 _parisc_requires_coherency = (boot_cpu_data.cpu_type == mako) || in collect_boot_cpu_data() 295 (boot_cpu_data.cpu_type == mako2); in collect_boot_cpu_data()
|
/openbmc/u-boot/board/renesas/ulcb/ |
H A D | ulcb.c | 90 u32 cpu_type = rmobile_get_cpu_type(); in board_fit_config_name_match() local 92 if ((cpu_type == RMOBILE_CPU_TYPE_R8A7795) && in board_fit_config_name_match() 96 if ((cpu_type == RMOBILE_CPU_TYPE_R8A7796) && in board_fit_config_name_match()
|
/openbmc/qemu/target/arm/ |
H A D | arm-qmp-cmds.c | 136 } else if (current_machine->cpu_type) { in qmp_query_cpu_model_expansion() 137 const char *cpu_type = current_machine->cpu_type; in qmp_query_cpu_model_expansion() local 138 int len = strlen(cpu_type) - strlen(ARM_CPU_TYPE_SUFFIX); in qmp_query_cpu_model_expansion() 141 !strncmp(model->name, cpu_type, len)) { in qmp_query_cpu_model_expansion()
|
/openbmc/linux/arch/arm/mach-omap1/ |
H A D | id.c | 129 u8 cpu_type; in omap_check_revision() local 180 cpu_type = omap_revision >> 24; in omap_check_revision() 182 switch (cpu_type) { in omap_check_revision() 196 printk(KERN_INFO "Unknown OMAP cpu type: 0x%02x\n", cpu_type); in omap_check_revision()
|
/openbmc/qemu/hw/core/ |
H A D | null-machine.c | 25 if (mch->cpu_type) { in machine_none_init() 26 cpu = cpu_create(mch->cpu_type); in machine_none_init()
|
/openbmc/qemu/include/hw/ppc/ |
H A D | spapr_cpu_core.h | 35 const char *cpu_type; member 38 const char *spapr_get_cpu_core_type(const char *cpu_type);
|
/openbmc/qemu/target/s390x/ |
H A D | cpu_models_sysemu.c | 348 uint16_t cpu_type; in qmp_query_cpu_model_baseline() local 371 cpu_type = modela.def->type; in qmp_query_cpu_model_baseline() 373 cpu_type = 0; in qmp_query_cpu_model_baseline() 378 cpu_type = modelb.def->type; in qmp_query_cpu_model_baseline() 382 cpu_type = modela.def->type; in qmp_query_cpu_model_baseline() 387 model.def = s390_find_cpu_def(cpu_type, max_gen, max_gen_ga, in qmp_query_cpu_model_baseline()
|
/openbmc/qemu/hw/arm/ |
H A D | vexpress.c | 193 const char *cpu_type, 209 static void init_cpus(MachineState *ms, const char *cpu_type, in init_cpus() argument 220 Object *cpuobj = object_new(cpu_type); in init_cpus() 274 const char *cpu_type, in a9_daughterboard_init() argument 295 init_cpus(machine, cpu_type, TYPE_A9MPCORE_PRIV, 0x1e000000, pic, in a9_daughterboard_init() 357 const char *cpu_type, in a15_daughterboard_init() argument 379 init_cpus(machine, cpu_type, TYPE_A15MPCORE_PRIV, in a15_daughterboard_init() 557 daughterboard->init(vms, machine->ram_size, machine->cpu_type, pic); in vexpress_common_init()
|
H A D | bcm2836.c | 32 bc->cpu_type); in bcm283x_base_init() 179 bc->cpu_type = ARM_CPU_TYPE_NAME("arm1176"); in bcm2835_class_init() 190 bc->cpu_type = ARM_CPU_TYPE_NAME("cortex-a7"); in bcm2836_class_init() 204 bc->cpu_type = ARM_CPU_TYPE_NAME("cortex-a53"); in bcm2837_class_init()
|
/openbmc/linux/arch/x86/include/uapi/asm/ |
H A D | vm86.h | 101 unsigned long cpu_type; member 123 unsigned long cpu_type; member
|
/openbmc/qemu/hw/mips/ |
H A D | loongson3_virt.c | 506 if (!machine->cpu_type) { in mips_loongson3_virt_init() 507 machine->cpu_type = MIPS_CPU_TYPE_NAME("Loongson-3A1000"); in mips_loongson3_virt_init() 509 if (!cpu_type_supports_isa(machine->cpu_type, INSN_LOONGSON3A)) { in mips_loongson3_virt_init() 514 if (!machine->cpu_type) { in mips_loongson3_virt_init() 515 machine->cpu_type = MIPS_CPU_TYPE_NAME("Loongson-3A4000"); in mips_loongson3_virt_init() 517 if (!strstr(machine->cpu_type, "Loongson-3A4000")) { in mips_loongson3_virt_init() 570 cpu = mips_cpu_create_with_clock(machine->cpu_type, cpuclk, false); in mips_loongson3_virt_init()
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_cpu_core.c | 107 const char *spapr_get_cpu_core_type(const char *cpu_type) in spapr_get_cpu_core_type() argument 109 int len = strlen(cpu_type) - strlen(POWERPC_CPU_TYPE_SUFFIX); in spapr_get_cpu_core_type() 111 len, cpu_type); in spapr_get_cpu_core_type() 301 obj = object_new(scc->cpu_type); in spapr_create_vcpu() 378 scc->cpu_type = data; in spapr_cpu_core_class_init()
|
/openbmc/u-boot/board/renesas/blanche/ |
H A D | blanche.c | 47 u32 cpu_type; in blanche_init_sys() local 49 cpu_type = rmobile_get_cpu_type(); in blanche_init_sys() 50 if (cpu_type == 0x4A) { in blanche_init_sys()
|
/openbmc/u-boot/board/freescale/p1010rdb/ |
H A D | ddr.c | 82 struct cpu_type *cpu; in get_sdram_size() 105 struct cpu_type *cpu; in fixed_sdram() 209 struct cpu_type *cpu; in fsl_ddr_board_options()
|
/openbmc/qemu/hw/avr/ |
H A D | atmega.c | 53 const char *cpu_type; member 235 object_initialize_child(OBJECT(dev), "cpu", &s->cpu, mc->cpu_type); in atmega_realize() 378 amc->cpu_type = AVR_CPU_TYPE_NAME("avr5"); in atmega168_class_init() 393 amc->cpu_type = AVR_CPU_TYPE_NAME("avr5"); in atmega328_class_init() 408 amc->cpu_type = AVR_CPU_TYPE_NAME("avr51"); in atmega1280_class_init() 423 amc->cpu_type = AVR_CPU_TYPE_NAME("avr6"); in atmega2560_class_init()
|
/openbmc/qemu/linux-user/i386/ |
H A D | target_syscall.h | 120 abi_ulong cpu_type; member 143 abi_ulong cpu_type; member
|
/openbmc/qemu/bsd-user/i386/ |
H A D | target_syscall.h | 137 abi_ulong cpu_type; member 160 abi_ulong cpu_type; member
|