Home
last modified time | relevance | path

Searched refs:cpuid (Results 1 – 25 of 31) sorted by relevance

12

/u-boot/cmd/
A Dmp.c12 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 Dmisc.c28 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 Dboard.c175 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 Dsys_info.c70 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 Drockpro64-rk3399.c38 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 Dpinebook-pro-rk3399.c60 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 Dmisc.h11 u8 *cpuid);
12 int rockchip_cpuid_set(const u8 *cpuid, const u32 cpuid_length);
/u-boot/arch/arm/cpu/pxa/
A Dcpuinfo.c30 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 Dpuma-rk3399.c119 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 Dpsci.c134 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 Dreport_platform.c24 cpuidr = cpuid(index); in report_cpu_info()
32 cpuidr = cpuid(1); in report_cpu_info()
A Dmicrocode.c107 result = cpuid(1); in microcode_read_cpu()
A Dcar2.S92 cpuid
/u-boot/arch/x86/cpu/ivybridge/
A Dmodel_206ax.c39 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 Dnorthbridge.c32 result = cpuid(1); in bridge_silicon_revision()
/u-boot/arch/arm/cpu/armv7/sunxi/
A Dpsci.c169 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 Darmv7m.h27 uint32_t cpuid; /* CPUID Base Register */ member
/u-boot/arch/x86/cpu/
A Dturbo.c65 cpuid_regs = cpuid(CPUID_LEAF_PM); in turbo_get_state()
A Dcpu_x86.c23 res = cpuid(1); in cpu_x86_bind()
A Dsipi_vector.S125 cpuid
A Dcpu.c151 regs = cpuid(0x80000002 + i); in cpu_get_name()
/u-boot/arch/mips/mach-octeon/include/mach/
A Docteon-model.h271 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 Dcpu.h71 static inline struct cpuid_result cpuid(int op) in cpuid() function
/u-boot/arch/x86/cpu/i386/
A Dcpu.c255 result = cpuid(0x00000000); in build_vendor_name()
277 result = cpuid(0x00000000); in identify_cpu()
/u-boot/drivers/timer/
A Dtsc_timer.c51 tsc_info = cpuid(0x15); in native_calibrate_tsc()

Completed in 22 milliseconds

12