/linux/drivers/watchdog/ |
H A D | xilinx_wwdt.c | 170 xilinx_wwdt_wdd->max_hw_heartbeat_ms = in xwwdt_probe() 185 if (timeout_ms > xilinx_wwdt_wdd->max_hw_heartbeat_ms) { in xwwdt_probe() 194 xilinx_wwdt_wdd->max_hw_heartbeat_ms = xilinx_wwdt_wdd->max_hw_heartbeat_ms / 2; in xwwdt_probe() 200 if (timeout_ms > xilinx_wwdt_wdd->max_hw_heartbeat_ms / 2) { in xwwdt_probe() 201 max_per_window_ms = xilinx_wwdt_wdd->max_hw_heartbeat_ms / 2; in xwwdt_probe()
|
H A D | sbsa_gwdt.c | 159 timeout = clamp_t(unsigned int, timeout, 1, wdd->max_hw_heartbeat_ms / 1000); in sbsa_gwdt_set_timeout() 333 wdd->max_hw_heartbeat_ms = U32_MAX / gwdt->clk * 1000; in sbsa_gwdt_probe() 335 wdd->max_hw_heartbeat_ms = GENMASK_ULL(47, 0) / gwdt->clk * 1000; in sbsa_gwdt_probe() 380 wdd->max_hw_heartbeat_ms *= 2; in sbsa_gwdt_probe()
|
H A D | loongson1_wdt.c | 46 unsigned int max_hw_heartbeat = wdt_dev->max_hw_heartbeat_ms / 1000; in ls1x_wdt_set_timeout() 131 ls1x_wdt->max_hw_heartbeat_ms = U32_MAX / clk_rate * 1000; in ls1x_wdt_probe()
|
H A D | hpwdt.c | 72 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); in hpwdt_start() 107 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000)); in hpwdt_ping() 230 .max_hw_heartbeat_ms = HPWDT_MAX_TIMER * 1000,
|
H A D | gxp-wdt.c | 65 actual = min(timeout * 100, wdd->max_hw_heartbeat_ms / 10); in gxp_wdt_set_timeout() 138 drvdata->wdd.max_hw_heartbeat_ms = WDT_MAX_TIMEOUT_MS; in gxp_wdt_probe()
|
H A D | bd96801_wdt.c | 220 w->wdt.max_hw_heartbeat_ms = hw_margin / 10; in bd96801_set_wdt_mode() 261 w->wdt.max_hw_heartbeat_ms = (fast << sel) / USEC_PER_MSEC; in bd96801_set_heartbeat_from_hw() 380 w->wdt.min_hw_heartbeat_ms, w->wdt.max_hw_heartbeat_ms); in bd96801_wdt_probe()
|
H A D | rza_wdt.c | 207 * max_hw_heartbeat_ms. in rza_wdt_probe() 209 priv->wdev.max_hw_heartbeat_ms = (1000 * U8_MAX) / rate; in rza_wdt_probe() 211 priv->wdev.max_hw_heartbeat_ms); in rza_wdt_probe()
|
H A D | rzv2h_wdt.c | 233 priv->wdev.max_hw_heartbeat_ms = (MILLI * MAX_TIMEOUT_CYCLES * CLOCK_DIV_BY_256) / in rzv2h_wdt_probe() 235 dev_dbg(dev, "max hw timeout of %dms\n", priv->wdev.max_hw_heartbeat_ms); in rzv2h_wdt_probe()
|
H A D | apple_wdt.c | 102 actual = min(s, wdd->max_hw_heartbeat_ms / 1000); in apple_wdt_set_timeout() 183 wdt->wdd.max_hw_heartbeat_ms = U32_MAX / wdt->clk_rate * 1000; in apple_wdt_probe()
|
H A D | mpc8xxx_wdt.c | 197 ddata->wdd.max_hw_heartbeat_ms = (ddata->swtc * wdt_type->prescaler) / in mpc8xxx_wdt_probe() 199 ddata->wdd.min_timeout = ddata->wdd.max_hw_heartbeat_ms / 1000; in mpc8xxx_wdt_probe()
|
H A D | realtek_otto_wdt.c | 337 ctrl->wdev.max_hw_heartbeat_ms = max_tick_ms * OTTO_WDT_TIMEOUT_TICKS_MAX; in otto_wdt_probe() 338 ctrl->wdev.timeout = min(30U, ctrl->wdev.max_hw_heartbeat_ms / 1000); in otto_wdt_probe()
|
H A D | watchdog_core.c | 95 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout() 248 if (!wdd->ops->start || (!wdd->ops->stop && !wdd->max_hw_heartbeat_ms)) in ___watchdog_register_device()
|
H A D | tqmx86_wdt.c | 97 priv->wdd.max_hw_heartbeat_ms = 4096*1000; in tqmx86_wdt_probe()
|
H A D | ep93xx_wdt.c | 110 wdd->max_hw_heartbeat_ms = 200; in ep93xx_wdt_probe()
|
H A D | ts72xx_wdt.c | 145 wdd->max_hw_heartbeat_ms = 8000; in ts72xx_wdt_probe()
|
H A D | gpio_wdt.c | 153 priv->wdd.max_hw_heartbeat_ms = hw_margin; in gpio_wdt_probe()
|
H A D | bcm2835_wdt.c | 144 .max_hw_heartbeat_ms = WDOG_TICKS_TO_MSECS(PM_WDOG_TIME_SET),
|
H A D | sunplus_wdt.c | 176 priv->wdev.max_hw_heartbeat_ms = SP_WDT_MAX_TIMEOUT * 1000; in sp_wdt_probe()
|
H A D | meson_gxbb_wdt.c | 187 data->wdt_dev.max_hw_heartbeat_ms = GXBB_WDT_TCNT_SETUP_MASK; in meson_gxbb_wdt_probe()
|
H A D | max77620_wdt.c | 184 wdt_dev->max_hw_heartbeat_ms = 128 * 1000; in max77620_wdt_probe()
|
H A D | rave-sp-wdt.c | 304 wdd->max_hw_heartbeat_ms = wdd->max_timeout * 1000; in rave_sp_wdt_probe()
|
H A D | dw_wdt.c | 235 * wdd->max_hw_heartbeat_ms in dw_wdt_set_timeout() 237 if (top_s * 1000 <= wdd->max_hw_heartbeat_ms) in dw_wdt_set_timeout() 629 wdd->max_hw_heartbeat_ms = dw_wdt_get_max_timeout_ms(dw_wdt); in dw_wdt_drv_probe()
|
H A D | rti_wdt.c | 252 wdd->max_hw_heartbeat_ms = (WDT_PRELOAD_MAX << WDT_PRELOAD_SHIFT) / in rti_wdt_probe()
|
H A D | marvell_gti_wdt.c | 302 wdog_dev->max_hw_heartbeat_ms = max_pretimeout * 1000; in gti_wdt_probe()
|
/linux/include/linux/ |
H A D | watchdog.h | 77 * max_hw_heartbeat_ms is not provided. 81 * @max_hw_heartbeat_ms: 111 unsigned int max_hw_heartbeat_ms; member 186 (!wdd->max_hw_heartbeat_ms && wdd->max_timeout && in watchdog_timeout_invalid()
|