| /kernel/linux/linux-5.10/drivers/watchdog/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # 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 [all …]
|
| D | via_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * VIA Chipset Watchdog Driver 8 * Timer code by Wim Van Sebroeck <wim@iguana.be> 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. 21 #include <linux/timer.h> 22 #include <linux/watchdog.h> 26 #define VIA_WDT_CONF 0xec /* watchdog enable state */ 29 #define VIA_WDT_CONF_ENABLE 0x01 /* 1: enable watchdog */ 30 #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */ [all …]
|
| D | intel_scu_watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Intel_SCU 0.2: An Intel SCU IOH Based Watchdog Device 5 * - AF82MP20 PCH 7 * Copyright (C) 2009-2010 Intel Corporation. All rights reserved. 17 #include <linux/watchdog.h> 35 #include <asm/intel-mid.h> 48 "Watchdog timer margin" 56 "Default Watchdog timer setting" 61 /* After watchdog device is closed, check force_boot. If: 62 * force_boot == 0, then force boot on next watchdog interrupt after close, [all …]
|
| D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 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 [all …]
|
| D | pika_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PIKA FPGA based Watchdog Timer 19 #include <linux/watchdog.h> 22 #include <linux/timer.h> 29 #define DRV_NAME "PIKA-WDT" 34 /* Timer heartbeat (500ms) */ 41 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 46 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started " 51 unsigned long next_heartbeat; /* the next_heartbeat for the timer */ 55 struct timer_list timer; /* The timer that pings the watchdog */ member [all …]
|
| D | alim1535_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Watchdog for the 7101 PMU version found in the ALi M1535 chipsets 12 #include <linux/watchdog.h> 36 "Watchdog timeout in seconds. (0 < timeout < 18000, default=" 42 "Watchdog cannot be stopped once started (default=" 46 * ali_start - start watchdog countdown 48 * Starts the timer running providing the timer has a counter 67 * ali_stop - stop the timer countdown 69 * Stop the ALi watchdog countdown 87 * ali_keepalive - send a keepalive to the watchdog [all …]
|
| D | sc520_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AMD Elan SC520 processor Watchdog Timer driver 9 * any of this software. This material is provided "AS-IS" in 13 * 9/27 - 2001 [Initial release] 16 * - Fixed formatting 17 * - Removed debug printks 18 * - Fixed SMP built kernel deadlock 19 * - Switched to private locks not lock_kernel 20 * - Used ioremap/writew/readw 21 * - Added NOWAYOUT support [all …]
|
| D | at91sam9_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for Atmel AT91SAM9x processors. 5 * Copyright (C) 2008 Renaud CERRATO r.cerrato@til-technologies.fr 10 * The Watchdog Timer Mode Register can be only written to once. If the 28 #include <linux/watchdog.h> 30 #include <linux/timer.h> 38 #define DRV_NAME "AT91SAM9 Watchdog" 41 readl_relaxed((wdt)->base + (field)) 43 writel_relaxed((val), (wdt)->base + (field)) 45 /* AT91SAM9 watchdog runs a 12bit counter @ 256Hz, [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 # 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 [all …]
|
| D | via_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * VIA Chipset Watchdog Driver 8 * Timer code by Wim Van Sebroeck <wim@iguana.be> 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. 21 #include <linux/timer.h> 22 #include <linux/watchdog.h> 26 #define VIA_WDT_CONF 0xec /* watchdog enable state */ 29 #define VIA_WDT_CONF_ENABLE 0x01 /* 1: enable watchdog */ 30 #define VIA_WDT_CONF_MMIO 0x02 /* 1: enable watchdog MMIO */ [all …]
|
| D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * SMsC 37B787 Watchdog Timer driver for Linux 2.6.x.x 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 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 [all …]
|
| D | pika_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * PIKA FPGA based Watchdog Timer 19 #include <linux/watchdog.h> 22 #include <linux/timer.h> 29 #define DRV_NAME "PIKA-WDT" 34 /* Timer heartbeat (500ms) */ 41 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. " 46 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started " 51 unsigned long next_heartbeat; /* the next_heartbeat for the timer */ 55 struct timer_list timer; /* The timer that pings the watchdog */ member [all …]
|
| D | alim1535_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Watchdog for the 7101 PMU version found in the ALi M1535 chipsets 12 #include <linux/watchdog.h> 36 "Watchdog timeout in seconds. (0 < timeout < 18000, default=" 42 "Watchdog cannot be stopped once started (default=" 46 * ali_start - start watchdog countdown 48 * Starts the timer running providing the timer has a counter 67 * ali_stop - stop the timer countdown 69 * Stop the ALi watchdog countdown 87 * ali_keepalive - send a keepalive to the watchdog [all …]
|
| D | sc520_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * AMD Elan SC520 processor Watchdog Timer driver 9 * any of this software. This material is provided "AS-IS" in 13 * 9/27 - 2001 [Initial release] 16 * - Fixed formatting 17 * - Removed debug printks 18 * - Fixed SMP built kernel deadlock 19 * - Switched to private locks not lock_kernel 20 * - Used ioremap/writew/readw 21 * - Added NOWAYOUT support [all …]
|
| D | sa1100_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for the SA11x0/PXA2xx 10 * "AS-IS" and at no charge. 27 #include <linux/watchdog.h> 34 #define REG_OSMR0 0x0000 /* OS timer Match Reg. 0 */ 35 #define REG_OSMR1 0x0004 /* OS timer Match Reg. 1 */ 36 #define REG_OSMR2 0x0008 /* OS timer Match Reg. 2 */ 37 #define REG_OSMR3 0x000c /* OS timer Match Reg. 3 */ 38 #define REG_OSCR 0x0010 /* OS timer Counter Reg. */ 39 #define REG_OSSR 0x0014 /* OS timer Status Reg. */ [all …]
|
| D | at91sam9_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Watchdog driver for Atmel AT91SAM9x processors. 5 * Copyright (C) 2008 Renaud CERRATO r.cerrato@til-technologies.fr 10 * The Watchdog Timer Mode Register can be only written to once. If the 28 #include <linux/watchdog.h> 30 #include <linux/timer.h> 38 #define DRV_NAME "AT91SAM9 Watchdog" 41 readl_relaxed((wdt)->base + (field)) 43 writel_relaxed((val), (wdt)->base + (field)) 45 /* AT91SAM9 watchdog runs a 12bit counter @ 256Hz, [all …]
|
| /kernel/linux/linux-6.6/Documentation/watchdog/ |
| D | watchdog-kernel-api.rst | 2 The Linux WatchDog Timer Driver Core kernel API 5 Last reviewed: 12-Feb-2013 10 ------------ 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). 24 ------- [all …]
|
| D | hpwdt.rst | 2 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 22 gets into a bad state and hangs, the HPE ProLiant iLO timer register will 29 soft_margin allows the user to set the watchdog timer value. 32 pretimeout allows the user to set the watchdog pretimeout value. [all …]
|
| /kernel/linux/linux-5.10/Documentation/watchdog/ |
| D | watchdog-kernel-api.rst | 2 The Linux WatchDog Timer Driver Core kernel API 5 Last reviewed: 12-Feb-2013 10 ------------ 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). 24 ------- [all …]
|
| D | hpwdt.rst | 2 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 22 gets into a bad state and hangs, the HPE ProLiant iLO timer register will 29 soft_margin allows the user to set the watchdog timer value. 32 pretimeout allows the user to set the watchdog pretimeout value. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/timer/ |
| D | arm,twd.txt | 1 * ARM Timer Watchdog 3 ARM 11MP, Cortex-A5 and Cortex-A9 are often associated with a per-core 4 Timer-Watchdog (aka TWD), which provides both a per-cpu local timer 5 and watchdog. 7 The TWD is usually attached to a GIC to deliver its two per-processor 10 ** Timer node required properties: 12 - compatible : Should be one of: 13 "arm,cortex-a9-twd-timer" 14 "arm,cortex-a5-twd-timer" 15 "arm,arm11mp-twd-timer" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/ |
| D | snps,dw-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys Designware Watchdog Timer 10 - $ref: "watchdog.yaml#" 13 - Jamie Iles <jamie@jamieiles.com> 17 const: snps,dw-wdt 23 description: DW Watchdog pre-timeout interrupt 29 - description: Watchdog timer reference clock [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/ |
| D | snps,dw-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Synopsys Designware Watchdog Timer 10 - $ref: watchdog.yaml# 13 - Jamie Iles <jamie@jamieiles.com> 18 - const: snps,dw-wdt 19 - items: 20 - enum: [all …]
|
| D | qcom-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/qcom-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm Krait Processor Sub-system (KPSS) Watchdog timer 10 - Sai Prakash Ranjan <saiprakash.ranjan@codeaurora.org> 14 pattern: "^(watchdog|timer)@[0-9a-f]+$" 18 - items: 19 - enum: 20 - qcom,kpss-wdt-ipq4019 [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | brcm,twd.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom's Timer-Watchdog (aka TWD) 10 - Rafał Miłecki <rafal@milecki.pl> 13 Broadcom has a Timer-Watchdog block used in multiple SoCs (e.g., BCM4908, 15 registers layout). This block consists of: timers, watchdog and optionally a 21 - enum: 22 - brcm,bcm4908-twd 23 - brcm,bcm7038-twd [all …]
|