Home
last modified time | relevance | path

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

/drivers/watchdog/
Dmoxart_wdt.c40 struct moxart_wdt_dev *moxart_wdt = container_of(this, in moxart_restart_handle() local
43 writel(1, moxart_wdt->base + REG_COUNT); in moxart_restart_handle()
44 writel(0x5ab9, moxart_wdt->base + REG_MODE); in moxart_restart_handle()
45 writel(0x03, moxart_wdt->base + REG_ENABLE); in moxart_restart_handle()
52 struct moxart_wdt_dev *moxart_wdt = watchdog_get_drvdata(wdt_dev); in moxart_wdt_stop() local
54 writel(0, moxart_wdt->base + REG_ENABLE); in moxart_wdt_stop()
61 struct moxart_wdt_dev *moxart_wdt = watchdog_get_drvdata(wdt_dev); in moxart_wdt_start() local
63 writel(moxart_wdt->clock_frequency * wdt_dev->timeout, in moxart_wdt_start()
64 moxart_wdt->base + REG_COUNT); in moxart_wdt_start()
65 writel(0x5ab9, moxart_wdt->base + REG_MODE); in moxart_wdt_start()
[all …]
DMakefile60 obj-$(CONFIG_MOXART_WDT) += moxart_wdt.o
DKconfig463 module will be called moxart_wdt.