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

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/watchdog/
H A Dep93xx_wdt.c46 static unsigned long wdt_status; variable
96 if (test_and_set_bit(WDT_IN_USE, &wdt_status))
99 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
118 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
127 set_bit(WDT_OK_TO_CLOSE, &wdt_status);
129 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
178 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status))
184 clear_bit(WDT_IN_USE, &wdt_status);
185 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
H A Dixp2000_wdt.c34 static unsigned long wdt_status; variable
65 if (test_and_set_bit(WDT_IN_USE, &wdt_status))
68 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
82 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
90 set_bit(WDT_OK_TO_CLOSE, &wdt_status);
157 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) {
164 clear_bit(WDT_IN_USE, &wdt_status);
165 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
H A Dixp4xx_wdt.c31 static unsigned long wdt_status; variable
60 if (test_and_set_bit(WDT_IN_USE, &wdt_status))
63 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
77 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
85 set_bit(WDT_OK_TO_CLOSE, &wdt_status);
151 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) {
158 clear_bit(WDT_IN_USE, &wdt_status);
159 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
H A Dmpc8xx_wdt.c24 static int wdt_status; variable
103 if (put_user(wdt_status, (int *)arg))
105 wdt_status &= ~WDIOF_KEEPALIVEPING;
116 wdt_status |= WDIOF_KEEPALIVEPING;
H A Dpnx4008_wdt.c84 static unsigned long wdt_status; variable
137 if (test_and_set_bit(WDT_IN_USE, &wdt_status))
140 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
159 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
167 set_bit(WDT_OK_TO_CLOSE, &wdt_status);
231 if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status))
235 clear_bit(WDT_IN_USE, &wdt_status);
236 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
304 set_bit(WDT_DEVICE_INITED, &wdt_status);
H A Dmv64x60_wdt.c41 static int wdt_status; variable
137 if (put_user(wdt_status, (int __user *)argp))
139 wdt_status &= ~WDIOF_KEEPALIVEPING;
150 wdt_status |= WDIOF_KEEPALIVEPING;

Completed in 160 milliseconds