Home
last modified time | relevance | path

Searched refs:tick_ms (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/watchdog/
H A Drealtek_otto_wdt.c134 unsigned int tick_ms; in otto_wdt_determine_timeouts() local
142 tick_ms = otto_wdt_tick_ms(ctrl, prescale); in otto_wdt_determine_timeouts()
143 total_ticks = div_round_ticks(timeout_ms, tick_ms, 2); in otto_wdt_determine_timeouts()
144 phase1_ticks = div_round_ticks(timeout_ms - pretimeout_ms, tick_ms, 1); in otto_wdt_determine_timeouts()
160 timeout_ms = total_ticks * tick_ms; in otto_wdt_determine_timeouts()
163 pretimeout_ms = phase2_ticks * tick_ms; in otto_wdt_determine_timeouts()
H A Drzn1_wdt.c45 static inline uint32_t compute_reload_value(uint32_t tick_ms, in compute_reload_value() argument
48 return (tick_ms * clk_rate_khz) / RZN1_WDT_PRESCALER; in compute_reload_value()
/openbmc/u-boot/arch/arm/cpu/armv7/iproc-common/
H A Dtimer.c93 void timer_systick_init(uint32_t tick_ms) in timer_systick_init() argument
99 writel((PLL_AXI_CLK/1000) * tick_ms, in timer_systick_init()
/openbmc/u-boot/arch/arm/include/asm/iproc-common/
H A Dtimer.h11 void timer_systick_init(uint32_t tick_ms);