Home
last modified time | relevance | path

Searched refs:sys_info (Results 1 – 25 of 30) sorted by relevance

12

/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc85xx/
Dspeed.c27 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument
80 sys_info->freq_systembus = sysclk; in get_sys_info()
87 sys_info->diff_sysclk = 1; in get_sys_info()
89 sys_info->diff_sysclk = 0; in get_sys_info()
104 sys_info->freq_ddrbus = CONFIG_SYS_CLK_FREQ; in get_sys_info()
108 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
110 sys_info->freq_ddrbus = sysclk; in get_sys_info()
113 sys_info->freq_systembus *= (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in get_sys_info()
150 sys_info->freq_ddrbus *= mem_pll_rat; in get_sys_info()
152 sys_info->freq_ddrbus = sys_info->freq_systembus * mem_pll_rat; in get_sys_info()
[all …]
/third_party/uboot/u-boot-2020.01/arch/powerpc/cpu/mpc86xx/
Dspeed.c21 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument
32 sys_info->freq_systembus = 16 * CONFIG_SYS_CLK_FREQ; in get_sys_info()
44 sys_info->freq_systembus = plat_ratio * CONFIG_SYS_CLK_FREQ; in get_sys_info()
47 sys_info->freq_systembus = 0; in get_sys_info()
56 sys_info->freq_processor = 2 * sys_info->freq_systembus; in get_sys_info()
59 sys_info->freq_processor = 5 * sys_info->freq_systembus / 2; in get_sys_info()
62 sys_info->freq_processor = 3 * sys_info->freq_systembus; in get_sys_info()
65 sys_info->freq_processor = 7 * sys_info->freq_systembus / 2; in get_sys_info()
68 sys_info->freq_processor = 4 * sys_info->freq_systembus; in get_sys_info()
71 sys_info->freq_processor = 9 * sys_info->freq_systembus / 2; in get_sys_info()
[all …]
Dcpu.c133 sys_info_t sys_info; in get_tbclk() local
135 get_sys_info(&sys_info); in get_tbclk()
136 return (sys_info.freq_systembus + 3L) / 4L; in get_tbclk()
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv8/fsl-layerscape/
Dfsl_lsch2_speed.c23 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument
56 sys_info->freq_systembus = sysclk; in get_sys_info()
63 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
65 sys_info->freq_ddrbus = sysclk; in get_sys_info()
69 sys_info->freq_systembus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
74 sys_info->freq_ddrbus = 2 * sys_info->freq_systembus; in get_sys_info()
76 sys_info->freq_ddrbus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
86 freq_c_pll[i] = sys_info->freq_systembus * ratio[i]; in get_sys_info()
95 sys_info->freq_processor[cpu] = in get_sys_info()
105 sys_info->freq_fman[0] = freq_c_pll[0] / 2; in get_sys_info()
[all …]
Dfsl_lsch3_speed.c27 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument
78 sys_info->freq_systembus = sysclk; in get_sys_info()
80 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
82 sys_info->freq_ddrbus2 = CONFIG_DDR_CLK_FREQ; in get_sys_info()
85 sys_info->freq_ddrbus = sysclk; in get_sys_info()
87 sys_info->freq_ddrbus2 = sysclk; in get_sys_info()
92 sys_info->freq_systembus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
95 sys_info->freq_ddrbus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
100 sys_info->freq_ddrbus2 *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
104 sys_info->freq_ddrbus2 = 0; in get_sys_info()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/cpu/armv7/ls102xa/
Dclock.c18 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument
42 sys_info->freq_systembus = sysclk; in get_sys_info()
44 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
46 sys_info->freq_ddrbus = sysclk; in get_sys_info()
49 sys_info->freq_systembus *= (in_be32(&gur->rcwsr[0]) >> in get_sys_info()
51 sys_info->freq_ddrbus *= (in_be32(&gur->rcwsr[0]) >> in get_sys_info()
59 freq_c_pll[i] = sys_info->freq_systembus * ratio[i]; in get_sys_info()
67 sys_info->freq_processor[cpu] = in get_sys_info()
72 sys_info->freq_localbus = sys_info->freq_systembus; in get_sys_info()
78 struct sys_info sys_info; in get_clocks() local
[all …]
/third_party/uboot/u-boot-2020.01/board/freescale/qemu-ppce500/
Dqemu-ppce500.c316 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument
320 memset(sys_info, 0, sizeof(sys_info_t)); in get_sys_info()
321 sys_info->freq_systembus = freq; in get_sys_info()
322 sys_info->freq_ddrbus = freq; in get_sys_info()
323 sys_info->freq_processor[0] = freq; in get_sys_info()
328 sys_info_t sys_info; in get_clocks() local
330 get_sys_info(&sys_info); in get_clocks()
332 gd->cpu_clk = sys_info.freq_processor[0]; in get_clocks()
333 gd->bus_clk = sys_info.freq_systembus; in get_clocks()
334 gd->mem_clk = sys_info.freq_ddrbus; in get_clocks()
[all …]
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/arch-fsl-layerscape/
Dspeed.h8 void get_sys_info(struct sys_info *sys_info);
/third_party/uboot/u-boot-2020.01/api/
Dapi_private.h12 void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int);
13 int platform_sys_info(struct sys_info *);
Dapi_platform-mips.c24 int platform_sys_info(struct sys_info *si) in platform_sys_info()
Dapi_platform-arm.c27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
Dapi_platform-powerpc.c27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
Dapi.c134 struct sys_info *si; in API_get_sys_info()
136 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info()
695 void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long size, in platform_set_mr()
/third_party/uboot/u-boot-2020.01/examples/api/
Dglue.c119 static struct sys_info si;
121 struct sys_info * ub_get_sys_info(void) in ub_get_sys_info()
125 memset(&si, 0, sizeof(struct sys_info)); in ub_get_sys_info()
Dglue.h41 struct sys_info * ub_get_sys_info(void);
Ddemo.c22 void test_dump_si(struct sys_info *);
209 void test_dump_si(struct sys_info *si) in test_dump_si()
/third_party/uboot/u-boot-2020.01/arch/arm/mach-omap2/omap3/
DMakefile14 obj-y += sys_info.o
/third_party/uboot/u-boot-2020.01/arch/arm/mach-omap2/am33xx/
DMakefile14 obj-y += sys_info.o
/third_party/grpc/test/cpp/qps/
Dbenchmark_config.cc37 DEFINE_string(sys_info, "", "System information");
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/
DMakefile31 obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
/third_party/uboot/u-boot-2020.01/include/
Dapi_public.h65 struct sys_info { struct
/third_party/benchmark/src/
Dreporter.cc83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()
Djson_reporter.cc112 out << indent << FormatKV("host_name", context.sys_info.name) << ",\n"; in ReportContext()
/third_party/boost/tools/build/src/engine/
Djam.cpp259 b2::system_info sys_info; in main() local
353 globs.jobs = sys_info.cpu_thread_count(); in main()
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/arch-ls102xa/
Dimmap_ls102xa.h82 struct sys_info { struct

12