| /kernel/linux/linux-6.6/Documentation/ABI/stable/ |
| D | sysfs-driver-firmware-zynqmp | 1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs* 11 The register is reset during system or power-on 17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs* 38 This register is only reset by the power-on reset 46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 [all …]
|
| /kernel/linux/linux-6.6/drivers/watchdog/ |
| 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 | starfive-wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Starfive Watchdog driver 15 #include <linux/watchdog.h> 17 /* JH7100 Watchdog register define */ 31 /* JH7110 Watchdog register define */ 35 * [0]: reset enable; 36 * [1]: interrupt enable && watchdog enable 56 #define STARFIVE_WDT_JH7100_INTCLR_AVA_SHIFT 1 /* Watchdog can clear interrupt when 0 */ 74 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (default=" 77 "Watchdog is started at boot time if set to 1, default=" [all …]
|
| D | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 12 * This material is provided "AS-IS" and at no charge. 22 #include <linux/watchdog.h> 42 #define DPFX MODNAME " - DEBUG: " 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 49 #define WDTO 0x11 /* Watchdog timeout register */ 50 #define WDCFG 0x12 /* Watchdog config register */ 55 static int swc_base_addr = -1; 66 /* -- Low level function ----------------------------------------*/ [all …]
|
| D | at91sam9_wdt.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * drivers/watchdog/at91sam9_wdt.h 9 * Watchdog Timer (WDT) - System peripherals regsters. 20 #define AT91_WDT_CR 0x00 /* Watchdog Control Register */ 24 #define AT91_WDT_MR 0x04 /* Watchdog Mode Register */ 29 #define AT91_WDT_WDFIEN BIT(12) /* Fault Interrupt Enable */ 30 #define AT91_SAM9X60_WDDIS BIT(12) /* Watchdog Disable */ 33 #define AT91_WDT_WDDIS BIT(15) /* Watchdog Disable */ 39 #define AT91_WDT_SR 0x08 /* Watchdog Status Register */ 40 #define AT91_WDT_WDUNF BIT(0) /* Watchdog Underflow */ [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> 40 #define REG_OWER 0x0018 /* OS timer Watch-dog Enable Reg. */ 41 #define REG_OIER 0x001C /* OS timer Interrupt Enable Reg. */ 48 #define OWER_WME (1 << 0) /* Watchdog Match Enable */ 50 #define OIER_E3 (1 << 3) /* Interrupt enable channel 3 */ 51 #define OIER_E2 (1 << 2) /* Interrupt enable channel 2 */ 52 #define OIER_E1 (1 << 1) /* Interrupt enable channel 1 */ [all …]
|
| 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 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. 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 */ 33 * The MMIO region contains the watchdog control register and the 42 #define VIA_WDT_FIRED 0x02 /* 1: restarted by expired watchdog */ [all …]
|
| D | cadence_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Cadence WDT driver - Used by Xilinx Zynq 5 * Copyright (C) 2010 - 2014 Xilinx, Inc. 18 #include <linux/watchdog.h> 21 /* Supports 1 - 516 sec */ 54 "Watchdog time in seconds. (default=" 59 "Watchdog cannot be stopped once started (default=" 63 * struct cdns_wdt - Watchdog device structure 70 * @cdns_wdt_device: watchdog device structure 72 * Structure containing parameters specific to cadence watchdog. [all …]
|
| D | imx2_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog driver for IMX2 and later processors 11 * NOTE: MX1 has a slightly different Watchdog than MX2 and later: 14 * ---- ----- 15 * Registers: 32-bit 16-bit 17 * Need to enable clk: No Yes 32 #include <linux/watchdog.h> 34 #define DRIVER_NAME "imx2-wdt" 37 #define IMX2_WDT_WCR_WT (0xFF << 8) /* -> Watchdog Timeout Field */ 38 #define IMX2_WDT_WCR_WDW BIT(7) /* -> Watchdog disable for WAIT */ [all …]
|
| /kernel/linux/linux-5.10/drivers/watchdog/ |
| 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 | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 12 * This material is provided "AS-IS" and at no charge. 22 #include <linux/watchdog.h> 42 #define DPFX MODNAME " - DEBUG: " 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 49 #define WDTO 0x11 /* Watchdog timeout register */ 50 #define WDCFG 0x12 /* Watchdog config register */ 55 static int swc_base_addr = -1; 66 /* -- Low level function ----------------------------------------*/ [all …]
|
| D | at91sam9_wdt.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * drivers/watchdog/at91sam9_wdt.h 9 * Watchdog Timer (WDT) - System peripherals regsters. 20 #define AT91_WDT_CR 0x00 /* Watchdog Control Register */ 24 #define AT91_WDT_MR 0x04 /* Watchdog Mode Register */ 29 #define AT91_WDT_WDFIEN BIT(12) /* Fault Interrupt Enable */ 30 #define AT91_SAM9X60_WDDIS BIT(12) /* Watchdog Disable */ 33 #define AT91_WDT_WDDIS BIT(15) /* Watchdog Disable */ 39 #define AT91_WDT_SR 0x08 /* Watchdog Status Register */ 40 #define AT91_WDT_WDUNF BIT(0) /* Watchdog Underflow */ [all …]
|
| 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 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. 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 */ 33 * The MMIO region contains the watchdog control register and the 42 #define VIA_WDT_FIRED 0x02 /* 1: restarted by expired watchdog */ [all …]
|
| D | cadence_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Cadence WDT driver - Used by Xilinx Zynq 5 * Copyright (C) 2010 - 2014 Xilinx, Inc. 18 #include <linux/watchdog.h> 21 /* Supports 1 - 516 sec */ 54 "Watchdog time in seconds. (default=" 59 "Watchdog cannot be stopped once started (default=" 63 * struct cdns_wdt - Watchdog device structure 70 * @cdns_wdt_device: watchdog device structure 72 * Structure containing parameters specific to cadence watchdog. [all …]
|
| D | imx2_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog driver for IMX2 and later processors 11 * NOTE: MX1 has a slightly different Watchdog than MX2 and later: 14 * ---- ----- 15 * Registers: 32-bit 16-bit 17 * Need to enable clk: No Yes 32 #include <linux/watchdog.h> 34 #define DRIVER_NAME "imx2-wdt" 37 #define IMX2_WDT_WCR_WT (0xFF << 8) /* -> Watchdog Timeout Field */ 38 #define IMX2_WDT_WCR_WDA BIT(5) /* -> External Reset WDOG_B */ [all …]
|
| D | coh901327_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2009 ST-Ericsson AB 6 * Watchdog driver for the ST-Ericsson AB COH 901 327 IP core 12 #include <linux/watchdog.h> 28 /* WDOG_FEED Register 32bit (-/W) */ 34 /* WDOG_DISABLE1 Register 32bit (-/W) */ 47 /* WDOG_COUNT Register 32bit (R/-) */ 56 /* WDOG_RESTART Register 32bit (-/W) */ 105 /* Enable the watchdog interrupt */ in coh901327_enable() 107 /* Activate the watchdog timer */ in coh901327_enable() [all …]
|
| D | bd70528_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // ROHM BD70528MWV watchdog driver 7 #include <linux/mfd/rohm-bd70528.h> 12 #include <linux/watchdog.h> 18 #define WDT_MAX_MS ((2 * 60 * 60 - 1) * 1000) 33 * bd70528_wdt_set - arm or disarm watchdog timer 36 * @enable: new state of WDT. zero to disable, non zero to enable 43 int bd70528_wdt_set(struct rohm_regmap_dev *data, int enable, int *old_state) in bd70528_wdt_set() argument 52 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set() 63 if ((!enable) == (!(*old_state & BD70528_WDT_STATE_BIT))) in bd70528_wdt_set() [all …]
|
| D | f71808e_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2007-2009 Hans de Goede <hdegoede@redhat.com> * 22 #include <linux/watchdog.h> 26 #define SIO_F71808FG_LD_WDT 0x07 /* Watchdog timer logical device */ 27 #define SIO_UNLOCK_KEY 0x87 /* Key to enable Super-I/O */ 28 #define SIO_LOCK_KEY 0xAA /* Key to disable Super-I/O */ 36 #define SIO_F81866_REG_PORT_SEL 0x27 /* F81866 Multi-Function Register */ 41 #define SIO_F81866_REG_GPIO1 0x2c /* F81866 GPIO1 Enable Register */ 42 #define SIO_REG_ENABLE 0x30 /* Logical device enable */ 76 watchdog signal */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 powering the R-Car series processors. 16 monitoring. A watchdog logic with slow ping/windowed modes is also included. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/ |
| D | atmel-sama5d4-wdt.txt | 1 * Atmel SAMA5D4 Watchdog Timer (WDT) Controller 4 - compatible: "atmel,sama5d4-wdt" or "microchip,sam9x60-wdt" 5 - reg: base physical address and length of memory mapped region. 8 - timeout-sec: watchdog timeout value (in seconds). 9 - interrupts: interrupt number to the CPU. 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. [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/ |
| D | atmel,sama5d4-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Atmel SAMA5D4 Watchdog Timer (WDT) Controller 10 - Eugen Hristev <eugen.hristev@microchip.com> 13 - $ref: watchdog.yaml# 18 - atmel,sama5d4-wdt 19 - microchip,sam9x60-wdt 20 - microchip,sama7g5-wdt [all …]
|
| D | xlnx,xps-timebase-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx AXI/PLB softcore and window Watchdog Timer 10 - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> 11 - Srinivas Neeli <srinivas.neeli@amd.com> 14 The Timebase watchdog timer(WDT) is a free-running 32 bit counter. 15 WDT uses a dual-expiration architecture. After one expiration of 22 - $ref: watchdog.yaml# [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/watchdog/ |
| D | watchdog-test.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog Driver Test Program 16 #include <linux/watchdog.h> 26 {"enable", no_argument, NULL, 'e'}, 41 * the PC Watchdog card to reset its internal timer so it doesn't trigger 55 * The main program. Run the program with "-d" to disable the card, 56 * or "-e" to enable the card. 65 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term() 67 printf("\nStopping watchdog ticks...\n"); in term() 74 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage() [all …]
|