Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dimx7ulp_wdt.c165 unsigned int toval) in _imx7ulp_wdt_set_timeout() argument
174 writel(toval, wdt->base + WDOG_TOVAL); in _imx7ulp_wdt_set_timeout()
188 u32 toval = wdt->hw->wdog_clock_rate * timeout; in imx7ulp_wdt_set_timeout() local
194 ret = _imx7ulp_wdt_set_timeout(wdt, toval); in imx7ulp_wdt_set_timeout()
196 } while (--loop > 0 && (val != toval || ret)); in imx7ulp_wdt_set_timeout()
281 u32 cs, toval; in imx7ulp_wdt_init() local
290 toval = readl(wdt->base + WDOG_TOVAL); in imx7ulp_wdt_init()
293 } while (--loop > 0 && (cs != val || toval != timeout || ret)); in imx7ulp_wdt_init()
/openbmc/u-boot/drivers/watchdog/
H A Dulp_wdog.c18 u32 toval; member
47 writel(val, &wdog->toval); in hw_watchdog_set_timeout()