Searched refs:meson_wdt (Results 1 – 3 of 3) sorted by relevance
64 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_restart() local67 tc_reboot |= meson_wdt->data->enable; in meson_wdt_restart()70 writel(tc_reboot, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_restart()79 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_ping() local81 writel(0, meson_wdt->wdt_base + MESON_WDT_RESET); in meson_wdt_ping()89 struct meson_wdt_dev *meson_wdt = watchdog_get_drvdata(wdt_dev); in meson_wdt_change_timeout() local92 reg = readl(meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()93 reg &= ~meson_wdt->data->terminal_count_mask; in meson_wdt_change_timeout()94 reg |= MESON_SEC_TO_TC(timeout, meson_wdt->data->count_unit); in meson_wdt_change_timeout()95 writel(reg, meson_wdt->wdt_base + MESON_WDT_TC); in meson_wdt_change_timeout()[all …]
80 obj-$(CONFIG_MESON_WATCHDOG) += meson_wdt.o
874 module will be called meson_wdt.