Searched refs:wdt_status (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/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 | ixp4xx_wdt.c | 33 static unsigned long wdt_status; variable 64 if (test_and_set_bit(WDT_IN_USE, &wdt_status)) in ixp4xx_wdt_open() 67 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in ixp4xx_wdt_open() 79 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in ixp4xx_wdt_write() 87 set_bit(WDT_OK_TO_CLOSE, &wdt_status); in ixp4xx_wdt_write() 150 if (test_bit(WDT_OK_TO_CLOSE, &wdt_status)) in ixp4xx_wdt_release() 154 clear_bit(WDT_IN_USE, &wdt_status); in ixp4xx_wdt_release() 155 clear_bit(WDT_OK_TO_CLOSE, &wdt_status); in ixp4xx_wdt_release()
|
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() 126 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start() 145 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_start() 158 clear_bit(DIAG_WDOG_BUSY, &wdt_status); in wdt_stop() 237 if (test_and_set_bit(DIAG_WDOG_BUSY, &wdt_status)) { in wdt_suspend() 246 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()
|
D | mv64x60_wdt.c | 53 static int wdt_status; variable 197 if (put_user(wdt_status, (int __user *)argp)) in mv64x60_wdt_ioctl() 199 wdt_status &= ~WDIOF_KEEPALIVEPING; in mv64x60_wdt_ioctl() 218 wdt_status |= WDIOF_KEEPALIVEPING; in mv64x60_wdt_ioctl()
|