Home
last modified time | relevance | path

Searched refs:cpu_type (Results 1 – 25 of 142) sorted by relevance

123456

/openbmc/qemu/tests/qtest/
H A Darm-cpu-features.c29 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 Dtarget_proc.h12 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 Dsalvator-x.c107 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 Dcpu_info.c52 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 Dulcb.c90 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 Dcpu.c22 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 Darm-qmp-cmds.c138 } 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 Dnull-machine.c25 if (mch->cpu_type) { in machine_none_init()
26 cpu = cpu_create(mch->cpu_type); in machine_none_init()
H A Dcpu-common.c209 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 Driscv_hart.c36 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 Dspapr_cpu_core.h35 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 Dblanche.c47 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 Dddr.c82 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 Dtarget_syscall.h120 abi_ulong cpu_type; member
143 abi_ulong cpu_type; member
/openbmc/qemu/bsd-user/i386/
H A Dtarget_syscall.h137 abi_ulong cpu_type; member
160 abi_ulong cpu_type; member
/openbmc/u-boot/board/freescale/c29xpcie/
H A Dc29xpcie.c29 struct cpu_type *cpu = gd->arch.cpu; in checkboard()
134 struct cpu_type *cpu; in ft_board_setup()
/openbmc/qemu/target/s390x/
H A Dcpu_models_system.c351 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 Dbcm2836.c32 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 Dvexpress.c195 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 Dspapr_cpu_core.c113 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 Dsparc64.h8 SPARCCPU *sparc64_cpu_devinit(const char *cpu_type, uint64_t prom_addr);
/openbmc/qemu/include/qemu/
H A Dtarget-info-impl.h22 const char *cpu_type; member
/openbmc/qemu/hw/mips/
H A Dloongson3_virt.c513 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 Dtarget-info-stub.c19 .cpu_type = CPU_RESOLVING_TYPE,
/openbmc/u-boot/arch/arm/include/asm/mach-imx/
H A Dsys_proto.h19 #define cpu_type(rev) (((rev) >> 12) & 0xff) macro
22 #define get_cpu_type() (cpu_type(get_cpu_rev()))

123456