Searched refs:wdt_status (Results 1 – 6 of 6) sorted by relevance
| /Linux-v5.15/drivers/watchdog/ |
| D | iop_wdt.c | 28 static unsigned long wdt_status; variable 76 clear_bit(WDT_ENABLED, &wdt_status); in wdt_disable() 86 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in iop_wdt_open() 89 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_open() 91 set_bit(WDT_ENABLED, &wdt_status); in iop_wdt_open() 102 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write() 110 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_write() 153 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in iop_wdt_ioctl() 181 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in iop_wdt_release() 182 if (test_bit(WDT_ENABLED, &wdt_status)) in iop_wdt_release() [all …]
|
| D | m54xx_wdt.c | 40 static unsigned long wdt_status; variable 84 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in m54xx_wdt_open() 87 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_open() 99 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write() 107 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_write() 169 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in m54xx_wdt_release() 175 clear_bit(WDT_IN_USE, &wdt_status); in m54xx_wdt_release() 176 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in m54xx_wdt_release()
|
| D | sbc7240_wdt.c | 47 static unsigned long wdt_status; variable 56 if (test_and_clear_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_disable() 65 if (!test_and_set_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) { in wdt_enable() 87 if (test_bit(SBC7240_ENABLED_STATUS_BIT, &wdt_status)) in wdt_keepalive() 103 &wdt_status); in fop_write() 111 &wdt_status); in fop_write() 125 if (test_and_set_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status)) in fop_open() 135 if (test_and_clear_bit(SBC7240_EXPECT_CLOSE_STATUS_BIT, &wdt_status) in fop_close() 143 clear_bit(SBC7240_OPEN_STATUS_BIT, &wdt_status); in fop_close()
|
| D | sbc_fitpc2_wdt.c | 31 static unsigned long wdt_status; variable 71 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in fitpc2_wdt_open() 74 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_open() 94 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write() 103 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_write() 169 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) { in fitpc2_wdt_release() 177 clear_bit(WDT_IN_USE, &wdt_status); in fitpc2_wdt_release() 178 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in fitpc2_wdt_release()
|
| D | diag288_wdt.c | 107 static unsigned long wdt_status; variable 118 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) in wdt_start() 124 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start() 143 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start() 156 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_stop() 233 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) { in wdt_suspend() 242 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_resume()
|
| D | gef_wdt.c | 62 static int wdt_status; variable 179 if (put_user(wdt_status, (int __user *)argp)) in gef_wdt_ioctl() 181 wdt_status &= ~WDIOF_KEEPALIVEPING; in gef_wdt_ioctl() 197 wdt_status |= WDIOF_KEEPALIVEPING; in gef_wdt_ioctl()
|