Lines Matching refs:lptim_clock_freq
67 static uint32_t lptim_clock_freq = CONFIG_STM32_LPTIM_CLOCK; variable
153 / lptim_clock_freq; in lptim_irq_handler()
306 / lptim_clock_freq) + 1) * lptim_clock_freq in sys_clock_set_timeout()
308 next_arr = next_arr + ((uint32_t)(ticks) * lptim_clock_freq) in sys_clock_set_timeout()
370 uint64_t ret = ((uint64_t)lp_time * CONFIG_SYS_CLOCK_TICKS_PER_SEC) / lptim_clock_freq; in sys_clock_elapsed()
386 uint64_t ret = ((uint64_t)lp_time * sys_clock_hw_cycles_per_sec()) / lptim_clock_freq; in sys_clock_cycle_get_32()
435 &lptim_clock_freq); in sys_clock_driver_init()
449 lptim_clock_freq = KHZ(32); in sys_clock_driver_init()
460 (lptim_clock_presc / lptim_clock_freq) * 0xFFFF) { in sys_clock_driver_init()
469 lptim_time_base = 2 * (lptim_clock_freq * in sys_clock_driver_init()
474 if (lptim_clock_freq == KHZ(32)) { in sys_clock_driver_init()
476 } else if (lptim_clock_freq == 32768) { in sys_clock_driver_init()
501 lptim_clock_freq = lptim_clock_freq / lptim_clock_presc; in sys_clock_driver_init()
572 count_per_tick = (lptim_clock_freq / CONFIG_SYS_CLOCK_TICKS_PER_SEC); in sys_clock_driver_init()
640 / lptim_clock_freq; in sys_clock_idle_exit()