Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dimx2_wdt.c36 #define IMX2_WDT_WCR 0x00 /* Control Register */ macro
113 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart()
121 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart()
122 regmap_write(wdev->regmap, IMX2_WDT_WCR, wcr_enable); in imx2_wdt_restart()
135 regmap_read(wdev->regmap, IMX2_WDT_WCR, &val); in imx2_wdt_setup()
155 regmap_write(wdev->regmap, IMX2_WDT_WCR, val); in imx2_wdt_setup()
159 regmap_write(wdev->regmap, IMX2_WDT_WCR, val); in imx2_wdt_setup()
166 regmap_read(wdev->regmap, IMX2_WDT_WCR, &val); in imx2_wdt_is_running()
188 regmap_update_bits(wdev->regmap, IMX2_WDT_WCR, IMX2_WDT_WCR_WT, in __imx2_wdt_set_timeout()
/openbmc/qemu/include/hw/watchdog/
H A Dwdt_imx2.h25 IMX2_WDT_WCR = 0x0000, /* Control Register */ enumerator
/openbmc/qemu/hw/watchdog/
H A Dwdt_imx2.c78 case IMX2_WDT_WCR: in imx2_wdt_read()
157 case IMX2_WDT_WCR: in imx2_wdt_write()