| /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/qemu/linux-user/sparc/ |
| H A D | target_proc.h | 12 const char *cpu_type; in open_cpuinfo() local 16 cpu_type = "sun4v"; in open_cpuinfo() 18 cpu_type = "sun4u"; in open_cpuinfo() 22 dprintf(fd, "type\t\t: %s\n", cpu_type); in open_cpuinfo()
|
| /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/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/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/qemu/target/arm/ |
| H A D | arm-qmp-cmds.c | 138 } else if (current_machine->cpu_type) { in qmp_query_cpu_model_expansion() 139 const char *cpu_type = current_machine->cpu_type; in qmp_query_cpu_model_expansion() local 140 int len = strlen(cpu_type) - strlen(ARM_CPU_TYPE_SUFFIX); in qmp_query_cpu_model_expansion() 143 !strncmp(model->name, cpu_type, len)) { in qmp_query_cpu_model_expansion()
|
| /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()
|
| H A D | cpu-common.c | 209 const char *cpu_type; in parse_cpu_option() local 224 cpu_type = object_class_get_name(oc); in parse_cpu_option() 226 cc->parse_features(cpu_type, model_pieces[1], &error_fatal); in parse_cpu_option() 228 return cpu_type; in parse_cpu_option()
|
| /openbmc/qemu/hw/riscv/ |
| H A D | riscv_hart.c | 36 DEFINE_PROP_STRING("cpu-type", RISCVHartArrayState, cpu_type), 116 char *cpu_type, Error **errp) in riscv_hart_realize() argument 118 object_initialize_child(OBJECT(s), "harts[*]", &s->harts[idx], cpu_type); in riscv_hart_realize() 160 if (!riscv_hart_realize(s, n, s->cpu_type, errp)) { in riscv_harts_realize()
|
| /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/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/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
|
| /openbmc/u-boot/board/freescale/c29xpcie/ |
| H A D | c29xpcie.c | 29 struct cpu_type *cpu = gd->arch.cpu; in checkboard() 134 struct cpu_type *cpu; in ft_board_setup()
|
| /openbmc/qemu/target/s390x/ |
| H A D | cpu_models_system.c | 351 uint16_t cpu_type; in qmp_query_cpu_model_baseline() local 374 cpu_type = modela.def->type; in qmp_query_cpu_model_baseline() 376 cpu_type = 0; in qmp_query_cpu_model_baseline() 381 cpu_type = modelb.def->type; in qmp_query_cpu_model_baseline() 385 cpu_type = modela.def->type; in qmp_query_cpu_model_baseline() 390 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 | 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()
|
| H A D | vexpress.c | 195 const char *cpu_type, 211 static void init_cpus(MachineState *ms, const char *cpu_type, in init_cpus() argument 222 Object *cpuobj = object_new(cpu_type); in init_cpus() 277 const char *cpu_type, in a9_daughterboard_init() argument 298 init_cpus(machine, cpu_type, TYPE_A9MPCORE_PRIV, 0x1e000000, pic, in a9_daughterboard_init() 360 const char *cpu_type, in a15_daughterboard_init() argument 382 init_cpus(machine, cpu_type, TYPE_A15MPCORE_PRIV, in a15_daughterboard_init() 560 daughterboard->init(vms, machine->ram_size, machine->cpu_type, pic); in vexpress_common_init()
|
| /openbmc/qemu/hw/ppc/ |
| H A D | spapr_cpu_core.c | 113 const char *spapr_get_cpu_core_type(const char *cpu_type) in spapr_get_cpu_core_type() argument 115 int len = strlen(cpu_type) - strlen(POWERPC_CPU_TYPE_SUFFIX); in spapr_get_cpu_core_type() 117 len, cpu_type); in spapr_get_cpu_core_type() 309 obj = object_new(scc->cpu_type); in spapr_create_vcpu() 385 scc->cpu_type = data; in spapr_cpu_core_class_init()
|
| /openbmc/qemu/include/hw/sparc/ |
| H A D | sparc64.h | 8 SPARCCPU *sparc64_cpu_devinit(const char *cpu_type, uint64_t prom_addr);
|
| /openbmc/qemu/include/qemu/ |
| H A D | target-info-impl.h | 22 const char *cpu_type; member
|
| /openbmc/qemu/hw/mips/ |
| H A D | loongson3_virt.c | 513 if (!machine->cpu_type) { in mips_loongson3_virt_init() 514 machine->cpu_type = MIPS_CPU_TYPE_NAME("Loongson-3A1000"); in mips_loongson3_virt_init() 516 if (!cpu_type_supports_isa(machine->cpu_type, INSN_LOONGSON3A)) { in mips_loongson3_virt_init() 521 if (!machine->cpu_type) { in mips_loongson3_virt_init() 522 machine->cpu_type = MIPS_CPU_TYPE_NAME("Loongson-3A4000"); in mips_loongson3_virt_init() 524 if (!strstr(machine->cpu_type, "Loongson-3A4000")) { in mips_loongson3_virt_init() 577 cpu = mips_cpu_create_with_clock(machine->cpu_type, cpuclk, false); in mips_loongson3_virt_init()
|
| /openbmc/qemu/ |
| H A D | target-info-stub.c | 19 .cpu_type = CPU_RESOLVING_TYPE,
|
| /openbmc/u-boot/arch/arm/include/asm/mach-imx/ |
| H A D | sys_proto.h | 19 #define cpu_type(rev) (((rev) >> 12) & 0xff) macro 22 #define get_cpu_type() (cpu_type(get_cpu_rev()))
|