Home
last modified time | relevance | path

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

/u-boot/arch/powerpc/cpu/mpc86xx/
A Dspeed.c58 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 Dcpu.c136 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 Dspeed.c245 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 Dfsl_lsch2_speed.c25 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 Dfsl_lsch3_speed.c29 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 Dcpu.c991 struct sys_info sysinfo; in print_cpuinfo()
/u-boot/arch/arm/cpu/armv7/ls102xa/
A Dclock.c20 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 Dqemu-ppce500.c238 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 Dspeed.h8 void get_sys_info(struct sys_info *sys_info);
A Dimmap_lsch3.h295 struct sys_info { struct
A Dimmap_lsch2.h180 struct sys_info { struct
/u-boot/api/
A Dapi_private.h12 void platform_set_mr(struct sys_info *, unsigned long, unsigned long, int);
13 int platform_sys_info(struct sys_info *);
A Dapi_platform-mips.c24 int platform_sys_info(struct sys_info *si) in platform_sys_info()
A Dapi_platform-arm.c27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
A Dapi_platform-powerpc.c27 int platform_sys_info(struct sys_info *si) in platform_sys_info()
A Dapi.c135 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 DMakefile14 obj-y += sys_info.o
/u-boot/examples/api/
A 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()
A Dglue.h41 struct sys_info * ub_get_sys_info(void);
A Ddemo.c22 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 DMakefile14 obj-y += sys_info.o
/u-boot/include/
A Dapi_public.h65 struct sys_info { struct
/u-boot/arch/arm/mach-tegra/
A DMakefile31 obj-$(CONFIG_DISPLAY_CPUINFO) += sys_info.o
/u-boot/arch/arm/include/asm/arch-ls102xa/
A Dimmap_ls102xa.h82 struct sys_info { struct

Completed in 56 milliseconds