Searched refs:airoha_wdt (Results 1 – 2 of 2) sorted by relevance
56 struct airoha_wdt_desc *airoha_wdt = watchdog_get_drvdata(wdog_dev); in airoha_wdt_start() local59 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() local73 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() local85 val = readl(airoha_wdt->base + WDT_RELOAD); in airoha_wdt_ping()[all …]
43 obj-$(CONFIG_AIROHA_WATCHDOG) += airoha_wdt.o