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

/drivers/watchdog/
H A Diop_wdt.c38 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 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);
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 Dit87_wdt.c130 /* 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 Dixp2000_wdt.c34 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 Dixp4xx_wdt.c30 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 Dm54xx_wdt.c37 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 Dsbc_fitpc2_wdt.c32 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 Dorion_wdt.c43 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 Dmax63xx_wdt.c48 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 Dpnx4008_wdt.c84 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 Dsbc7240_wdt.c57 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 Dstmp3xxx_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);
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 Ddavinci_wdt.c66 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 Dgef_wdt.c63 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 Dmv64x60_wdt.c53 static int wdt_status; variable
198 if (put_user(wdt_status, (int __user *)argp))
200 wdt_status &= ~WDIOF_KEEPALIVEPING;
219 wdt_status |= WDIOF_KEEPALIVEPING;

Completed in 266 milliseconds