/u-boot/cmd/ |
A D | mp.c | 12 unsigned long cpuid; in cpu_status_all() local 14 for (cpuid = 0; ; cpuid++) { in cpu_status_all() 15 if (!is_core_valid(cpuid)) { in cpu_status_all() 16 if (cpuid == 0) { in cpu_status_all() 22 cpu_status(cpuid); in cpu_status_all() 31 unsigned long cpuid; in cpu_cmd() local 39 cpuid = simple_strtoul(argv[1], NULL, 10); in cpu_cmd() 40 if (!is_core_valid(cpuid)) { in cpu_cmd() 48 cpu_reset(cpuid); in cpu_cmd() 50 cpu_status(cpuid); in cpu_cmd() [all …]
|
/u-boot/arch/arm/mach-rockchip/ |
A D | misc.c | 28 const char *cpuid = env_get("cpuid#"); in rockchip_setup_macaddr() local 37 if (!cpuid) { in rockchip_setup_macaddr() 42 ret = hash_block("sha256", (void *)cpuid, strlen(cpuid), hash, &size); in rockchip_setup_macaddr() 61 u8 *cpuid) in rockchip_cpuid_from_efuse() argument 81 ret = misc_read(dev, cpuid_offset, cpuid, cpuid_length); in rockchip_cpuid_from_efuse() 91 int rockchip_cpuid_set(const u8 *cpuid, const u32 cpuid_length) in rockchip_cpuid_set() argument 102 sprintf(&cpuid_str[i * 2], "%02x", cpuid[i]); in rockchip_cpuid_set() 111 low[i] = cpuid[1 + (i << 1)]; in rockchip_cpuid_set() 112 high[i] = cpuid[i << 1]; in rockchip_cpuid_set()
|
A D | board.c | 175 u8 cpuid[cpuid_length]; in misc_init_r() local 178 ret = rockchip_cpuid_from_efuse(cpuid_offset, cpuid_length, cpuid); in misc_init_r() 182 ret = rockchip_cpuid_set(cpuid, cpuid_length); in misc_init_r()
|
/u-boot/arch/arm/mach-omap2/omap3/ |
A D | sys_info.c | 70 u32 cpuid = 0; in get_cpu_id() local 76 __asm__ __volatile__("mrc p15, 0, %0, c0, c0, 0":"=r"(cpuid)); in get_cpu_id() 77 if ((cpuid & 0xf) == 0x0) { in get_cpu_id() 83 cpuid = readl(&id_base->idcode); in get_cpu_id() 86 return cpuid; in get_cpu_id() 96 u32 cpuid = get_cpu_id(); in get_cpu_family() local 98 if (cpuid == 0) in get_cpu_family() 101 hawkeye = (cpuid >> HAWKEYE_SHIFT) & 0xffff; in get_cpu_family() 124 u32 cpuid = get_cpu_id(); in get_cpu_rev() local 126 if (cpuid == 0) in get_cpu_rev() [all …]
|
/u-boot/board/pine64/rockpro64_rk3399/ |
A D | rockpro64-rk3399.c | 38 u8 cpuid[cpuid_length]; in misc_init_r() local 43 ret = rockchip_cpuid_from_efuse(cpuid_offset, cpuid_length, cpuid); in misc_init_r() 47 ret = rockchip_cpuid_set(cpuid, cpuid_length); in misc_init_r()
|
/u-boot/board/pine64/pinebook-pro-rk3399/ |
A D | pinebook-pro-rk3399.c | 60 u8 cpuid[cpuid_length]; in misc_init_r() local 65 ret = rockchip_cpuid_from_efuse(cpuid_offset, cpuid_length, cpuid); in misc_init_r() 69 ret = rockchip_cpuid_set(cpuid, cpuid_length); in misc_init_r()
|
/u-boot/arch/arm/include/asm/arch-rockchip/ |
A D | misc.h | 11 u8 *cpuid); 12 int rockchip_cpuid_set(const u8 *cpuid, const u32 cpuid_length);
|
/u-boot/arch/arm/cpu/pxa/ |
A D | cpuinfo.c | 30 uint32_t cpuid; in pxa_get_cpuid() local 31 asm volatile("mrc p15, 0, %0, c0, c0, 0" : "=r"(cpuid)); in pxa_get_cpuid() 32 return cpuid; in pxa_get_cpuid()
|
/u-boot/board/theobroma-systems/puma_rk3399/ |
A D | puma-rk3399.c | 119 u8 cpuid[cpuid_length]; in misc_init_r() local 122 ret = rockchip_cpuid_from_efuse(cpuid_offset, cpuid_length, cpuid); in misc_init_r() 126 ret = rockchip_cpuid_set(cpuid, cpuid_length); in misc_init_r()
|
/u-boot/arch/arm/mach-uniphier/arm32/ |
A D | psci.c | 134 s32 __secure psci_cpu_on(u32 function_id, u32 cpuid, u32 entry_point, in psci_cpu_on() argument 137 u32 cpu = cpuid & 0xff; in psci_cpu_on() 140 debug_puth(cpuid); in psci_cpu_on()
|
/u-boot/arch/x86/cpu/intel_common/ |
A D | report_platform.c | 24 cpuidr = cpuid(index); in report_cpu_info() 32 cpuidr = cpuid(1); in report_cpu_info()
|
A D | microcode.c | 107 result = cpuid(1); in microcode_read_cpu()
|
A D | car2.S | 92 cpuid
|
/u-boot/arch/x86/cpu/ivybridge/ |
A D | model_206ax.c | 39 regs = cpuid(1); in enable_vmx() 150 result = cpuid(1); in cpu_ivybridge_config_tdp_levels() 277 result = cpuid(1); in configure_c_states() 321 cpuid_regs = cpuid(1); in configure_dca_cap()
|
A D | northbridge.c | 32 result = cpuid(1); in bridge_silicon_revision()
|
/u-boot/arch/arm/cpu/armv7/sunxi/ |
A D | psci.c | 169 void __secure sunxi_cpu_power_off(u32 cpuid) in sunxi_cpu_power_off() argument 173 u32 cpu = cpuid & 0x3; in sunxi_cpu_power_off() 189 sunxi_cpu_set_power(cpuid, false); in sunxi_cpu_power_off()
|
/u-boot/arch/arm/include/asm/ |
A D | armv7m.h | 27 uint32_t cpuid; /* CPUID Base Register */ member
|
/u-boot/arch/x86/cpu/ |
A D | turbo.c | 65 cpuid_regs = cpuid(CPUID_LEAF_PM); in turbo_get_state()
|
A D | cpu_x86.c | 23 res = cpuid(1); in cpu_x86_bind()
|
A D | sipi_vector.S | 125 cpuid
|
A D | cpu.c | 151 regs = cpuid(0x80000002 + i); in cpu_get_name()
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
A D | octeon-model.h | 271 u32 cpuid = read_c0_prid(); in __octeon_is_model_runtime_internal__() local 273 return __OCTEON_IS_MODEL_COMPILE__(model, cpuid); in __octeon_is_model_runtime_internal__()
|
/u-boot/arch/x86/include/asm/ |
A D | cpu.h | 71 static inline struct cpuid_result cpuid(int op) in cpuid() function
|
/u-boot/arch/x86/cpu/i386/ |
A D | cpu.c | 255 result = cpuid(0x00000000); in build_vendor_name() 277 result = cpuid(0x00000000); in identify_cpu()
|
/u-boot/drivers/timer/ |
A D | tsc_timer.c | 51 tsc_info = cpuid(0x15); in native_calibrate_tsc()
|