Lines Matching refs:WDOG_CS
16 #define WDOG_CS 0x0 macro
72 u32 val = readl(base + WDOG_CS); in imx7ulp_wdt_wait_ulk()
75 readl_poll_timeout_atomic(base + WDOG_CS, val, in imx7ulp_wdt_wait_ulk()
86 u32 val = readl(wdt->base + WDOG_CS); in imx7ulp_wdt_wait_rcs()
93 readl_poll_timeout(wdt->base + WDOG_CS, val, val & WDOG_CS_RCS, 100, in imx7ulp_wdt_wait_rcs()
106 u32 val = readl(wdt->base + WDOG_CS); in _imx7ulp_wdt_enable()
115 writel(val | WDOG_CS_EN, wdt->base + WDOG_CS); in _imx7ulp_wdt_enable()
117 writel(val & ~WDOG_CS_EN, wdt->base + WDOG_CS); in _imx7ulp_wdt_enable()
138 val = readl(wdt->base + WDOG_CS); in imx7ulp_wdt_enable()
250 val = readl(wdt->base + WDOG_CS); in _imx7ulp_wdt_init()
267 writel(cs, wdt->base + WDOG_CS); in _imx7ulp_wdt_init()
293 if (readl(wdt->base + WDOG_CS) & WDOG_CS_EN) { in imx7ulp_wdt_init()
301 cs = readl(wdt->base + WDOG_CS); in imx7ulp_wdt_init()