Home
last modified time | relevance | path

Searched refs:sys_clk_khz (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/arm/mach-omap2/
H A Dvc.c56 u32 sys_clk_khz, cycles_hi, cycles_low; in omap_vc_init() local
58 sys_clk_khz = get_sys_clk_freq() / 1000; in omap_vc_init()
70 cycles_hi = sys_clk_khz * 4 / speed_khz; in omap_vc_init()
71 cycles_low = sys_clk_khz * 6 / speed_khz; in omap_vc_init()
H A Dclocks-common.c269 u32 ddr_clk, sys_clk_khz, omap_rev, divider; in omap_ddr_clk() local
273 sys_clk_khz = get_sys_clk_freq() / 1000; in omap_ddr_clk()
277 debug("sys_clk %d\n ", sys_clk_khz * 1000); in omap_ddr_clk()
280 ddr_clk = sys_clk_khz * 2 * core_dpll_params->m / in omap_ddr_clk()
348 u32 sys_clk_khz, sd_div, num, den; in setup_usb_dpll() local
350 sys_clk_khz = get_sys_clk_freq() / 1000; in setup_usb_dpll()
360 num = params->m * sys_clk_khz; in setup_usb_dpll()