Searched refs:wdt_flags (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/watchdog/
H A Dath79_wdt.c63 static unsigned long wdt_flags; variable
128 if (test_and_set_bit(WDT_FLAGS_BUSY, &wdt_flags)) ath79_wdt_open()
131 clear_bit(WDT_FLAGS_EXPECT_CLOSE, &wdt_flags); ath79_wdt_open()
139 if (test_bit(WDT_FLAGS_EXPECT_CLOSE, &wdt_flags)) ath79_wdt_release()
146 clear_bit(WDT_FLAGS_BUSY, &wdt_flags); ath79_wdt_release()
147 clear_bit(WDT_FLAGS_EXPECT_CLOSE, &wdt_flags); ath79_wdt_release()
159 clear_bit(WDT_FLAGS_EXPECT_CLOSE, &wdt_flags); ath79_wdt_write()
169 &wdt_flags); ath79_wdt_write()
H A Dgeodewdt.c50 static unsigned long wdt_flags; variable
88 if (test_and_set_bit(WDT_FLAGS_OPEN, &wdt_flags)) geodewdt_open()
91 if (!test_and_clear_bit(WDT_FLAGS_ORPHAN, &wdt_flags)) geodewdt_open()
107 set_bit(WDT_FLAGS_ORPHAN, &wdt_flags); geodewdt_release()
110 clear_bit(WDT_FLAGS_OPEN, &wdt_flags); geodewdt_release()
H A Dgef_wdt.c65 static unsigned long wdt_flags; variable
224 if (test_and_set_bit(GEF_WDOG_FLAG_OPENED, &wdt_flags)) gef_wdt_open()
245 clear_bit(GEF_WDOG_FLAG_OPENED, &wdt_flags); gef_wdt_release()
H A Dmv64x60_wdt.c54 static unsigned long wdt_flags; variable
128 if (test_and_set_bit(MV64x60_WDOG_FLAG_OPENED, &wdt_flags)) mv64x60_wdt_open()
149 clear_bit(MV64x60_WDOG_FLAG_OPENED, &wdt_flags); mv64x60_wdt_release()

Completed in 126 milliseconds