/drivers/watchdog/ |
H A D | iop_wdt.c | 38 static unsigned long wdt_status; variable 86 clear_bit(WDT_ENABLED, &wdt_status); 96 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 99 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 101 set_bit(WDT_ENABLED, &wdt_status); 112 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 120 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 163 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 191 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 192 if (test_bit(WDT_ENABLED, &wdt_status)) [all...] |
H A D | ep93xx_wdt.c | 46 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); 114 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 123 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 125 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 173 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 179 clear_bit(WDT_IN_USE, &wdt_status); 180 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | it87_wdt.c | 130 /* wdt_status */ 139 static unsigned long wdt_status; variable 257 if (test_bit(WDTS_USE_GP, &wdt_status)) 262 set_bit(WDTS_KEEPALIVE, &wdt_status); 272 if (test_bit(WDTS_USE_GP, &wdt_status)) 320 if (test_bit(WDTS_TIMER_RUN, &wdt_status)) { 356 clear_bit(WDTS_TIMER_RUN, &wdt_status); 362 if (test_and_clear_bit(WDTS_KEEPALIVE, &wdt_status)) 364 if (test_bit(WDTS_EXPECTED, &wdt_status)) 383 if (exclusive && test_and_set_bit(WDTS_DEV_OPEN, &wdt_status)) [all...] |
H A D | ixp2000_wdt.c | 34 static unsigned long wdt_status; variable 68 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 71 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 85 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 93 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 158 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 163 clear_bit(WDT_IN_USE, &wdt_status); 164 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | ixp4xx_wdt.c | 30 static unsigned long wdt_status; variable 61 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 64 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 76 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 84 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 147 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 152 clear_bit(WDT_IN_USE, &wdt_status); 153 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | m54xx_wdt.c | 37 static unsigned long wdt_status; variable 81 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 84 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 96 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 104 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 166 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 173 clear_bit(WDT_IN_USE, &wdt_status); 174 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | sbc_fitpc2_wdt.c | 32 static unsigned long wdt_status; variable 72 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 75 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 95 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 104 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 170 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { 179 clear_bit(WDT_IN_USE, &wdt_status); 180 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | orion_wdt.c | 43 static unsigned long wdt_status; variable 112 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 114 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 126 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 133 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 209 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 214 clear_bit(WDT_IN_USE, &wdt_status); 215 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 269 if (test_bit(WDT_IN_USE, &wdt_status)) { 271 clear_bit(WDT_IN_USE, &wdt_status); [all...] |
H A D | max63xx_wdt.c | 48 static unsigned long wdt_status; variable 138 if (test_and_set_bit(WDT_RUNNING, &wdt_status)) 168 clear_bit(WDT_RUNNING, &wdt_status); 173 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 177 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 189 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 197 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 242 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 248 clear_bit(WDT_IN_USE, &wdt_status); 249 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); [all...] |
H A D | pnx4008_wdt.c | 84 static unsigned long wdt_status; variable 134 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 137 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 141 clear_bit(WDT_IN_USE, &wdt_status); 157 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 165 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 228 if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 233 clear_bit(WDT_IN_USE, &wdt_status); 234 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 307 set_bit(WDT_DEVICE_INITED, &wdt_status); [all...] |
H A D | sbc7240_wdt.c | 57 static unsigned long wdt_status; variable 66 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { 76 if (!test_and_set_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { 101 if (test_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) 117 &wdt_status); 125 &wdt_status); 139 if (test_and_set_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status)) 149 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) 158 clear_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status);
|
H A D | stmp3xxx_wdt.c | 34 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); 81 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 89 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 175 if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { 181 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 184 clear_bit(WDT_IN_USE, &wdt_status);
|
H A D | davinci_wdt.c | 66 static unsigned long wdt_status; variable 128 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 182 clear_bit(WDT_IN_USE, &wdt_status); 244 set_bit(WDT_DEVICE_INITED, &wdt_status);
|
H A D | gef_wdt.c | 63 static int wdt_status; variable 180 if (put_user(wdt_status, (int __user *)argp)) 182 wdt_status &= ~WDIOF_KEEPALIVEPING; 198 wdt_status |= WDIOF_KEEPALIVEPING;
|
H A D | mv64x60_wdt.c | 53 static int wdt_status; variable 198 if (put_user(wdt_status, (int __user *)argp)) 200 wdt_status &= ~WDIOF_KEEPALIVEPING; 219 wdt_status |= WDIOF_KEEPALIVEPING;
|