Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dmarvell_gti_wdt.c155 u64 timeout_wdog, regval; in gti_wdt_settimeout() local
164 timeout_wdog = (u64)priv->clock_freq * wdev->pretimeout; in gti_wdt_settimeout()
167 timeout_wdog = timeout_wdog >> 10; in gti_wdt_settimeout()
170 timeout_wdog = (timeout_wdog + 0xff) >> 8; in gti_wdt_settimeout()
171 if (timeout_wdog >= 0x10000) in gti_wdt_settimeout()
172 timeout_wdog = 0xffff; in gti_wdt_settimeout()
180 regval |= (timeout_wdog << (GTI_CWD_WDOG_CNT_SHIFT + 8)) | in gti_wdt_settimeout()
181 (timeout_wdog << GTI_CWD_WDOG_LEN_SHIFT); in gti_wdt_settimeout()