/linux-master/drivers/watchdog/ |
H A D | mena21_wdt.c | 14 #include <linux/watchdog.h> 196 dev_info(dev, "MEN A21 watchdog timer driver enabled\n"); 218 .name = "a21-watchdog", 228 MODULE_ALIAS("platform:a21-watchdog");
|
H A D | i6300esb.c | 21 * Change driver to use the watchdog subsystem 35 #include <linux/watchdog.h> 259 * The watchdog has two timers, it can be setup so that the 272 /* Set the timer to watchdog mode and disable it for now */ 275 /* Check if the watchdog was previously triggered */ 299 /* Check whether or not the hardware watchdog is there */ 304 /* Initialize the watchdog and make sure it does not run */ 316 /* Register the watchdog so that userspace has access to it */
|
H A D | mixcomwd.c | 14 * - added kernel timer watchdog ping after close 15 * since the hardware does not support watchdog shutdown 47 #include <linux/watchdog.h> 201 .identity = "MixCOM watchdog", 237 .name = "watchdog", 245 if (!request_region(port, 1, "MixCOM watchdog")) 283 pr_info("MixCOM watchdog driver v%s, watchdog port at 0x%3x\n",
|
H A D | smsc37b787_wdt.c | 26 * via the /dev/watchdog special device file that userspace is 28 * occurs, the driver will usually tell the hardware watchdog 29 * that everything is in order, and that the watchdog should wait 32 * notifications cease to occur, and the hardware watchdog will 36 * mknod /dev/watchdog c 10 130 39 * Documentation/watchdog/wdt.rst 48 #include <linux/watchdog.h> 82 static DEFINE_SPINLOCK(io_lock);/* to guard the watchdog from io races */ 211 /* initialize watchdog */ 221 /* enable the watchdog */ [all...] |
H A D | sb_wdog.c | 30 * This watchdog borrows some user semantics from the softdog driver, 31 * in that if you close the fd, it leaves the watchdog running, unless 33 * the watchdog when you close the fd like some other drivers. 35 * Based on various other watchdog drivers, which are probably all 55 #include <linux/watchdog.h> 131 pr_crit("%s: Unexpected close, not stopping watchdog!\n", 247 .name = "watchdog", 259 * code can use it to re-up the watchdog, thereby saving the kernel from 273 * if it's the second watchdog timer, it's for those users 349 * first watchdog time [all...] |
H A D | sbc7240_wdt.c | 22 #include <linux/watchdog.h> 42 MODULE_PARM_DESC(nowayout, "Disable watchdog when closing device file"); 55 /* disable the watchdog */ 64 /* enable the watchdog */ 92 * /dev/watchdog handling 139 pr_crit("Unexpected close, not stopping watchdog!\n"); 218 .name = "watchdog", 240 pr_info("Removing watchdog\n"); 258 /* The IO port 0x043 used to disable the watchdog
|
H A D | alim7101_wdt.c | 12 * drivers in that the driver will ping the watchdog by itself, 30 #include <linux/watchdog.h> 51 * If we reset the watchdog every ~250ms we should be safe. */ 58 * char to /dev/watchdog every 30 seconds. 72 "Use the gpio watchdog (required by old cobalt boards)."); 114 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); 181 * /dev/watchdog handling 302 .name = "watchdog", 311 * than getting the watchdog to pull reset, so we restart the 312 * watchdog o [all...] |
H A D | alim1535_wdt.c | 12 #include <linux/watchdog.h> 46 * ali_start - start watchdog countdown 69 * Stop the ALi watchdog countdown 87 * ali_keepalive - send a keepalive to the watchdog 122 * /dev/watchdog handling 126 * ali_write - writes to ALi watchdog 132 * Handle a write to the ALi watchdog. Writing to the file pings 133 * the watchdog and resets it. Writing the magic 'V' sequence allows 134 * the next close to turn off the watchdog. 167 * ali_ioctl - handle watchdog ioctl [all...] |
H A D | sc1200wdt.c | 34 #include <linux/watchdog.h> 157 /* If the bit is inactive, the watchdog is enabled, so return 317 .name = "watchdog", 342 /* National Semiconductor PC87307/PC97307 watchdog component */ 474 "Driver for National Semiconductor PC87307/PC97307 watchdog component");
|
H A D | wdrtas.c | 8 * RTAS watchdog driver 11 * device driver to exploit watchdog RTAS functions 26 #include <linux/watchdog.h> 36 MODULE_DESCRIPTION("RTAS watchdog driver"); 59 /*** watchdog access functions */ 62 * wdrtas_set_interval - sets the watchdog interval 67 * wdrtas_set_interval sets the watchdog keepalive interval by calling the 83 pr_err("setting the watchdog to %i timeout failed: %li\n", 94 * wdrtas_get_interval - returns the current watchdog interval 99 * wdrtas_get_interval returns the current watchdog keepaliv [all...] |
H A D | it8712f_wdt.c | 9 * drivers/char/watchdog/scx200_wdt.c 25 #include <linux/watchdog.h> 47 MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close"); 86 MODULE_PARM_DESC(wdt_control_reg, "Value to write to watchdog control " 184 pr_debug("enabling watchdog timer\n"); 204 pr_debug("disabling watchdog timer\n"); 331 pr_warn("watchdog device closed unexpectedly, will not disable the watchdog timer\n"); 354 .name = "watchdog", 409 pr_warn("watchdog [all...] |
H A D | cpu5wdt.c | 3 * sma cpu5 watchdog driver 22 #include <linux/watchdog.h> 67 /* keep watchdog alive */ 198 .name = "watchdog", 223 /* watchdog reboot? */ 275 MODULE_DESCRIPTION("sma cpu5 watchdog driver"); 279 MODULE_PARM_DESC(port, "base address of watchdog card, default is 0x91");
|
H A D | machzwd.c | 33 #include <linux/watchdog.h> 101 .identity = "ZF-Logic watchdog", 106 * action refers to action taken when watchdog resets 115 MODULE_PARM_DESC(action, "after watchdog resets, generate: " 131 /* timeout for hardware watchdog (~500ms) */ 195 /* stop watchdog timer */ 226 /* start watchdog timer */ 272 * no way to disable watchdog ;) 372 .name = "watchdog",
|
H A D | jz4740_wdt.c | 13 #include <linux/watchdog.h> 89 /* Start watchdog if it wasn't started already */ 130 { .compatible = "ingenic,jz4740-watchdog", }, 131 { .compatible = "ingenic,jz4780-watchdog", },
|
H A D | keembay_wdt.c | 3 * Watchdog driver for Intel Keem Bay non-secure watchdog. 18 #include <linux/watchdog.h> 20 /* Non-secure watchdog register offsets */ 245 return dev_err_probe(dev, ret, "Failed to register watchdog device.\n"); 294 MODULE_DESCRIPTION("Intel Keem Bay SoC watchdog driver");
|
H A D | sc520_wdt.c | 43 * drivers in that the driver will ping the watchdog by itself, 58 #include <linux/watchdog.h> 75 * We will program the SC520 watchdog for a timeout of 2.01s. 76 * If we reset the watchdog every ~250ms we should be safe. 84 * char to /dev/watchdog every 30 seconds. 148 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); 179 /* Start the watchdog */ 191 /* Stop the watchdog */ 215 * /dev/watchdog handling 265 pr_crit("Unexpected close, not stopping watchdog!\ [all...] |
H A D | w83877f_wdt.c | 35 * drivers in that the driver will ping the watchdog by itself, 49 #include <linux/watchdog.h> 70 * EMACS PC-104 board I'm using). If we reset the watchdog every 78 * char to /dev/watchdog every 30 seconds. 125 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); 144 /* enable watchdog */ 183 * /dev/watchdog handling 312 .name = "watchdog", 404 MODULE_DESCRIPTION("Driver for watchdog timer in w83877f chip");
|
H A D | sbc60xxwdt.c | 14 * 25/4 - 2000 Added /dev/watchdog support 39 * *) The driver will ping the watchdog by itself, because this 53 #include <linux/watchdog.h> 79 * The 60xx board can use watchdog timeout values from one second 81 * the watchdog every ~250ms we should be safe. 89 * char to /dev/watchdog every 30 seconds. 130 pr_warn("Heartbeat lost! Will not ping the watchdog\n"); 161 * /dev/watchdog handling 288 .name = "watchdog",
|
H A D | sl28cpld_wdt.c | 3 * sl28cpld watchdog driver 14 #include <linux/watchdog.h> 38 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 108 .identity = "sl28cpld watchdog", 186 /* if the watchdog is locked, we set nowayout */ 192 * If watchdog is already running, keep it enabled, but make 202 dev_err(&pdev->dev, "failed to register watchdog device\n");
|
H A D | max77620_wdt.c | 22 #include <linux/watchdog.h> 28 * @wdt_info: watchdog descriptor 32 * @wdtc_mask: WDTC bit mask in CNFG_GLBL3 (=bits to update to ping the watchdog) 128 * watchdog timer first [...], then change the value of TWD." 147 .identity = "max77620-watchdog", 240 { "max77620-watchdog", (kernel_ulong_t)&max77620_wdt_data }, 241 { "max77714-watchdog", (kernel_ulong_t)&max77714_wdt_data }, 248 .name = "max77620-watchdog", 256 MODULE_DESCRIPTION("Max77620 watchdog timer driver");
|
H A D | tegra_wdt.c | 12 #include <linux/watchdog.h> 14 /* minimum and maximum watchdog trigger timeout, in seconds */ 22 * This driver only configures the first watchdog (WDT ID 0). 28 * Register base of the timer that's selected for pairing with the watchdog. 85 * period to 1 second by writing 1000000ul, but the watchdog system 196 * Allocate our watchdog driver data, which has the
|
H A D | eurotechwdt.c | 40 * The eurotech CPU-1220/1410/1420's watchdog is a part 51 #include <linux/watchdog.h> 178 * Reload counter one with the watchdog timeout. 183 /* Write the watchdog default value */ 189 * @file: file handle to the watchdog 194 * A write to a watchdog device is defined as a keepalive signal. Any 225 * @cmd: watchdog command 228 * The watchdog API defines a common set of functions for all watchdogs 304 * The misc device has been opened. The watchdog device is single 323 * The watchdog ha [all...] |
H A D | npcm_wdt.c | 14 #include <linux/watchdog.h> 232 ret = devm_request_irq(dev, irq, npcm_wdt_interrupt, 0, "watchdog", 241 dev_info(dev, "NPCM watchdog driver enabled\n");
|
H A D | bd9576_wdt.c | 15 #include <linux/watchdog.h> 225 "rohm,watchdog-enable", 227 "watchdog-enable"); 230 "getting watchdog-enable GPIO failed\n"); 233 "rohm,watchdog-ping", 235 "watchdog-ping"); 238 "getting watchdog-ping GPIO failed\n");
|
H A D | ni903x_wdt.c | 11 #include <linux/watchdog.h>
|