Searched refs:moxart_wdt (Results 1 – 3 of 3) sorted by relevance
40 struct moxart_wdt_dev *moxart_wdt = container_of(this, in moxart_restart_handle() local43 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() local54 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() local63 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 …]
60 obj-$(CONFIG_MOXART_WDT) += moxart_wdt.o
463 module will be called moxart_wdt.