Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Drc32434_wdt.c40 static struct integ __iomem *wdt_reg; variable
81 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare); in rc32434_wdt_set()
94 writel(0, &wdt_reg->wtcount); in rc32434_wdt_start()
104 SET_BITS(wdt_reg->errcs, or, nand); in rc32434_wdt_start()
113 SET_BITS(wdt_reg->wtc, or, nand); in rc32434_wdt_start()
124 SET_BITS(wdt_reg->wtc, 0, 1 << RC32434_WTC_EN); in rc32434_wdt_stop()
133 writel(0, &wdt_reg->wtcount); in rc32434_wdt_ping()
270 wdt_reg = devm_ioremap(&pdev->dev, r->start, resource_size(r)); in rc32434_wdt_probe()
271 if (!wdt_reg) { in rc32434_wdt_probe()
H A Dqcom-wdt.c15 enum wdt_reg { enum
53 static void __iomem *wdt_addr(struct qcom_wdt *wdt, enum wdt_reg reg) in wdt_addr()