Home
last modified time | relevance | path

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

12345678910>>...78

/OK3568_Linux_fs/kernel/drivers/watchdog/
H A DKconfig4 # Watchdog device configuration
7 menuconfig WATCHDOG config
8 bool "Watchdog Timer Support"
11 character special file /dev/watchdog with major number 10 and minor
12 number 130 using mknod ("man mknod"), you will get a watchdog, i.e.:
16 on-line as fast as possible after a lock-up. There's both a watchdog
18 reboot the machine) and a driver for hardware watchdog boards, which
21 <file:Documentation/watchdog/watchdog-api.rst> in the kernel source.
23 The watchdog is usually used together with the watchdog daemon
25 <ftp://ibiblio.org/pub/Linux/system/daemons/watchdog/>. This daemon can
[all …]
H A Df71808e_wdt.c22 #include <linux/watchdog.h>
26 #define SIO_F71808FG_LD_WDT 0x07 /* Watchdog timer logical device */
76 watchdog signal */
77 #define WATCHDOG_F71862FG_PIN 63 /* default watchdog reset output
88 "Watchdog timeout in seconds. 1<= timeout <="
95 "Watchdog signal pulse width. 0(=level), 1, 25, 30, 125, 150, 5000 or 6000 ms"
101 "Watchdog f71862fg reset output pin configuration. Choose pin 56 or 63"
106 MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close");
110 MODULE_PARM_DESC(start_withtimeout, "Start watchdog timer on module load with"
152 char caused_reboot; /* last reboot was by the watchdog */
[all …]
H A Dwatchdog_dev.c12 * by all the watchdog timer drivers.
15 * misc device: /dev/watchdog.
43 #include <linux/watchdog.h> /* For watchdog specific items */
50 * struct watchdog_core_data - watchdog core internal data
51 * @dev: The watchdog's internal device
52 * @cdev: The watchdog's Character device.
53 * @wdd: Pointer to watchdog device.
54 * @lock: Lock for watchdog core.
55 * @status: Watchdog core internal status bits.
73 /* the dev_t structure to store the dynamically allocated watchdog devices */
[all …]
H A Dwdrtas.c8 * 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", in wdrtas_set_interval()
94 * wdrtas_get_interval - returns the current watchdog interval
99 * wdrtas_get_interval returns the current watchdog keepalive interval
[all …]
H A Dw83977f_wdt.c3 * W83977F Watchdog Timer Driver for Winbond W83977F I/O Chip
23 #include <linux/watchdog.h>
43 static int timeoutW; /* timeout in watchdog counter units */
51 "Watchdog timeout in seconds (15..7635), default="
54 MODULE_PARM_DESC(testmode, "Watchdog testmode (1 = no reboot), default=0");
59 "Watchdog cannot be stopped once started (default="
63 * Start the watchdog
77 * Select device Aux2 (device=8) to set watchdog regs F2, F3 and F4. in wdt_start()
78 * F2 has the timeout in watchdog counter units. in wdt_start()
79 * F3 is set to enable watchdog LED blink at timeout. in wdt_start()
[all …]
H A Dsmsc37b787_wdt.c3 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x
21 * A Watchdog Timer (WDT) is a hardware circuit that can
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 */
[all …]
H A Dcoh901327_wdt.c6 * Watchdog driver for the ST-Ericsson AB COH 901 327 IP core
12 #include <linux/watchdog.h>
105 /* Enable the watchdog interrupt */ in coh901327_enable()
107 /* Activate the watchdog timer */ in coh901327_enable()
109 /* Start the watchdog timer */ in coh901327_enable()
112 * Extra read so that this change propagate in the watchdog. in coh901327_enable()
118 "%s(): watchdog not enabled! D2R value %04x\n", in coh901327_enable()
126 /* Disable the watchdog interrupt if it is active */ in coh901327_disable()
128 /* If the watchdog is currently enabled, attempt to disable it */ in coh901327_disable()
142 "%s(): watchdog not disabled! D2R value %04x\n", in coh901327_disable()
[all …]
H A Dda9063_wdt.c3 * Watchdog driver for DA9063 PMICs.
13 #include <linux/watchdog.h>
23 * Watchdog selector to timeout in seconds.
50 * Zero means the watchdog is disabled.
75 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout()
77 * in one: indicating the counter limit and starting the watchdog. in da9063_wdt_update_timeout()
78 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout()
79 * value if the watchdog is already running. Then we can set the in da9063_wdt_update_timeout()
80 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout()
100 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start()
[all …]
/OK3568_Linux_fs/kernel/Documentation/watchdog/
H A Dwatchdog-kernel-api.rst2 The Linux WatchDog Timer Driver Core kernel API
11 This document does not describe what a WatchDog Timer (WDT) Driver or Device is.
13 with a WatchDog Timer. If you want to know this then please read the following
14 file: Documentation/watchdog/watchdog-api.rst .
17 WatchDog Timer Drivers that want to use the WatchDog Timer Driver Core
20 a watchdog timer driver then only needs to provide the different routines
21 (operations) that control the watchdog timer (WDT).
25 Each watchdog timer driver that wants to use the WatchDog Timer Driver Core
26 must #include <linux/watchdog.h> (you would have to do this anyway when
27 writing a watchdog device driver). This include file contains following
[all …]
H A Dwatchdog-parameters.rst2 WatchDog Module Parameters
6 the Linux watchdog drivers. Watchdog driver parameter specs should
16 watchdog core:
18 Maximum time, in seconds, for which the watchdog framework will take
19 care of pinging a running hardware watchdog until userspace opens the
33 Watchdog cannot be stopped once started
44 Watchdog timeout in seconds. 1<= timeout <=63, default=60.
46 Watchdog cannot be stopped once started
53 Watchdog timeout in seconds. (0 < timeout < 18000, default=60
55 Watchdog cannot be stopped once started
[all …]
H A Dmlx-wdt.rst2 Mellanox watchdog drivers
8 This driver provides watchdog functionality for various Mellanox
11 Mellanox watchdog device is implemented in a programmable logic device.
13 There are 2 types of HW watchdog implementations.
31 Type 1 HW watchdog implementation exist in old systems and
32 all new systems have type 2 HW watchdog.
35 Type 3 HW watchdog implementation can exist on all Mellanox systems
38 Old systems still have only one main watchdog.
41 Main and auxiliary watchdog devices can be enabled together
43 There are several actions that can be defined in the watchdog:
[all …]
H A Dwatchdog-api.rst2 The Linux Watchdog driver API
19 A Watchdog Timer (WDT) is a hardware circuit that can reset the
23 Usually a userspace daemon will notify the kernel watchdog driver via the
24 /dev/watchdog special device file that userspace is still alive, at
26 usually tell the hardware watchdog that everything is in order, and
27 that the watchdog should wait for yet another little while to reset
29 notifications cease to occur, and the hardware watchdog will reset the
32 The Linux watchdog API is a rather ad-hoc construction and different
40 All drivers support the basic mode of operation, where the watchdog
41 activates as soon as /dev/watchdog is opened and will reboot unless
[all …]
H A Dhpwdt.rst2 HPE iLO NMI Watchdog Driver
11 The HPE iLO NMI Watchdog driver is a kernel module that provides basic
12 watchdog functionality and handler for the iLO "Generate NMI to System"
18 Watchdog functionality is enabled like any other common watchdog driver. That
19 is, an application needs to be started that kicks off the watchdog timer. A
20 basic application exists in tools/testing/selftests/watchdog/ named
21 watchdog-test.c. Simply compile the C file and kick it off. If the system
29 soft_margin allows the user to set the watchdog timer value.
32 pretimeout allows the user to set the watchdog pretimeout value.
37 nowayout basic watchdog parameter that does not allow the timer to
[all …]
/OK3568_Linux_fs/kernel/drivers/greybus/
H A Dsvc_watchdog.c3 * SVC Greybus "watchdog" driver.
27 struct gb_svc_watchdog *watchdog = in svc_watchdog_pm_notifier() local
32 gb_svc_watchdog_disable(watchdog->svc); in svc_watchdog_pm_notifier()
35 gb_svc_watchdog_enable(watchdog->svc); in svc_watchdog_pm_notifier()
65 struct gb_svc_watchdog *watchdog; in do_work() local
69 watchdog = container_of(work, struct gb_svc_watchdog, work.work); in do_work()
70 svc = watchdog->svc; in do_work()
98 watchdog->enabled = false; in do_work()
103 if (watchdog->enabled) in do_work()
104 schedule_delayed_work(&watchdog->work, SVC_WATCHDOG_PERIOD); in do_work()
[all …]
/OK3568_Linux_fs/u-boot/drivers/watchdog/
H A DKconfig1 menu "Watchdog Timer Support"
7 bool "Enable BCM2835/2836 watchdog driver"
10 Say Y here to enable the BCM2835/2836 watchdog
12 This provides basic infrastructure to support BCM2835/2836 watchdog
16 bool "TI OMAP watchdog driver"
21 Say Y here to enable the OMAP3+ watchdog driver.
24 bool "Intel Tangier watchdog"
28 This enables support for watchdog controller available on
33 bool "i.MX7ULP watchdog"
35 Say Y here to enable i.MX7ULP watchdog driver.
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dwatchdog.h3 * Generic watchdog defines. Derived from..
5 * Berkshire PC Watchdog Defines
18 #include <uapi/linux/watchdog.h>
25 /** struct watchdog_ops - The watchdog-devices operations
28 * @start: The routine for starting the watchdog device.
29 * @stop: The routine for stopping the watchdog device.
30 * @ping: The routine that sends a keepalive ping to the watchdog device.
31 * @status: The routine that shows the status of the watchdog device.
32 * @set_timeout:The routine for setting the watchdog devices timeout value (in seconds).
33 * @set_pretimeout:The routine for setting the watchdog devices pretimeout.
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/watchdog/watchdog/
H A D0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch4 Subject: [PATCH] watchdog: remove interdependencies of watchdog and
7 Since watchdog and watchdog-keepalive packages can't be installed
8 together, remove the inter-dependencies of watchdog and wd_keepalive
15 debian/watchdog.service | 9 +++------
19 diff --git a/debian/watchdog.service b/debian/watchdog.service
21 --- a/debian/watchdog.service
22 +++ b/debian/watchdog.service
25 Description=watchdog daemon
32 EnvironmentFile=/etc/default/watchdog
34 -ExecStart=/bin/sh -c '[ $run_watchdog != 1 ] || exec /usr/sbin/watchdog $watchdog_options'
[all …]
H A Dwatchdog.init2 #/etc/init.d/watchdog: start watchdog daemon.
5 # Provides: watchdog
6 # Short-Description: Start software watchdog daemon
17 test -x /usr/sbin/watchdog || exit 0
20 # /etc/default/watchdog, do not edit this init script.
22 # Set run_watchdog to 1 to start watchdog or 0 to disable it.
25 # Specify additional watchdog options here (see manpage).
31 [ -e /etc/default/watchdog ] && . /etc/default/watchdog
33 NAME=watchdog
34 DAEMON=/usr/sbin/watchdog
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/hwcnt/
H A Dmali_kbase_hwcnt_watchdog_if.h23 * Virtual interface for hardware counter watchdog.
32 * Opaque structure of information used to create a watchdog timer interface.
37 * typedef kbase_hwcnt_watchdog_callback_fn - Callback function when watchdog timer is done
44 * typedef kbase_hwcnt_watchdog_enable_fn - Enable watchdog timer
46 * @timer: Non-NULL pointer to a watchdog timer interface context
47 * @period_ms: Period in milliseconds of the watchdog timer
48 * @callback: Non-NULL pointer to a watchdog callback function
49 * @user_data: Pointer to the user data, used when watchdog timer callback is called
51 * Return: 0 if the watchdog timer enabled successfully, error code otherwise.
59 * typedef kbase_hwcnt_watchdog_disable_fn - Disable watchdog timer
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-extended/watchdog/
H A Dwatchdog_5.16.bb1 SUMMARY = "Software watchdog"
2 DESCRIPTION = "Watchdog is a daemon that checks if your system is still \
5 HOMEPAGE = "http://watchdog.sourceforge.net/"
11 SRC_URI = "${SOURCEFORGE_MIRROR}/watchdog/watchdog-${PV}.tar.gz \
12 file://0001-watchdog-remove-interdependencies-of-watchdog-and-wd.patch \
13 file://watchdog.init \
26 UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/watchdog/files/watchdog/"
27 UPSTREAM_CHECK_REGEX = "/watchdog/(?P<pver>(\d+[\.\-_]*)+)/"
40 INITSCRIPT_NAME:${PN} = "watchdog"
47 SYSTEMD_SERVICE:${PN} = "watchdog.service"
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/watchdog/
H A Datmel-sama5d4-wdt.txt1 * Atmel SAMA5D4 Watchdog Timer (WDT) Controller
8 - timeout-sec: watchdog timeout value (in seconds).
10 - atmel,watchdog-type: should be "hardware" or "software".
11 "hardware": enable watchdog fault reset. A watchdog fault triggers
12 watchdog reset.
13 "software": enable watchdog fault interrupt. A watchdog fault asserts
14 watchdog interrupt.
15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
18 watchdog not counting when the CPU is in idle state, therefore the
19 watchdog reset time depends on mean CPU usage and will not reset at all
[all …]
H A Datmel-wdt.txt1 * Atmel Watchdog Timers
12 - timeout-sec: contains the watchdog timeout in seconds.
20 - atmel,watchdog-type : Should be "hardware" or "software". Hardware watchdog
21 use the at91 watchdog reset. Software watchdog use the watchdog
26 This is valid only when using "hardware" watchdog.
27 - atmel,disable : Should be present if you want to disable the watchdog.
28 - atmel,idle-halt : Should be present if you want to stop the watchdog when
31 watchdog not counting when the CPU is in idle state, therefore the
32 watchdog reset time depends on mean CPU usage and will not reset at all
35 - atmel,dbg-halt : Should be present if you want to stop the watchdog when
[all …]
H A Dda9062-wdt.txt1 * Dialog Semiconductor DA9062/61 Watchdog Timer
6 "dlg,da9061-watchdog", "dlg,da9062-watchdog"
7 "dlg,da9062-watchdog"
10 - dlg,use-sw-pm: Add this property to disable the watchdog during suspend.
11 Only use this option if you can't use the watchdog automatic suspend
17 watchdog {
18 compatible = "dlg,da9062-watchdog";
22 Example: DA9061 using a fall-back compatible for the DA9062 watchdog driver
25 watchdog {
26 compatible = "dlg,da9061-watchdog", "dlg,da9062-watchdog";
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-class-watchdog1 What: /sys/class/watchdog/watchdogn/bootstatus
5 It is a read only file. It contains status of the watchdog
9 What: /sys/class/watchdog/watchdogn/identity
14 watchdog device.
16 What: /sys/class/watchdog/watchdogn/nowayout
28 What: /sys/class/watchdog/watchdogn/state
33 watchdog device.
35 What: /sys/class/watchdog/watchdogn/status
39 It is a read only file. It contains watchdog device's
43 What: /sys/class/watchdog/watchdogn/timeleft
[all …]
/OK3568_Linux_fs/u-boot/arch/m68k/cpu/mcf52x2/
H A Dcpu.c18 #include <watchdog.h>
65 /* reset watchdog counter */ in watchdog_disable()
68 /* disable watchdog timer */ in watchdog_disable()
71 puts("WATCHDOG:disabled\n"); in watchdog_disable()
79 /* disable watchdog */ in watchdog_init()
82 /* set timeout and enable watchdog */ in watchdog_init()
86 /* reset watchdog counter */ in watchdog_init()
90 puts("WATCHDOG:enabled\n"); in watchdog_init()
179 /* enable watchdog, set timeout to 0 and wait */ in do_reset()
226 /* reset watchdog counter */ in watchdog_disable()
[all …]

12345678910>>...78