Searched refs:clock_get (Results 1 – 4 of 4) sorted by relevance
53 if (clock_get(CLOCK_AHB) == clock_get(CLOCK_APB1)) in timer_init()54 writel((clock_get(CLOCK_APB1) / CONFIG_SYS_HZ_CLOCK) - 1, in timer_init()57 writel(((clock_get(CLOCK_APB1) * 2) / CONFIG_SYS_HZ_CLOCK) - 1, in timer_init()
190 unsigned long clock_get(enum clock clck) in clock_get() function
45 clock = clock_get(CLOCK_APB1); in stm32_serial_setbrg()47 clock = clock_get(CLOCK_APB2); in stm32_serial_setbrg()
202 freq = clock_get(CLOCK_AHB) / CONFIG_SYS_RAM_FREQ_DIV; in dram_init()