Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dwatchdog.h110 unsigned int max_hw_heartbeat_ms; member
177 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
/Linux-v4.19/drivers/watchdog/
Dloongson1_wdt.c44 unsigned int max_hw_heartbeat = wdt_dev->max_hw_heartbeat_ms / 1000; in ls1x_wdt_set_timeout()
125 ls1x_wdt->max_hw_heartbeat_ms = U32_MAX / clk_rate * 1000; in ls1x_wdt_probe()
Drza_wdt.c164 priv->wdev.max_hw_heartbeat_ms = (1000 * U8_MAX) / rate; in rza_wdt_probe()
166 priv->wdev.max_hw_heartbeat_ms); in rza_wdt_probe()
Dmpc8xxx_wdt.c184 ddata->wdd.max_hw_heartbeat_ms = (ddata->swtc * wdt_type->prescaler) / in mpc8xxx_wdt_probe()
186 ddata->wdd.min_timeout = ddata->wdd.max_hw_heartbeat_ms / 1000; in mpc8xxx_wdt_probe()
Dwatchdog_core.c91 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout()
184 if (!wdd->ops->start || (!wdd->ops->stop && !wdd->max_hw_heartbeat_ms)) in __watchdog_register_device()
Dsbsa_gwdt.c267 wdd->max_hw_heartbeat_ms = U32_MAX / gwdt->clk * 1000; in sbsa_gwdt_probe()
306 wdd->max_hw_heartbeat_ms *= 2; in sbsa_gwdt_probe()
Daspeed_wdt.c151 actual = min(timeout, wdd->max_hw_heartbeat_ms * 1000); in aspeed_wdt_set_timeout()
216 wdt->wdd.max_hw_heartbeat_ms = WDT_MAX_TIMEOUT_MS; in aspeed_wdt_probe()
Dep93xx_wdt.c114 wdd->max_hw_heartbeat_ms = 200; in ep93xx_wdt_probe()
Dts72xx_wdt.c148 wdd->max_hw_heartbeat_ms = 8000; in ts72xx_wdt_probe()
Dgpio_wdt.c153 priv->wdd.max_hw_heartbeat_ms = hw_margin; in gpio_wdt_probe()
Dmax77620_wdt.c136 wdt_dev->max_hw_heartbeat_ms = 128 * 1000; in max77620_wdt_probe()
Dtangox_wdt.c146 dev->wdt.max_hw_heartbeat_ms = (U32_MAX - 1) / dev->clk_rate; in tangox_wdt_probe()
Dmeson_gxbb_wdt.c167 data->wdt_dev.max_hw_heartbeat_ms = GXBB_WDT_TCNT_SETUP_MASK; in meson_gxbb_wdt_probe()
Drave-sp-wdt.c304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
Dstm32_iwdg.c235 wdd->max_hw_heartbeat_ms = ((RLR_MAX + 1) * 256 * 1000) / wdt->rate; in stm32_iwdg_probe()
Ddw_wdt.c281 wdd->max_hw_heartbeat_ms = in dw_wdt_drv_probe()
Dimx2_wdt.c282 wdog->max_hw_heartbeat_ms = IMX2_WDT_MAX_TIME * 1000; in imx2_wdt_probe()
Dwatchdog_dev.c93 unsigned int hm = wdd->max_hw_heartbeat_ms; in watchdog_need_worker()
124 hw_heartbeat_ms = min_not_zero(timeout_ms, wdd->max_hw_heartbeat_ms); in watchdog_next_keepalive()
Dwdat_wdt.c341 wdat->wdd.max_hw_heartbeat_ms = wdat->period * tbl->max_count; in wdat_wdt_probe()
/Linux-v4.19/Documentation/watchdog/
Dwatchdog-kernel-api.txt58 unsigned int max_hw_heartbeat_ms;
88 'timeout'. Not used if max_hw_heartbeat_ms is non-zero.
92 * max_hw_heartbeat_ms: Maximum hardware heartbeat, in milli-seconds.
94 if 'timeout' is larger than max_hw_heartbeat_ms, unless WDOG_ACTIVE
96 seconds. max_hw_heartbeat_ms must be set if a driver does not implement
160 max_hw_heartbeat_ms.
185 Drivers implementing max_hw_heartbeat_ms set the hardware watchdog heartbeat
186 to the minimum of timeout and max_hw_heartbeat_ms. Those drivers set the
188 (if it is larger than max_hw_heartbeat_ms), or to the achieved timeout value.
/Linux-v4.19/drivers/hwmon/
Dftsteutates.c347 data->wdd.max_hw_heartbeat_ms = 0xFF * 60 * MSEC_PER_SEC; in fts_watchdog_init()