Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/watchdog/
Dqcom-wdt.c55 static void __iomem *wdt_addr(struct qcom_wdt *wdt, enum wdt_reg reg) in wdt_addr() function
70 writel(0, wdt_addr(wdt, WDT_EN)); in qcom_wdt_start()
71 writel(1, wdt_addr(wdt, WDT_RST)); in qcom_wdt_start()
72 writel(wdd->timeout * wdt->rate, wdt_addr(wdt, WDT_BARK_TIME)); in qcom_wdt_start()
73 writel(wdd->timeout * wdt->rate, wdt_addr(wdt, WDT_BITE_TIME)); in qcom_wdt_start()
74 writel(1, wdt_addr(wdt, WDT_EN)); in qcom_wdt_start()
82 writel(0, wdt_addr(wdt, WDT_EN)); in qcom_wdt_stop()
90 writel(1, wdt_addr(wdt, WDT_RST)); in qcom_wdt_ping()
113 writel(0, wdt_addr(wdt, WDT_EN)); in qcom_wdt_restart()
114 writel(1, wdt_addr(wdt, WDT_RST)); in qcom_wdt_restart()
[all …]