Home
last modified time | relevance | path

Searched refs:sysinfo (Results 1 – 25 of 218) sorted by relevance

123456789

/external/u-boot/arch/arm/mach-imx/mx6/
Dddr.c104 int mmdc_do_write_level_calibration(struct mx6_ddr_sysinfo const *sysinfo) in mmdc_do_write_level_calibration() argument
120 if (sysinfo->dsize == 2) { in mmdc_do_write_level_calibration()
145 if (sysinfo->dsize == 2) in mmdc_do_write_level_calibration()
173 if (sysinfo->dsize == 2) in mmdc_do_write_level_calibration()
182 ((sysinfo->dsize < 2) || in mmdc_do_write_level_calibration()
188 if (sysinfo->dsize == 2) { in mmdc_do_write_level_calibration()
197 if (sysinfo->dsize == 2) { in mmdc_do_write_level_calibration()
221 if (sysinfo->dsize == 2) { in mmdc_do_write_level_calibration()
231 if (sysinfo->dsize == 2) { in mmdc_do_write_level_calibration()
248 int mmdc_do_dqs_calibration(struct mx6_ddr_sysinfo const *sysinfo) in mmdc_do_dqs_calibration() argument
[all …]
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dcpu.c44 sys_info_t sysinfo; in checkcpu() local
163 get_sys_info(&sysinfo); in checkcpu()
166 if (sysinfo.diff_sysclk == 1) in checkcpu()
175 strmhz(buf1, sysinfo.freq_processor[core])); in checkcpu()
183 strmhz(buf1, sysinfo.freq_processor_dsp[dsp_core])); in checkcpu()
187 printf("\n CCB:%-4s MHz,", strmhz(buf1, sysinfo.freq_systembus)); in checkcpu()
194 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
195 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu()
199 strmhz(buf1, sysinfo.freq_ddrbus/2), in checkcpu()
200 strmhz(buf2, sysinfo.freq_ddrbus)); in checkcpu()
[all …]
/external/u-boot/arch/powerpc/cpu/mpc86xx/
Dcpu.c35 sys_info_t sysinfo; in checkcpu() local
74 get_sys_info(&sysinfo); in checkcpu()
77 printf(" CPU:%-4s MHz, ", strmhz(buf1, sysinfo.freq_processor)); in checkcpu()
78 printf("MPX:%-4s MHz\n", strmhz(buf1, sysinfo.freq_systembus)); in checkcpu()
80 strmhz(buf1, sysinfo.freq_systembus / 2), in checkcpu()
81 strmhz(buf2, sysinfo.freq_systembus)); in checkcpu()
83 if (sysinfo.freq_localbus > LCRR_CLKDIV) { in checkcpu()
84 printf("LBC:%-4s MHz\n", strmhz(buf1, sysinfo.freq_localbus)); in checkcpu()
87 sysinfo.freq_localbus); in checkcpu()
/external/u-boot/board/k+p/kp_imx6q_tpc/
Dkp_imx6q_tpc_spl.c112 static void spl_dram_print_cal(struct mx6_ddr_sysinfo const *sysinfo) in spl_dram_print_cal() argument
116 mmdc_read_calibration(sysinfo, &calibration); in spl_dram_print_cal()
132 static void spl_dram_perform_cal(struct mx6_ddr_sysinfo const *sysinfo) in spl_dram_perform_cal() argument
138 ret = mmdc_do_write_level_calibration(sysinfo); in spl_dram_perform_cal()
144 ret = mmdc_do_dqs_calibration(sysinfo); in spl_dram_perform_cal()
150 spl_dram_print_cal(sysinfo); in spl_dram_perform_cal()
156 struct mx6_ddr_sysinfo sysinfo = { in spl_dram_init() local
179 mx6_dram_cfg(&sysinfo, &mx6_4x256mx16_mmdc_calib, &mt41k256m16); in spl_dram_init()
182 spl_dram_perform_cal(&sysinfo); in spl_dram_init()
/external/libvpx/libvpx/vp8/common/generic/
Dsystemdependent.c49 SYSTEM_INFO sysinfo; in get_cpu_count() local
50 GetNativeSystemInfo(&sysinfo); in get_cpu_count()
53 SYSTEM_INFO sysinfo; in get_cpu_count()
61 pGNSI(&sysinfo); in get_cpu_count()
63 GetSystemInfo(&sysinfo); in get_cpu_count()
66 core_count = (int)sysinfo.dwNumberOfProcessors; in get_cpu_count()
/external/u-boot/board/liebherr/display5/
Dspl.c196 static void spl_dram_print_cal(struct mx6_ddr_sysinfo const *sysinfo) in spl_dram_print_cal() argument
200 mmdc_read_calibration(sysinfo, &calibration); in spl_dram_print_cal()
216 static void spl_dram_perform_cal(struct mx6_ddr_sysinfo const *sysinfo) in spl_dram_perform_cal() argument
222 ret = mmdc_do_write_level_calibration(sysinfo); in spl_dram_perform_cal()
228 ret = mmdc_do_dqs_calibration(sysinfo); in spl_dram_perform_cal()
234 spl_dram_print_cal(sysinfo); in spl_dram_perform_cal()
240 struct mx6_ddr_sysinfo sysinfo = { in spl_dram_init() local
263 mx6_dram_cfg(&sysinfo, &mx6_4x256mx16_mmdc_calib, &mt41k128m16jt_125); in spl_dram_init()
266 spl_dram_perform_cal(&sysinfo); in spl_dram_init()
/external/linux-kselftest/tools/testing/selftests/x86/
Dunwind_vdso.c78 static unsigned long sysinfo; variable
132 if (!got_sysinfo && ip == sysinfo) { in sigtrap()
160 sysinfo = getauxval(AT_SYSINFO); in main()
161 printf("\tAT_SYSINFO is 0x%lx\n", sysinfo); in main()
164 if (!dladdr((void *)sysinfo, &info)) { in main()
/external/strace/tests-mx32/
Dsysinfo.c39 sysinfo(NULL); in main()
42 TAIL_ALLOC_OBJECT_CONST_PTR(struct sysinfo, si); in main()
44 if (sysinfo(si)) in main()
/external/strace/tests-m32/
Dsysinfo.c39 sysinfo(NULL); in main()
42 TAIL_ALLOC_OBJECT_CONST_PTR(struct sysinfo, si); in main()
44 if (sysinfo(si)) in main()
/external/strace/tests/
Dsysinfo.c39 sysinfo(NULL); in main()
42 TAIL_ALLOC_OBJECT_CONST_PTR(struct sysinfo, si); in main()
44 if (sysinfo(si)) in main()
/external/autotest/client/bin/
Dtest.py102 job.sysinfo.log_before_each_test,
103 job.sysinfo.log_after_each_test,
104 job.sysinfo.log_before_each_iteration,
105 job.sysinfo.log_after_each_iteration)
Dprespawner.py25 from autotest_lib.client.bin import sysinfo, base_sysinfo
26 sysinfo.sysinfo = autotest_lib.client.bin.base_sysinfo.base_sysinfo
/external/gemmlowp/meta/
Dmulti_thread_common.h26 SYSTEM_INFO sysinfo; in ResolveMaxThreads() local
27 GetSystemInfo(&sysinfo); in ResolveMaxThreads()
28 return sysinfo.dwNumberOfProcessors; in ResolveMaxThreads()
/external/autotest/site_utils/bootperf-bin/
Dbootperf59 platform_BootPerfServer/sysinfo/cmdline
60 platform_BootPerfServer/sysinfo/cpuinfo
61 platform_BootPerfServer/sysinfo/modules
62 platform_BootPerfServer/sysinfo/uname
63 platform_BootPerfServer/sysinfo/version
/external/u-boot/board/gateworks/gw_ventana/
Dgw_ventana_spl.c489 struct mx6_ddr_sysinfo sysinfo = { in spl_dram_init() local
598 sysinfo.ncs = 2; in spl_dram_init()
599 sysinfo.cs_density = 10; /* CS0_END=39 */ in spl_dram_init()
600 sysinfo.cs1_mirror = 1; /* mirror enabled */ in spl_dram_init()
620 sysinfo.ncs = 2; in spl_dram_init()
621 sysinfo.cs_density = 18; /* CS0_END=71 */ in spl_dram_init()
622 sysinfo.cs1_mirror = 1; /* mirror enabled */ in spl_dram_init()
651 mx6_dram_cfg(&sysinfo, calib, mem); in spl_dram_init()
/external/u-boot/board/freescale/mx6memcal/
Dspl.c207 static struct mx6_ddr_sysinfo const sysinfo = { variable
355 if (sysinfo.dsize == 2) { in display_calibration()
372 if (sysinfo.dsize == 2) { in display_calibration()
418 if (sysinfo.dsize != 1) { in board_init_f()
440 mx6_dram_cfg(&sysinfo, &calibration, &ddrtype); in board_init_f()
442 errs = mmdc_do_write_level_calibration(&sysinfo); in board_init_f()
446 errs = mmdc_do_dqs_calibration(&sysinfo); in board_init_f()
451 mmdc_read_calibration(&sysinfo, &calibration); in board_init_f()
/external/u-boot/board/freescale/p1_twr/
Dddr.c19 sys_info_t sysinfo; in fixed_sdram() local
54 get_sys_info(&sysinfo); in fixed_sdram()
56 strmhz(buf, sysinfo.freq_ddrbus)); in fixed_sdram()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc428 const MDRawSystemInfo* sysinfo = range.GetData<MDRawSystemInfo>(0); in ParseSystemInfo() local
429 if (!sysinfo) { in ParseSystemInfo()
434 if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_X86) { in ParseSystemInfo()
437 sysinfo->processor_architecture == MD_CPU_ARCHITECTURE_AMD64 ? in ParseSystemInfo()
442 if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_AMD64) { in ParseSystemInfo()
445 sysinfo->processor_architecture == MD_CPU_ARCHITECTURE_X86 ? in ParseSystemInfo()
450 if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_ARM) { in ParseSystemInfo()
456 if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_MIPS) { in ParseSystemInfo()
464 if (!strstr(full_file.GetAsciiMDString(sysinfo->csd_version_rva).c_str(), in ParseSystemInfo()
466 sysinfo->platform_id != MD_OS_NACL) { in ParseSystemInfo()
[all …]
/external/u-boot/board/sbc8548/
Dsbc8548.c62 sys_info_t sysinfo; in local_bus_init() local
64 get_sys_info(&sysinfo); in local_bus_init()
66 lbc_mhz = sysinfo.freq_localbus / 1000000; in local_bus_init()
67 clkdiv = sysinfo.freq_systembus / sysinfo.freq_localbus; in local_bus_init()
/external/gemmlowp/internal/
Dplatform.h65 SYSTEM_INFO sysinfo; in GetHardwareConcurrency() local
66 GetSystemInfo(&sysinfo); in GetHardwareConcurrency()
67 return sysinfo.dwNumberOfProcessors; in GetHardwareConcurrency()
/external/igt-gpu-tools/lib/
Dintel_os.c68 struct sysinfo sysinf; in intel_get_total_ram_mb()
70 igt_assert(sysinfo(&sysinf) == 0); in intel_get_total_ram_mb()
137 struct sysinfo sysinf; in intel_get_avail_ram_mb()
139 igt_assert(sysinfo(&sysinf) == 0); in intel_get_avail_ram_mb()
170 struct sysinfo sysinf; in intel_get_total_swap_mb()
172 igt_assert(sysinfo(&sysinf) == 0); in intel_get_total_swap_mb()
/external/u-boot/board/xes/xpedite537x/
Dddr.c207 sys_info_t sysinfo; in fsl_ddr_board_options() local
211 get_sys_info(&sysinfo); in fsl_ddr_board_options()
212 datarate = sysinfo.freq_ddrbus / 1000 / 1000; in fsl_ddr_board_options()
/external/ltp/testcases/kernel/syscalls/sysinfo/
Dsysinfo01.c84 struct sysinfo *sys_buf; in main()
89 sys_buf = malloc(sizeof(struct sysinfo)); in main()
101 TEST(sysinfo(sys_buf)); in main()
/external/autotest/server/site_tests/provision_AutoUpdate/
Dcontrol38 from autotest_lib.client.bin import sysinfo
57 job.sysinfo.add_logdir(
58 sysinfo.logdir(constants.AUTOUPDATE_PRESERVE_LOG))
61 # Only collect pre-test sysinfo to save time.
/external/u-boot/board/phytec/pfla02/
Dpfla02.c555 static void spl_dram_init(struct mx6_ddr_sysinfo *sysinfo, in spl_dram_init() argument
559 mx6_dram_cfg(sysinfo, &mx6_mmcd_calib, mem_ddr); in spl_dram_init()
632 struct mx6_ddr_sysinfo sysinfo = { in board_init_f() local
684 spl_dram_init(&sysinfo, &mt41k_xx[RAM_MT256K]); in board_init_f()
690 sysinfo.cs_density = 6; in board_init_f()
693 sysinfo.cs_density = 10; in board_init_f()
696 sysinfo.cs_density = 18; in board_init_f()
700 spl_dram_init(&sysinfo, &mt41k_xx[ramchip]); in board_init_f()

123456789