Home
last modified time | relevance | path

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

12

/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dspeed.c26 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument
79 sys_info->freq_systembus = sysclk; in get_sys_info()
86 sys_info->diff_sysclk = 1; in get_sys_info()
88 sys_info->diff_sysclk = 0; in get_sys_info()
103 sys_info->freq_ddrbus = CONFIG_SYS_CLK_FREQ; in get_sys_info()
107 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
109 sys_info->freq_ddrbus = sysclk; in get_sys_info()
112 sys_info->freq_systembus *= (in_be32(&gur->rcwsr[0]) >> 25) & 0x1f; in get_sys_info()
149 sys_info->freq_ddrbus *= mem_pll_rat; in get_sys_info()
151 sys_info->freq_ddrbus = sys_info->freq_systembus * mem_pll_rat; in get_sys_info()
[all …]
/external/u-boot/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.c131 sys_info_t sys_info; in get_tbclk() local
133 get_sys_info(&sys_info); in get_tbclk()
134 return (sys_info.freq_systembus + 3L) / 4L; in get_tbclk()
/external/u-boot/arch/arm/cpu/armv8/fsl-layerscape/
Dfsl_lsch2_speed.c21 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument
52 sys_info->freq_systembus = sysclk; in get_sys_info()
59 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
61 sys_info->freq_ddrbus = sysclk; in get_sys_info()
65 sys_info->freq_systembus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
70 sys_info->freq_ddrbus = 2 * sys_info->freq_systembus; in get_sys_info()
72 sys_info->freq_ddrbus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
82 freq_c_pll[i] = sys_info->freq_systembus * ratio[i]; in get_sys_info()
91 sys_info->freq_processor[cpu] = in get_sys_info()
101 sys_info->freq_fman[0] = freq_c_pll[0] / 2; in get_sys_info()
[all …]
Dfsl_lsch3_speed.c25 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument
73 sys_info->freq_systembus = sysclk; in get_sys_info()
75 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info()
77 sys_info->freq_ddrbus2 = CONFIG_DDR_CLK_FREQ; in get_sys_info()
80 sys_info->freq_ddrbus = sysclk; in get_sys_info()
82 sys_info->freq_ddrbus2 = sysclk; in get_sys_info()
87 sys_info->freq_systembus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
90 sys_info->freq_ddrbus *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
95 sys_info->freq_ddrbus2 *= (gur_in32(&gur->rcwsr[0]) >> in get_sys_info()
99 sys_info->freq_ddrbus2 = 0; in get_sys_info()
[all …]
/external/u-boot/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 …]
/external/u-boot/board/freescale/qemu-ppce500/
Dqemu-ppce500.c313 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument
317 memset(sys_info, 0, sizeof(sys_info_t)); in get_sys_info()
318 sys_info->freq_systembus = freq; in get_sys_info()
319 sys_info->freq_ddrbus = freq; in get_sys_info()
320 sys_info->freq_processor[0] = freq; in get_sys_info()
325 sys_info_t sys_info; in get_clocks() local
327 get_sys_info(&sys_info); in get_clocks()
329 gd->cpu_clk = sys_info.freq_processor[0]; in get_clocks()
330 gd->bus_clk = sys_info.freq_systembus; in get_clocks()
331 gd->mem_clk = sys_info.freq_ddrbus; in get_clocks()
[all …]
/external/google-breakpad/src/client/linux/minidump_writer/
Dminidump_writer.cc809 bool WriteCPUInformation(MDRawSystemInfo* sys_info) { in WriteCPUInformation() argument
810 char vendor_id[sizeof(sys_info->cpu.x86_cpu_info.vendor_id) + 1] = {0}; in WriteCPUInformation()
827 sys_info->processor_architecture = in WriteCPUInformation()
892 sys_info->number_of_processors = cpu_info_table[0].value; in WriteCPUInformation()
894 sys_info->processor_level = cpu_info_table[3].value; in WriteCPUInformation()
895 sys_info->processor_revision = cpu_info_table[1].value << 8 | in WriteCPUInformation()
900 my_memcpy(sys_info->cpu.x86_cpu_info.vendor_id, vendor_id, in WriteCPUInformation()
901 sizeof(sys_info->cpu.x86_cpu_info.vendor_id)); in WriteCPUInformation()
906 bool WriteCPUInformation(MDRawSystemInfo* sys_info) { in WriteCPUInformation() argument
954 sys_info->processor_architecture = in WriteCPUInformation()
[all …]
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc312 bool WriteCPUInformation(MDRawSystemInfo *sys_info) { in WriteCPUInformation() argument
316 sys_info->number_of_processors = sysconf(_SC_NPROCESSORS_CONF); in WriteCPUInformation()
317 sys_info->processor_architecture = MD_CPU_ARCHITECTURE_UNKNOWN; in WriteCPUInformation()
321 sys_info->processor_architecture = MD_CPU_ARCHITECTURE_X86; in WriteCPUInformation()
323 sys_info->processor_architecture = MD_CPU_ARCHITECTURE_SPARC; in WriteCPUInformation()
330 sys_info->major_version = atoi(major); in WriteCPUInformation()
331 sys_info->minor_version = atoi(minor); in WriteCPUInformation()
335 sys_info->build_number = atoi(build); in WriteCPUInformation()
341 MDRawSystemInfo *sys_info) { in WriteOSInformation() argument
342 sys_info->platform_id = MD_OS_SOLARIS; in WriteOSInformation()
[all …]
/external/blktrace/btt/
Drstats.c36 static struct rstat *sys_info; variable
122 __add(sys_info, cur, nblks); in rstat_add()
127 sys_info = rstat_alloc(NULL); in rstat_init()
128 return sys_info != NULL; in rstat_init()
/external/u-boot/arch/arm/include/asm/arch-fsl-layerscape/
Dspeed.h8 void get_sys_info(struct sys_info *sys_info);
/external/u-boot/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.c132 struct sys_info *si; in API_get_sys_info()
134 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info()
676 void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long size, in platform_set_mr()
Dapi_platform-powerpc.c27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
/external/u-boot/examples/api/
Dglue.c117 static struct sys_info si;
119 struct sys_info * ub_get_sys_info(void) in ub_get_sys_info()
123 memset(&si, 0, sizeof(struct sys_info)); in ub_get_sys_info()
Ddemo.c21 void test_dump_si(struct sys_info *);
208 void test_dump_si(struct sys_info *si) in test_dump_si()
Dglue.h41 struct sys_info * ub_get_sys_info(void);
/external/u-boot/arch/arm/mach-omap2/omap3/
DMakefile14 obj-y += sys_info.o
/external/u-boot/arch/arm/mach-omap2/am33xx/
DMakefile14 obj-y += sys_info.o
/external/grpc-grpc/test/cpp/qps/
Dbenchmark_config.cc37 DEFINE_string(sys_info, "", "System information");
/external/u-boot/arch/arm/mach-tegra/
DMakefile34 obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
/external/u-boot/include/
Dapi_public.h65 struct sys_info { struct
/external/google-benchmark/src/
Dreporter.cc83 : cpu_info(CPUInfo::Get()), sys_info(SystemInfo::Get()) {} in Context()

12