Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/watchdog/
H A Dcdns_wdt.c79 static inline void cdns_wdt_writereg(u32 *addr, u32 val) in cdns_wdt_writereg() function
99 cdns_wdt_writereg(&priv->regs->restart, CDNS_WDT_RESTART_KEY); in cdns_wdt_reset()
170 cdns_wdt_writereg(&priv->regs->zmr, CDNS_WDT_ZMR_ZKEY_VAL); in cdns_wdt_start()
176 cdns_wdt_writereg(&priv->regs->ccr, data); in cdns_wdt_start()
190 cdns_wdt_writereg(&priv->regs->zmr, data); in cdns_wdt_start()
191 cdns_wdt_writereg(&priv->regs->restart, CDNS_WDT_RESTART_KEY); in cdns_wdt_start()
210 cdns_wdt_writereg(&priv->regs->zmr, in cdns_wdt_stop()
/openbmc/linux/drivers/watchdog/
H A Dcadence_wdt.c85 static inline void cdns_wdt_writereg(struct cdns_wdt *wdt, u32 offset, u32 val) in cdns_wdt_writereg() function
129 cdns_wdt_writereg(wdt, CDNS_WDT_ZMR_OFFSET, in cdns_wdt_stop()
150 cdns_wdt_writereg(wdt, CDNS_WDT_RESTART_OFFSET, in cdns_wdt_reload()
193 cdns_wdt_writereg(wdt, CDNS_WDT_ZMR_OFFSET, in cdns_wdt_start()
200 cdns_wdt_writereg(wdt, CDNS_WDT_CCR_OFFSET, data); in cdns_wdt_start()
212 cdns_wdt_writereg(wdt, CDNS_WDT_ZMR_OFFSET, data); in cdns_wdt_start()
213 cdns_wdt_writereg(wdt, CDNS_WDT_RESTART_OFFSET, in cdns_wdt_start()