Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dbd9576_wdt.c152 static int bd957x_set_wdt_mode(struct bd9576_wdt_priv *priv, int hw_margin, in bd957x_set_wdt_mode() argument
159 hw_margin *= 10; in bd957x_set_wdt_mode()
172 ret = find_closest_slow_by_fast(min, hw_margin, &slowng); in bd957x_set_wdt_mode()
181 ret = find_closest_slow(hw_margin, &slowng, &fastng); in bd957x_set_wdt_mode()
202 u32 hw_margin[2]; in bd9576_wdt_probe() local
241 if (count > ARRAY_SIZE(hw_margin)) in bd9576_wdt_probe()
246 hw_margin, count); in bd9576_wdt_probe()
251 hw_margin_max = hw_margin[0]; in bd9576_wdt_probe()
254 hw_margin_max = hw_margin[1]; in bd9576_wdt_probe()
255 hw_margin_min = hw_margin[0]; in bd9576_wdt_probe()
H A Dgpio_wdt.c112 unsigned int hw_margin; in gpio_wdt_probe() local
140 "hw_margin_ms", &hw_margin); in gpio_wdt_probe()
144 if (hw_margin < 2 || hw_margin > 65535) in gpio_wdt_probe()
155 priv->wdd.max_hw_heartbeat_ms = hw_margin; in gpio_wdt_probe()