Lines Matching refs:wdt_status
28 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()
194 clear_bit(WDT_IN_USE, &wdt_status); in iop_wdt_release()
195 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_release()