Home
last modified time | relevance | path

Searched full:watchdog (Results 1 – 25 of 782) sorted by relevance

12345678910>>...32

/linux-3.3/drivers/watchdog/
DKconfig2 # Watchdog device configuration
5 menuconfig WATCHDOG config
6 bool "Watchdog Timer Support"
9 character special file /dev/watchdog with major number 10 and minor
10 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
14 on-line as fast as possible after a lock-up. There's both a watchdog
16 reboot the machine) and a driver for hardware watchdog boards, which
19 <file:Documentation/watchdog/watchdog-api.txt> in the kernel source.
21 The watchdog is usually used together with the watchdog daemon
23 <ftp://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon can
[all …]
Df71808e_wdt.c33 #include <linux/watchdog.h>
37 #define SIO_F71808FG_LD_WDT 0x07 /* Watchdog timer logical device */
75 watchdog signal */
76 #define WATCHDOG_F71862FG_PIN 63 /* default watchdog reset output
87 "Watchdog timeout in seconds. 1<= timeout <="
94 "Watchdog signal pulse width. 0(=level), 1 ms, 25 ms, 125 ms or 5000 ms"
100 "Watchdog f71862fg reset output pin configuration. Choose pin 56 or 63"
105 MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close");
109 MODULE_PARM_DESC(start_withtimeout, "Start watchdog timer on module load with"
146 char caused_reboot; /* last reboot was by the watchdog */
[all …]
Dwatchdog_dev.c11 * by all the watchdog timer drivers.
14 * misc device: /dev/watchdog.
40 #include <linux/watchdog.h> /* For watchdog specific items */
45 /* make sure we only register one /dev/watchdog device */
47 /* the watchdog device behind /dev/watchdog */
51 * watchdog_ping: ping the watchdog.
52 * @wddev: the watchdog device to ping
54 * If the watchdog has no own ping operation then it needs to be
57 * We only ping when the watchdog device is running.
64 return wddev->ops->ping(wddev); /* ping the watchdog */ in watchdog_ping()
[all …]
Dintel_scu_watchdog.c2 * Intel_SCU 0.2: An Intel SCU IOH Based Watchdog Device
31 #include <linux/watchdog.h>
62 "Watchdog timer margin"
70 "Default Watchdog timer setting"
75 /* After watchdog device is closed, check force_boot. If:
76 * force_boot == 0, then force boot on next watchdog interrupt after close,
83 "the system immediately if the /dev/watchdog device is closed"
84 "A value of 0 means that when /dev/watchdog device is closed"
85 "the watchdog timer will be refreshed for one more interval"
87 "watchdog timer will reset the system."
[all …]
Dwdrtas.c7 * RTAS watchdog driver
10 * device driver to exploit watchdog RTAS functions
37 #include <linux/watchdog.h>
47 MODULE_DESCRIPTION("RTAS watchdog driver");
72 /*** watchdog access functions */
75 * wdrtas_set_interval - sets the watchdog interval
80 * wdrtas_set_interval sets the watchdog keepalive interval by calling the
96 printk(KERN_ERR "wdrtas: setting the watchdog to %i " in wdrtas_set_interval()
107 * wdrtas_get_interval - returns the current watchdog interval
112 * wdrtas_get_interval returns the current watchdog keepalive interval
[all …]
DiTCO_vendor_support.c2 * intel TCO vendor specific watchdog driver support
68 * To enable Watchdog function:
70 * This setting enables SMI to clear the watchdog expired flag.
72 * reboot. When application starts to use watchdog function,
75 * For P3TSSE, J36 jumper needs to be removed to enable the Watchdog
79 * So, if the watchdog timer is 20 seconds, then the maximum hang
90 val32 &= 0xffffdfff; /* Turn off SMI clearing watchdog */ in supermicro_old_pre_start()
91 outl(val32, SMI_EN); /* Needed to activate watchdog */ in supermicro_old_pre_start()
100 val32 |= 0x00002000; /* Turn on SMI clearing watchdog */ in supermicro_old_pre_stop()
101 outl(val32, SMI_EN); /* Needed to deactivate watchdog */ in supermicro_old_pre_stop()
[all …]
Dw83977f_wdt.c2 * W83977F Watchdog Timer Driver for Winbond W83977F I/O Chip
26 #include <linux/watchdog.h>
49 static int timeoutW; /* timeout in watchdog counter units */
57 "Watchdog timeout in seconds (15..7635), default="
60 MODULE_PARM_DESC(testmode, "Watchdog testmode (1 = no reboot), default=0");
65 "Watchdog cannot be stopped once started (default="
69 * Start the watchdog
83 * Select device Aux2 (device=8) to set watchdog regs F2, F3 and F4. in wdt_start()
84 * F2 has the timeout in watchdog counter units. in wdt_start()
85 * F3 is set to enable watchdog LED blink at timeout. in wdt_start()
[all …]
Dcoh901327_wdt.c6 * Watchdog driver for the ST-Ericsson AB COH 901 327 IP core
13 #include <linux/watchdog.h>
82 * The watchdog block is of course always clocked, the
114 /* Enable the watchdog interrupt */ in coh901327_enable()
116 /* Activate the watchdog timer */ in coh901327_enable()
118 /* Start the watchdog timer */ in coh901327_enable()
121 * Extra read so that this change propagate in the watchdog. in coh901327_enable()
128 "%s(): watchdog not enabled! D2R value %04x\n", in coh901327_enable()
137 /* Disable the watchdog interrupt if it is active */ in coh901327_disable()
139 /* If the watchdog is currently enabled, attempt to disable it */ in coh901327_disable()
[all …]
Dsmsc37b787_wdt.c2 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x
25 * A Watchdog Timer (WDT) is a hardware circuit that can
30 * via the /dev/watchdog special device file that userspace is
32 * occurs, the driver will usually tell the hardware watchdog
33 * that everything is in order, and that the watchdog should wait
36 * notifications cease to occur, and the hardware watchdog will
40 * mknod /dev/watchdog c 10 130
43 * Documentation/watchdog/wdt.txt
50 #include <linux/watchdog.h>
86 static DEFINE_SPINLOCK(io_lock);/* to guard the watchdog from io races */
[all …]
Dalim1535_wdt.c2 * Watchdog for the 7101 PMU version found in the ALi M1535 chipsets
14 #include <linux/watchdog.h>
39 "Watchdog timeout in seconds. (0 < timeout < 18000, default="
45 "Watchdog cannot be stopped once started (default="
49 * ali_start - start watchdog countdown
72 * Stop the ALi watchdog countdown
90 * ali_keepalive - send a keepalive to the watchdog
125 * /dev/watchdog handling
129 * ali_write - writes to ALi watchdog
135 * Handle a write to the ALi watchdog. Writing to the file pings
[all …]
Dat91rm9200_wdt.c2 * Watchdog driver for Atmel AT91RM9200 (Thunder)
23 #include <linux/watchdog.h>
34 MODULE_PARM_DESC(wdt_time, "Watchdog time in seconds. (default="
40 "Watchdog cannot be stopped once started (default="
50 * Disable the watchdog.
58 * Enable and reset the watchdog.
68 * Reload the watchdog timer. (ie, pat the watchdog)
78 * Watchdog device is opened, and watchdog starts running.
90 * Close the watchdog device.
91 * If CONFIG_WATCHDOG_NOWAYOUT is NOT defined then the watchdog is also
[all …]
Dbooke_wdt.c2 * Watchdog timer for PowerPC Book-E systems
20 #include <linux/watchdog.h>
28 /* If the kernel parameter wdt=1, the watchdog will be enabled at boot.
29 * Also, the wdt_period sets the watchdog timer period timeout.
31 * trigger a watchog timeout. This watchdog timeout will occur 3 times, the
32 * first time nothing will happen, the second time a watchdog exception will
50 * corresponding to the reset time. There will be a watchdog
118 /* clear status before enabling watchdog */ in __booke_wdt_enable()
128 * booke_wdt_disable - disable the watchdog on the given CPU
130 * This function is called on each CPU. It disables the watchdog on that CPU.
[all …]
Dwatchdog_core.c10 * by all the watchdog timer drivers.
35 #include <linux/watchdog.h> /* For watchdog specific items */
41 * watchdog_register_device() - register a watchdog device
42 * @wdd: watchdog device
44 * Register a watchdog device with the kernel so that the
45 * watchdog timer can be accessed from userspace.
77 /* We only support 1 watchdog device via the /dev/watchdog interface */ in watchdog_register_device()
80 pr_err("error registering /dev/watchdog (err=%d).\n", ret); in watchdog_register_device()
89 * watchdog_unregister_device() - unregister a watchdog device
90 * @wdd: watchdog device to unregister
[all …]
Dbfin_wdt.c2 * Blackfin On-Chip Watchdog Driver
20 #include <linux/watchdog.h>
64 * bfin_wdt_keepalive - Keep the Userspace Watchdog Alive
66 * The Userspace watchdog got a KeepAlive: schedule the next timeout.
76 * bfin_wdt_stop - Stop the Watchdog
78 * Stops the on-chip watchdog.
88 * bfin_wdt_start - Start the Watchdog
90 * Starts the on-chip watchdog. Automatically loads WDOG_CNT
101 * bfin_wdt_running - Check Watchdog status
103 * See if the watchdog is running.
[all …]
Driowd.c1 /* riowd.c - driver for hw watchdog inside Super I/O of RIO
13 #include <linux/watchdog.h>
22 * as its' watchdog.
24 * When the watchdog triggers, it asserts a line to the BBC (Boot Bus
30 * 0x05 (WDTO_INDEX) which is the watchdog time-out in minutes (1-255).
31 * If set to zero, this disables the watchdog. When set, the system
32 * must periodically (before watchdog expires) clear (set to zero) and
33 * re-set the watchdog else it will trigger.
35 * There are two other indexed watchdog registers inside this Super I/O
37 * the watchdog control and can be used to make the watchdog timer re-set
[all …]
Dpnx833x_wdt.c2 * PNX833x Hardware Watchdog Driver
8 * A Hardware Watchdog Device for SGI IP22
27 #include <linux/watchdog.h>
35 #define WATCHDOG_COUNT_FREQUENCY 68000000U /* Watchdog counts at 68MHZ. */
54 MODULE_PARM_DESC(timeout, "Watchdog timeout in Mhz. (68Mhz clock), default="
59 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
65 MODULE_PARM_DESC(start_enabled, "Watchdog is started on module insertion "
70 /* Enable watchdog causing reset. */ in pnx833x_wdt_start()
75 /* Enable watchdog. */ in pnx833x_wdt_start()
79 printk(KERN_INFO PFX "Started watchdog timer.\n"); in pnx833x_wdt_start()
[all …]
Dorion_wdt.c2 * drivers/watchdog/orion_wdt.c
4 * Watchdog driver for Orion/Kirkwood processors
20 #include <linux/watchdog.h>
29 * Watchdog timer block registers.
50 /* Reload watchdog duration */ in orion_wdt_ping()
62 /* Set watchdog duration */ in orion_wdt_enable()
65 /* Clear watchdog timer interrupt */ in orion_wdt_enable()
70 /* Enable watchdog timer */ in orion_wdt_enable()
75 /* Enable reset on watchdog */ in orion_wdt_enable()
89 /* Disable reset on watchdog */ in orion_wdt_disable()
[all …]
Dvia_wdt.c2 * VIA Chipset Watchdog Driver
10 * Caveat: PnP must be enabled in BIOS to allow full access to watchdog
11 * control registers. If not, the watchdog must be configured in BIOS manually.
19 #include <linux/watchdog.h>
23 #define VIA_WDT_CONF 0xec /* watchdog enable state */
26 #define VIA_WDT_CONF_ENABLE 0x01 /* 1: enable watchdog */
27 #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */
39 #define VIA_WDT_FIRED 0x02 /* 1: restarted by expired watchdog */
55 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, between 1 and 1023 "
60 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started "
[all …]
/linux-3.3/Documentation/watchdog/
Dwatchdog-kernel-api.txt1 The Linux WatchDog Timer Driver Core kernel API.
9 This document does not describe what a WatchDog Timer (WDT) Driver or Device is.
11 with a WatchDog Timer. If you want to know this then please read the following
12 file: Documentation/watchdog/watchdog-api.txt .
15 WatchDog Timer Drivers that want to use the WatchDog Timer Driver Core
18 a watchdog timer driver then only needs to provide the different routines
19 (operations) that control the watchdog timer (WDT).
23 Each watchdog timer driver that wants to use the WatchDog Timer Driver Core
24 must #include <linux/watchdog.h> (you would have to do this anyway when
25 writing a watchdog device driver). This include file contains following
[all …]
Dwatchdog-parameters.txt2 the Linux watchdog drivers. Watchdog driver parameter specs should
16 nowayout: Watchdog cannot be stopped once started
22 timeout: Watchdog timeout in seconds. 1<= timeout <=63, default=60.
23 nowayout: Watchdog cannot be stopped once started
27 timeout: Watchdog timeout in seconds. (0 < timeout < 18000, default=60
28 nowayout: Watchdog cannot be stopped once started
32 timeout: Watchdog timeout in seconds. (1<=timeout<=3600, default=30
33 use_gpio: Use the gpio watchdog (required by old cobalt boards).
35 nowayout: Watchdog cannot be stopped once started
39 margin: Watchdog margin in seconds (default=60)
[all …]
Dwatchdog-api.txt4 The Linux Watchdog driver API.
15 A Watchdog Timer (WDT) is a hardware circuit that can reset the
19 Usually a userspace daemon will notify the kernel watchdog driver via the
20 /dev/watchdog special device file that userspace is still alive, at
22 usually tell the hardware watchdog that everything is in order, and
23 that the watchdog should wait for yet another little while to reset
25 notifications cease to occur, and the hardware watchdog will reset the
28 The Linux watchdog API is a rather ad-hoc construction and different
35 All drivers support the basic mode of operation, where the watchdog
36 activates as soon as /dev/watchdog is opened and will reboot unless
[all …]
Dhpwdt.txt3 HP iLO2 NMI Watchdog Driver
8 The HP iLO2 NMI Watchdog driver is a kernel module that provides basic
9 watchdog functionality and the added benefit of NMI sourcing. Both the
10 watchdog functionality and the NMI sourcing capability need to be enabled
12 A user can have the NMI sourcing without the watchdog timer and vice-versa.
14 Watchdog functionality is enabled like any other common watchdog driver. That
15 is, an application needs to be started that kicks off the watchdog timer. A
16 basic application exists in the Documentation/watchdog/src directory called
17 watchdog-test.c. Simply compile the C file and kick it off. If the system
24 soft_margin - allows the user to set the watchdog timer value
[all …]
D00-INDEX4 - how-to for converting old watchdog drivers to the new kernel API.
6 - information on the HP iLO2 NMI watchdog
7 pcwd-watchdog.txt
8 - documentation for Berkshire Products PC Watchdog ISA cards.
10 - directory holding watchdog related example programs.
11 watchdog-api.txt
12 - description of the Linux Watchdog driver API.
13 watchdog-kernel-api.txt
14 - description of the Linux WatchDog Timer Driver Core kernel API.
15 watchdog-parameters.txt
[all …]
Dpcwd-watchdog.txt3 Berkshire Products PC Watchdog Card
7 The PC Watchdog is a card that offers the same type of functionality that
13 The Watchdog Driver has one basic role: to talk to the card and send
17 The Watchdog Driver will automatically find your watchdog card, and will
18 attach a running driver for use with that card. After the watchdog
20 Watchdog program.
22 I suggest putting a "watchdog -d" before the beginning of an fsck, and
23 a "watchdog -e -t 1" immediately after the end of an fsck. (Remember
26 If you want to write a program to be compatible with the PC Watchdog
27 driver, simply use of modify the watchdog test program:
[all …]
/linux-3.3/include/linux/
Dwatchdog.h2 * Generic watchdog defines. Derived from..
4 * Berkshire PC Watchdog Defines
50 #define WDIOS_DISABLECARD 0x0001 /* Turn off the watchdog timer */
51 #define WDIOS_ENABLECARD 0x0002 /* Turn on the watchdog timer */
61 /** struct watchdog_ops - The watchdog-devices operations
64 * @start: The routine for starting the watchdog device.
65 * @stop: The routine for stopping the watchdog device.
66 * @ping: The routine that sends a keepalive ping to the watchdog device.
67 * @status: The routine that shows the status of the watchdog device.
68 * @set_timeout:The routine for setting the watchdog devices timeout value.
[all …]

12345678910>>...32