Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/watchdog/
Diop_wdt.c28 static unsigned long wdt_status; variable
76 clear_bit(WDT_ENABLED, &wdt_status); in wdt_disable()
86 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in iop_wdt_open()
89 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_open()
91 set_bit(WDT_ENABLED, &wdt_status); in iop_wdt_open()
102 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write()
110 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write()
153 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_ioctl()
181 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in iop_wdt_release()
182 if (test_bit(WDT_ENABLED, &wdt_status)) in iop_wdt_release()
[all …]
Dm54xx_wdt.c40 static unsigned long wdt_status; variable
84 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in m54xx_wdt_open()
87 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_open()
99 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write()
107 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write()
169 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in m54xx_wdt_release()
175 clear_bit(WDT_IN_USE, &wdt_status); in m54xx_wdt_release()
176 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_release()
Dsbc7240_wdt.c47 static unsigned long wdt_status; variable
56 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_disable()
65 if (!test_and_set_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_enable()
87 if (test_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) in wdt_keepalive()
103 &wdt_status); in fop_write()
111 &wdt_status); in fop_write()
125 if (test_and_set_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status)) in fop_open()
135 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) in fop_close()
143 clear_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status); in fop_close()
Dsbc_fitpc2_wdt.c31 static unsigned long wdt_status; variable
71 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in fitpc2_wdt_open()
74 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_open()
94 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write()
103 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write()
169 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { in fitpc2_wdt_release()
177 clear_bit(WDT_IN_USE, &wdt_status); in fitpc2_wdt_release()
178 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_release()
Ddiag288_wdt.c107 static unsigned long wdt_status; variable
118 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) in wdt_start()
124 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start()
143 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start()
156 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_stop()
233 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) { in wdt_suspend()
242 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_resume()
Dgef_wdt.c62 static int wdt_status; variable
179 if (put_user(wdt_status, (int __user *)argp)) in gef_wdt_ioctl()
181 wdt_status &= ~WDIOF_KEEPALIVEPING; in gef_wdt_ioctl()
197 wdt_status |= WDIOF_KEEPALIVEPING; in gef_wdt_ioctl()