Home
last modified time | relevance | path

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

/linux/drivers/watchdog/
H A Dairoha_wdt.c56 struct airoha_wdt_desc *airoha_wdt = watchdog_get_drvdata(wdog_dev); in airoha_wdt_start() local
59 val = readl(airoha_wdt->base + TIMER_CTRL); in airoha_wdt_start()
61 writel(val, airoha_wdt->base + TIMER_CTRL); in airoha_wdt_start()
62 val = wdog_dev->timeout * airoha_wdt->wdt_freq; in airoha_wdt_start()
63 writel(val, airoha_wdt->base + WDT_TIMER_LOAD_VALUE); in airoha_wdt_start()
70 struct airoha_wdt_desc *airoha_wdt = watchdog_get_drvdata(wdog_dev); in airoha_wdt_stop() local
73 val = readl(airoha_wdt->base + TIMER_CTRL); in airoha_wdt_stop()
75 writel(val, airoha_wdt->base + TIMER_CTRL); in airoha_wdt_stop()
82 struct airoha_wdt_desc *airoha_wdt = watchdog_get_drvdata(wdog_dev); in airoha_wdt_ping() local
85 val = readl(airoha_wdt->base + WDT_RELOAD); in airoha_wdt_ping()
[all …]
H A DMakefile43 obj-$(CONFIG_AIROHA_WATCHDOG) += airoha_wdt.o