Home
last modified time | relevance | path

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

/openbmc/linux/drivers/watchdog/
H A Dm54xx_wdt.c38 static unsigned long wdt_status; variable
82 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in m54xx_wdt_open()
85 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_open()
97 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write()
105 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write()
167 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in m54xx_wdt_release()
173 clear_bit(WDT_IN_USE, &wdt_status); in m54xx_wdt_release()
174 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_release()
H A 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()
H A Dsbc_fitpc2_wdt.c29 static unsigned long wdt_status; variable
69 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in fitpc2_wdt_open()
72 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_open()
92 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write()
101 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write()
167 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { in fitpc2_wdt_release()
175 clear_bit(WDT_IN_USE, &wdt_status); in fitpc2_wdt_release()
176 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_release()
H A 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()