Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
H A Dda9063_wdt.c29 static const unsigned int wdt_timeout[] = { 0, 2, 4, 8, 16, 32, 65, 131 }; variable
33 #define DA9063_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1)
34 #define DA9063_WDT_MIN_TIMEOUT wdt_timeout[DA9063_TWDSCALE_MIN]
35 #define DA9063_WDT_MAX_TIMEOUT wdt_timeout[DA9063_TWDSCALE_MAX]
36 #define DA9063_WDG_TIMEOUT wdt_timeout[3]
44 if (wdt_timeout[i] >= secs) in da9063_wdt_timeout_to_sel()
61 return wdt_timeout[val & DA9063_TWDSCALE_MASK]; in da9063_wdt_read_timeout()
166 wdd->timeout = wdt_timeout[da9063_wdt_timeout_to_sel(timeout)]; in da9063_wdt_set_timeout()
H A Dda9062_wdt.c23 static const unsigned int wdt_timeout[] = { 0, 2, 4, 8, 16, 32, 65, 131 }; variable
26 #define DA9062_TWDSCALE_MAX (ARRAY_SIZE(wdt_timeout) - 1)
27 #define DA9062_WDT_MIN_TIMEOUT wdt_timeout[DA9062_TWDSCALE_MIN]
28 #define DA9062_WDT_MAX_TIMEOUT wdt_timeout[DA9062_TWDSCALE_MAX]
29 #define DA9062_WDG_DEFAULT_TIMEOUT wdt_timeout[DA9062_TWDSCALE_MAX-1]
44 return wdt_timeout[val & DA9062AA_TWDSCALE_MASK]; in da9062_wdt_read_timeout()
52 if (wdt_timeout[i] >= secs) in da9062_wdt_timeout_to_sel()
148 wdd->timeout = wdt_timeout[selector]; in da9062_wdt_set_timeout()
H A Dcadence_wdt.c49 static int wdt_timeout; variable
52 module_param(wdt_timeout, int, 0644);
53 MODULE_PARM_DESC(wdt_timeout,
326 watchdog_init_timeout(cdns_wdt_device, wdt_timeout, dev); in cdns_wdt_probe()
H A Dsama5d4_wdt.c38 static int wdt_timeout; variable
41 module_param(wdt_timeout, int, 0);
42 MODULE_PARM_DESC(wdt_timeout,
306 watchdog_init_timeout(wdd, wdt_timeout, dev); in sama5d4_wdt_probe()
H A Dziirave_wdt.c85 static int wdt_timeout; variable
86 module_param(wdt_timeout, int, 0);
87 MODULE_PARM_DESC(wdt_timeout, "Watchdog timeout in seconds");
621 watchdog_init_timeout(&w_priv->wdd, wdt_timeout, &client->dev); in ziirave_wdt_probe()