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

/drivers/watchdog/
H A Diop_wdt.c40 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 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.c36 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 Dixp4xx_wdt.c32 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 Dm54xx_wdt.c39 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 Dsbc_fitpc2_wdt.c31 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 Dorion_wdt.c46 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 Dsbc7240_wdt.c56 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 Dstmp3xxx_wdt.c37 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 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.c65 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 Dmv64x60_wdt.c55 static int wdt_status; variable
199 if (put_user(wdt_status, (int __user *)argp))
201 wdt_status &= ~WDIOF_KEEPALIVEPING;
220 wdt_status |= WDIOF_KEEPALIVEPING;

Completed in 85 milliseconds