Searched refs:meson_wdt (Results 1 – 3 of 3) sorted by relevance
68 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_restart() local71 tc_reboot |= meson_wdt->data->enable; in meson_wdt_restart()74 writel(tc_reboot, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_restart()83 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_ping() local85 writel(0, meson_wdt->wdt_base + MESON_WDT_RESET); in meson_wdt_ping()93 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_change_timeout() local96 reg = readl(meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()97 reg &= ~meson_wdt->data->terminal_count_mask; in meson_wdt_change_timeout()98 reg |= MESON_SEC_TO_TC(timeout, meson_wdt->data->count_unit); in meson_wdt_change_timeout()99 writel(reg, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()[all …]
80 obj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o
714 module will be called meson_wdt.