Home
last modified time | relevance | path

Searched refs:sys (Results 1 – 15 of 15) sorted by relevance

/tf-a-ffa_el3_spmc/drivers/nxp/console/
A Dconsole_16550.c22 struct sysinfo sys; in plat_console_init() local
25 zeromem(&sys, sizeof(sys)); in plat_console_init()
26 if (get_clocks(&sys)) { in plat_console_init()
31 (sys.freq_platform/uart_clk_div), in plat_console_init()
A Dconsole_pl011.c23 struct sysinfo sys; in plat_console_init() local
26 zeromem(&sys, sizeof(sys)); in plat_console_init()
27 if (get_clocks(&sys)) { in plat_console_init()
33 (sys.freq_platform/uart_clk_div), in plat_console_init()
/tf-a-ffa_el3_spmc/drivers/nxp/dcfg/
A Ddcfg.c90 int get_clocks(struct sysinfo *sys) in get_clocks() argument
97 sys->freq_platform = sysclk; in get_clocks()
98 sys->freq_ddr_pll0 = ddrclk; in get_clocks()
99 sys->freq_ddr_pll1 = ddrclk; in get_clocks()
101 sys->freq_platform *= (gur_in32(rcwsr0) >> in get_clocks()
105 sys->freq_platform /= dcfg_init_info->nxp_plat_clk_divider; in get_clocks()
107 sys->freq_ddr_pll0 *= (gur_in32(rcwsr0) >> in get_clocks()
110 sys->freq_ddr_pll1 *= (gur_in32(rcwsr0) >> in get_clocks()
113 if (sys->freq_platform == 0) { in get_clocks()
/tf-a-ffa_el3_spmc/tools/memory/
A Dprint_memory_map.py10 import sys
36 if len(sys.argv) >= 2:
37 build_dir = sys.argv[1]
38 if len(sys.argv) >= 3:
39 inverted_print = sys.argv[2] == '0'
/tf-a-ffa_el3_spmc/tools/sptool/
A Dsp_mk_generator.py52 import sys
55 with open(sys.argv[2],'r') as in_file:
57 json_file = os.path.abspath(sys.argv[2])
59 gen_file = os.path.abspath(sys.argv[1])
60 out_dir = os.path.abspath(sys.argv[3])
63 dualroot = sys.argv[4].lower() == "dualroot"
/tf-a-ffa_el3_spmc/plat/nxp/soc-lx2160a/lx2160ardb/
A Dddr_init.c169 struct sysinfo sys; in init_ddr() local
172 zeromem(&sys, sizeof(sys)); in init_ddr()
173 if (get_clocks(&sys) != 0) { in init_ddr()
177 debug("platform clock %lu\n", sys.freq_platform); in init_ddr()
178 debug("DDR PLL1 %lu\n", sys.freq_ddr_pll0); in init_ddr()
179 debug("DDR PLL2 %lu\n", sys.freq_ddr_pll1); in init_ddr()
190 info.clk = get_ddr_freq(&sys, 0); in init_ddr()
194 info.clk = get_ddr_freq(&sys, 1); in init_ddr()
/tf-a-ffa_el3_spmc/lib/romlib/
A Dromlib_generator.py16 import sys
263 if len(sys.argv) < 2 or sys.argv[1] not in APPS:
264 print("usage: romlib_generator.py [%s] [args]" % "|".join(APPS.keys()), file=sys.stderr)
265 sys.exit(1)
267 APP = APPS[sys.argv[1]]("romlib_generator.py " + sys.argv[1])
268 APP.parse_arguments(sys.argv[2:])
271 sys.exit(0)
273 print(file_not_found_error, file=sys.stderr)
275 print(called_process_error.output, file=sys.stderr)
277 sys.exit(1)
/tf-a-ffa_el3_spmc/drivers/nxp/ddr/nxp-ddr/
A Dutility.c40 unsigned long get_ddr_freq(struct sysinfo *sys, int ctrl_num) in get_ddr_freq() argument
42 if (sys->freq_ddr_pll0 == 0) { in get_ddr_freq()
43 get_clocks(sys); in get_ddr_freq()
48 return sys->freq_ddr_pll0; in get_ddr_freq()
50 return sys->freq_ddr_pll0; in get_ddr_freq()
52 return sys->freq_ddr_pll1; in get_ddr_freq()
/tf-a-ffa_el3_spmc/plat/nxp/soc-lx2160a/lx2160aqds/
A Dddr_init.c304 struct sysinfo sys; in init_ddr() local
307 zeromem(&sys, sizeof(sys)); in init_ddr()
308 if (get_clocks(&sys) == 1) { in init_ddr()
312 debug("platform clock %lu\n", sys.freq_platform); in init_ddr()
313 debug("DDR PLL1 %lu\n", sys.freq_ddr_pll0); in init_ddr()
314 debug("DDR PLL2 %lu\n", sys.freq_ddr_pll1); in init_ddr()
325 info.clk = get_ddr_freq(&sys, 0); in init_ddr()
329 info.clk = get_ddr_freq(&sys, 1); in init_ddr()
/tf-a-ffa_el3_spmc/plat/nxp/soc-lx2160a/lx2162aqds/
A Dddr_init.c304 struct sysinfo sys; in init_ddr() local
307 zeromem(&sys, sizeof(sys)); in init_ddr()
308 if (get_clocks(&sys) != 0) { in init_ddr()
312 debug("platform clock %lu\n", sys.freq_platform); in init_ddr()
313 debug("DDR PLL1 %lu\n", sys.freq_ddr_pll0); in init_ddr()
314 debug("DDR PLL2 %lu\n", sys.freq_ddr_pll1); in init_ddr()
325 info.clk = get_ddr_freq(&sys, 0); in init_ddr()
329 info.clk = get_ddr_freq(&sys, 1); in init_ddr()
/tf-a-ffa_el3_spmc/include/drivers/nxp/ddr/
A Dutility.h18 unsigned long get_ddr_freq(struct sysinfo *sys, int ctrl_num);
/tf-a-ffa_el3_spmc/include/drivers/nxp/dcfg/
A Ddcfg.h84 int get_clocks(struct sysinfo *sys);
/tf-a-ffa_el3_spmc/docs/plat/arm/juno/
A Dindex.rst228 echo +10 > /sys/class/rtc/rtc0/wakealarm
229 echo -n mem > /sys/power/state
/tf-a-ffa_el3_spmc/docs/plat/marvell/armada/
A Dbuild.rst248 binary and sys-init code from the WTP directory which sets DDR and CPU
319 binary of Marvell's A3720 sys-init, CZ.NIC's Armada 3720 Secure Firmware, TF-A and U-Boot) for
/tf-a-ffa_el3_spmc/docs/
A Dchange-log.rst66 - Delay timer and sys timer

Completed in 17 milliseconds