/drivers/watchdog/ |
H A D | iop_wdt.c | 40 static unsigned long wdt_status; variable 88 clear_bit(WDT_ENABLED, &wdt_status); 98 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 101 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 103 set_bit(WDT_ENABLED, &wdt_status); 114 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 122 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 165 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 193 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 194 if (test_bit(WDT_ENABLED, &wdt_status)) [all...] |
H A D | ixp2000_wdt.c | 36 static unsigned long wdt_status; variable 70 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 73 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 87 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 95 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 160 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 D | ixp4xx_wdt.c | 32 static unsigned long wdt_status; variable 63 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 66 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 78 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 86 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 149 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 153 clear_bit(WDT_IN_USE, &wdt_status); 154 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | m54xx_wdt.c | 39 static unsigned long wdt_status; variable 83 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 86 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 98 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 106 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 168 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 174 clear_bit(WDT_IN_USE, &wdt_status); 175 clear_bit(WDT_OK_TO_CLOSE, &wdt_status);
|
H A D | sbc_fitpc2_wdt.c | 31 static unsigned long wdt_status; variable 71 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 74 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 94 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 103 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 169 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { 177 clear_bit(WDT_IN_USE, &wdt_status); 178 clear_bit(WDT_OK_TO_CLOSE, &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 | 65 static int wdt_status; variable 182 if (put_user(wdt_status, (int __user *)argp)) 184 wdt_status &= ~WDIOF_KEEPALIVEPING; 200 wdt_status |= WDIOF_KEEPALIVEPING;
|
H A D | mv64x60_wdt.c | 55 static int wdt_status; variable 199 if (put_user(wdt_status, (int __user *)argp)) 201 wdt_status &= ~WDIOF_KEEPALIVEPING; 220 wdt_status |= WDIOF_KEEPALIVEPING;
|
H A D | orion_wdt.c | 46 static unsigned long wdt_status; variable 115 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) 117 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 129 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 136 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 212 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) 216 clear_bit(WDT_IN_USE, &wdt_status); 217 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 276 if (test_bit(WDT_IN_USE, &wdt_status)) { 278 clear_bit(WDT_IN_USE, &wdt_status); [all...] |
H A D | sbc7240_wdt.c | 56 static unsigned long wdt_status; variable 65 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { 74 if (!test_and_set_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { 96 if (test_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) 112 &wdt_status); 120 &wdt_status); 134 if (test_and_set_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status)) 144 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) 152 clear_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status);
|
H A D | stmp3xxx_wdt.c | 37 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); 84 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 92 set_bit(WDT_OK_TO_CLOSE, &wdt_status); 178 if (!test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { 184 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); 187 clear_bit(WDT_IN_USE, &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...] |