Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/watchdog/
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()
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()