Lines Matching refs:wdt_status
40 static unsigned long wdt_status; variable
88 clear_bit(WDT_ENABLED, &wdt_status); in wdt_disable()
98 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in iop_wdt_open()
101 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_open()
103 set_bit(WDT_ENABLED, &wdt_status); in iop_wdt_open()
114 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write()
122 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write()
165 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_ioctl()
193 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in iop_wdt_release()
194 if (test_bit(WDT_ENABLED, &wdt_status)) in iop_wdt_release()
206 clear_bit(WDT_IN_USE, &wdt_status); in iop_wdt_release()
207 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_release()