/u-boot/arch/powerpc/cpu/mpc86xx/ |
A D | speed.c | 58 sys_info->freq_processor = 2 * sys_info->freq_systembus; in get_sys_info() 61 sys_info->freq_processor = 5 * sys_info->freq_systembus / 2; in get_sys_info() 64 sys_info->freq_processor = 3 * sys_info->freq_systembus; in get_sys_info() 67 sys_info->freq_processor = 7 * sys_info->freq_systembus / 2; in get_sys_info() 70 sys_info->freq_processor = 4 * sys_info->freq_systembus; in get_sys_info() 73 sys_info->freq_processor = 9 * sys_info->freq_systembus / 2; in get_sys_info() 81 sys_info->freq_localbus = sys_info->freq_systembus; in get_sys_info() 92 sys_info_t sys_info; in get_clocks() local 94 get_sys_info(&sys_info); in get_clocks() 128 sys_info_t sys_info; in get_bus_freq() local [all …]
|
A D | cpu.c | 136 sys_info_t sys_info; in get_tbclk() local 138 get_sys_info(&sys_info); in get_tbclk() 139 return (sys_info.freq_systembus + 3L) / 4L; in get_tbclk()
|
/u-boot/arch/powerpc/cpu/mpc85xx/ |
A D | speed.c | 245 sys_info->freq_pme = sys_info->freq_systembus / 2; in get_sys_info() 336 sys_info->freq_maple_ulb = sys_info->freq_systembus; in get_sys_info() 399 sys_info->freq_fman[0] = sys_info->freq_systembus; in get_sys_info() 432 sys_info->freq_fman[1] = sys_info->freq_systembus; in get_sys_info() 485 sys_info->freq_pme = sys_info->freq_systembus / 2; in get_sys_info() 511 sys_info->freq_qman = sys_info->freq_systembus / 2; in get_sys_info() 517 sys_info->freq_qe = sys_info->freq_systembus / 2; in get_sys_info() 540 sys_info->freq_ddrbus = sys_info->freq_systembus; in get_sys_info() 553 sys_info->freq_qe = sys_info->freq_systembus; in get_sys_info() 562 sys_info->freq_fman[0] = sys_info->freq_systembus; in get_sys_info() [all …]
|
/u-boot/arch/arm/cpu/armv8/fsl-layerscape/ |
A D | fsl_lsch2_speed.c | 25 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument 67 sys_info->freq_ddrbus = sysclk; in get_sys_info() 76 sys_info->freq_ddrbus = 2 * sys_info->freq_systembus; in get_sys_info() 116 sys_info->freq_fman[0] = sys_info->freq_systembus; in get_sys_info() 158 sys_info->freq_localbus = sys_info->freq_systembus / in get_sys_info() 162 sys_info->freq_qman = (sys_info->freq_systembus / in get_sys_info() 171 struct sys_info sys_info; in get_qman_freq() local 173 get_sys_info(&sys_info); in get_qman_freq() 175 return sys_info.freq_qman; in get_qman_freq() 181 struct sys_info sys_info; in get_clocks() local [all …]
|
A D | fsl_lsch3_speed.c | 29 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument 80 sys_info->freq_systembus = sysclk; in get_sys_info() 87 sys_info->freq_ddrbus = sysclk; in get_sys_info() 89 sys_info->freq_ddrbus2 = sysclk; in get_sys_info() 106 sys_info->freq_ddrbus2 = 0; in get_sys_info() 128 sys_info->freq_processor[cpu] = in get_sys_info() 133 sys_info->freq_localbus = sys_info->freq_systembus / in get_sys_info() 169 struct sys_info sys_info; in get_clocks() local 173 get_sys_info(&sys_info); in get_clocks() 183 clock = sys_info.freq_cga_m2; in get_clocks() [all …]
|
A D | cpu.c | 991 struct sys_info sysinfo; in print_cpuinfo()
|
/u-boot/arch/arm/cpu/armv7/ls102xa/ |
A D | clock.c | 20 void get_sys_info(struct sys_info *sys_info) in get_sys_info() argument 44 sys_info->freq_systembus = sysclk; in get_sys_info() 46 sys_info->freq_ddrbus = CONFIG_DDR_CLK_FREQ; in get_sys_info() 48 sys_info->freq_ddrbus = sysclk; in get_sys_info() 69 sys_info->freq_processor[cpu] = in get_sys_info() 74 sys_info->freq_localbus = sys_info->freq_systembus; in get_sys_info() 80 struct sys_info sys_info; in get_clocks() local 82 get_sys_info(&sys_info); in get_clocks() 83 gd->cpu_clk = sys_info.freq_processor[0]; in get_clocks() 84 gd->bus_clk = sys_info.freq_systembus; in get_clocks() [all …]
|
/u-boot/board/emulation/qemu-ppce500/ |
A D | qemu-ppce500.c | 238 void get_sys_info(sys_info_t *sys_info) in get_sys_info() argument 243 sys_info->freq_systembus = freq; in get_sys_info() 244 sys_info->freq_ddrbus = freq; in get_sys_info() 245 sys_info->freq_processor[0] = freq; in get_sys_info() 250 sys_info_t sys_info; in get_clocks() local 252 get_sys_info(&sys_info); in get_clocks() 255 gd->bus_clk = sys_info.freq_systembus; in get_clocks() 256 gd->mem_clk = sys_info.freq_ddrbus; in get_clocks() 277 sys_info_t sys_info; in get_bus_freq() local 278 get_sys_info(&sys_info); in get_bus_freq() [all …]
|
/u-boot/arch/arm/include/asm/arch-fsl-layerscape/ |
A D | speed.h | 8 void get_sys_info(struct sys_info *sys_info);
|
A D | immap_lsch3.h | 295 struct sys_info { struct
|
A D | immap_lsch2.h | 180 struct sys_info { struct
|
/u-boot/api/ |
A D | api_private.h | 12 void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int); 13 int platform_sys_info(struct sys_info *);
|
A D | api_platform-mips.c | 24 int platform_sys_info(struct sys_info *si) in platform_sys_info()
|
A D | api_platform-arm.c | 27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
|
A D | api_platform-powerpc.c | 27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
|
A D | api.c | 135 struct sys_info *si; in API_get_sys_info() 137 si = (struct sys_info *)va_arg(ap, uintptr_t); in API_get_sys_info() 698 void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long size, in platform_set_mr()
|
/u-boot/arch/arm/mach-omap2/omap3/ |
A D | Makefile | 14 obj-y += sys_info.o
|
/u-boot/examples/api/ |
A D | glue.c | 119 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()
|
A D | glue.h | 41 struct sys_info * ub_get_sys_info(void);
|
A D | demo.c | 22 void test_dump_si(struct sys_info *); 209 void test_dump_si(struct sys_info *si) in test_dump_si()
|
/u-boot/arch/arm/mach-omap2/am33xx/ |
A D | Makefile | 14 obj-y += sys_info.o
|
/u-boot/include/ |
A D | api_public.h | 65 struct sys_info { struct
|
/u-boot/arch/arm/mach-tegra/ |
A D | Makefile | 31 obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
|
/u-boot/arch/arm/include/asm/arch-ls102xa/ |
A D | immap_ls102xa.h | 82 struct sys_info { struct
|