Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dlpc18xx_wdt.c80 struct lpc18xx_wdt_dev *lpc18xx_wdt = from_timer(lpc18xx_wdt, t, timer); in lpc18xx_wdt_timer_feed() local
107 val = DIV_ROUND_UP(lpc18xx_wdt->wdt_dev.timeout * lpc18xx_wdt->clk_rate, in __lpc18xx_wdt_set_timeout()
138 del_timer(&lpc18xx_wdt->timer); in lpc18xx_wdt_start()
205 lpc18xx_wdt = devm_kzalloc(dev, sizeof(*lpc18xx_wdt), GFP_KERNEL); in lpc18xx_wdt_probe()
206 if (!lpc18xx_wdt) in lpc18xx_wdt_probe()
210 if (IS_ERR(lpc18xx_wdt->base)) in lpc18xx_wdt_probe()
226 lpc18xx_wdt->clk_rate = clk_get_rate(lpc18xx_wdt->wdt_clk); in lpc18xx_wdt_probe()
227 if (lpc18xx_wdt->clk_rate == 0) { in lpc18xx_wdt_probe()
241 lpc18xx_wdt->wdt_dev.timeout = min(lpc18xx_wdt->wdt_dev.max_timeout, in lpc18xx_wdt_probe()
246 lpc18xx_wdt->wdt_dev.parent = dev; in lpc18xx_wdt_probe()
[all …]
H A DMakefile83 obj-$(CONFIG_LPC18XX_WATCHDOG) += lpc18xx_wdt.o
H A DKconfig885 module will be called lpc18xx_wdt.