Home
last modified time | relevance | path

Searched refs:cpu_id (Results 1 – 18 of 18) sorted by relevance

/u-boot/arch/arm/mach-zynq/
A Dcpu.c114 int cpu_id = cpu_desc_id(); in arch_early_init_r() local
116 if (cpu_id < 0) in arch_early_init_r()
119 fpga.size = zynq_fpga_descs[cpu_id].fpga_size; in arch_early_init_r()
120 fpga.name = zynq_fpga_descs[cpu_id].devicename; in arch_early_init_r()
132 int cpu_id = cpu_desc_id(); in print_cpuinfo() local
134 if (cpu_id < 0) in print_cpuinfo()
141 printf("CPU: Zynq %s\n", zynq_fpga_descs[cpu_id].devicename); in print_cpuinfo()
/u-boot/board/liebherr/display5/
A Ddisplay5.c40 static u32 cpu_id; variable
177 ARRAY_SIZE(gpio_table_hw_names), &hw_ids_valid, &cpu_id); in board_init()
178 debug("HWx cpu_id 0x%x\n", cpu_id); in board_init()
181 printf("ID: unit type 0x%x rev 0x%x\n", unit_id, cpu_id); in board_init()
/u-boot/board/synopsys/hsdk/
A Dhsdk.c262 static bool is_cpu_used(u32 cpu_id) in is_cpu_used() argument
264 return !!(env_common.core_mask.val & BIT(cpu_id)); in is_cpu_used()
410 static void smp_kick_cpu_x(u32 cpu_id) in smp_kick_cpu_x() argument
414 if (cpu_id > NR_CPUS) in smp_kick_cpu_x()
418 cmd |= (1 << cpu_id); in smp_kick_cpu_x()
483 static noinline void do_init_slave_cpu(u32 cpu_id) in do_init_slave_cpu() argument
487 u32 stack_ptr = (u32)(slave_stack + (64 * cpu_id)); in do_init_slave_cpu()
489 if (cpu_id >= NR_CPUS) in do_init_slave_cpu()
501 smp_kick_cpu_x(cpu_id); in do_init_slave_cpu()
521 pr_err("CPU %u status is unexpected: %d\n", cpu_id, in do_init_slave_cpu()
[all …]
/u-boot/drivers/cpu/
A Dbmips_cpu.c92 unsigned short cpu_id; in bmips_short_cpu_desc() local
97 cpu_id = (val & REV_CHIPID_MASK) >> REV_CHIPID_SHIFT; in bmips_short_cpu_desc()
100 snprintf(buf, size, "BCM%04X%02X", cpu_id, cpu_rev); in bmips_short_cpu_desc()
108 unsigned int cpu_id; in bmips_long_cpu_desc() local
113 cpu_id = (val & REV_LONG_CHIPID_MASK) >> REV_LONG_CHIPID_SHIFT; in bmips_long_cpu_desc()
116 snprintf(buf, size, "BCM%05X%02X", cpu_id, cpu_rev); in bmips_long_cpu_desc()
430 plat->cpu_id = dev_read_u32_default(dev, "reg", -1); in bmips_cpu_bind()
A Driscv_cpu.c100 plat->cpu_id = dev_read_addr(dev); in riscv_cpu_bind()
118 if (plat->cpu_id == gd->arch.boot_hart && plat->timebase_freq) { in riscv_cpu_bind()
/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
A Dmp.h45 int is_core_online(u64 cpu_id);
/u-boot/arch/x86/cpu/
A Dqfw_cpu.c77 plat->cpu_id = cpu_num; in qemu_cpu_fixup()
A Dcpu_x86.c20 plat->cpu_id = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev), in cpu_x86_bind()
A Dmp_init.c227 if (plat->cpu_id == apic_id) { in find_cpu_by_apic_id()
/u-boot/include/
A Dcpu.h26 int cpu_id; member
/u-boot/arch/arm/mach-exynos/include/mach/
A Dcpu.h208 unsigned int cpu_id = (pro_id & 0x00FFF000) >> 12; in s5p_set_cpu_id() local
211 switch (cpu_id) { in s5p_set_cpu_id()
/u-boot/cmd/
A Dcpu.c47 printf("\tID = %d, freq = ", plat->cpu_id); in print_cpu_list()
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
A Dmp.c226 int is_core_online(u64 cpu_id) in is_core_online() argument
229 int pos = id_to_core(cpu_id); in is_core_online()
/u-boot/arch/x86/lib/
A Dsfi.c91 entry->apic_id = plat->cpu_id; in sfi_write_cpus()
A Dmpspec.c93 mpc->mpc_apicid = plat->cpu_id; in mp_write_processor()
95 if (boot_apicid == plat->cpu_id) in mp_write_processor()
A Dacpi_table.c83 plat->cpu_id); in acpi_create_madt_lapics()
/u-boot/arch/arm/dts/
A Dpx30.dtsi772 cpu_id: id@7 { label
A Drk3399.dtsi1316 cpu_id: cpu-id@7 { label

Completed in 25 milliseconds