| /linux/drivers/greybus/ |
| H A D | svc_watchdog.c | 3 * 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 …]
|
| /linux/Documentation/devicetree/bindings/watchdog/ |
| H A D | dlg,da9062-watchdog.yaml | 4 $id: http://devicetree.org/schemas/watchdog/dlg,da9062-watchdog.yaml# 7 title: Dialog Semiconductor DA906{1,2,3} Watchdog Timer 13 - $ref: watchdog.yaml# 19 - dlg,da9062-watchdog 20 - dlg,da9063-watchdog 22 - const: dlg,da9061-watchdog 23 - const: dlg,da9062-watchdog 28 Add this property to disable the watchdog during suspend. 29 Only use this option if you can't use the watchdog automatic suspend 36 Set what happens on watchdog timeout. If this bit is set the [all …]
|
| H A D | atmel,sama5d4-wdt.yaml | 4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml# 7 title: Atmel SAMA5D4 Watchdog Timer (WDT) Controller 13 - $ref: watchdog.yaml# 32 atmel,watchdog-type: 37 Enable watchdog fault reset. A watchdog fault triggers 38 watchdog reset. 41 Enable watchdog fault interrupt. A watchdog fault asserts 42 watchdog interrupt. 49 present if you want to stop the watchdog when the CPU is in idle state. 51 watchdog not counting when the CPU is in idle state, therefore the [all …]
|
| H A D | atmel,at91sam9-wdt.yaml | 5 $id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml# 8 title: Atmel Watchdog Timers 39 atmel,watchdog-type: 45 Hardware watchdog uses the at91 watchdog reset. 48 Software watchdog uses the watchdog interrupt 56 Should be proc or all. This is valid only when using hardware watchdog. 69 Should be present if you want to stop the watchdog. 74 Should be present if you want to stop the watchdog when 77 watchdog not counting when the CPU is in idle state, therefore the 78 watchdog reset time depends on mean CPU usage and will not reset at all [all …]
|
| H A D | men-a021-wdt.txt | 1 Bindings for MEN A21 Watchdog device connected to GPIO lines 5 - gpios: Specifies the pins that control the Watchdog, order: 6 1: Watchdog enable 7 2: Watchdog fast-mode 8 3: Watchdog trigger 9 4: Watchdog reset cause bit 0 10 5: Watchdog reset cause bit 1 11 6: Watchdog reset cause bit 2 17 watchdog {
|
| H A D | faraday,ftwdt010.yaml | 4 $id: http://devicetree.org/schemas/watchdog/faraday,ftwdt010.yaml# 7 title: Faraday Technology FTWDT010 watchdog 18 - $ref: watchdog.yaml# 26 - cortina,gemini-watchdog 27 - moxa,moxart-watchdog 54 watchdog@41000000 { 61 watchdog: watchdog@98500000 { 62 compatible = "moxa,moxart-watchdog", "faraday,ftwdt010";
|
| H A D | starfive,jh7100-wdt.yaml | 4 $id: http://devicetree.org/schemas/watchdog/starfive,jh7100-wdt.yaml# 7 title: StarFive Watchdog for JH7100 and JH7110 SoC 14 The JH7100 and JH7110 watchdog both are 32 bit counters. JH7100 watchdog 15 has only one timeout phase and reboots. And JH7110 watchdog has two 16 timeout phases. At the first phase, the signal of watchdog interrupt 19 isn't cleared, the watchdog will reset the system unless the watchdog 61 - $ref: watchdog.yaml# 85 watchdog@12480000 {
|
| H A D | watchdog.yaml | 4 $id: http://devicetree.org/schemas/watchdog/watchdog.yaml# 7 title: Watchdog Common Properties 11 - Wim Van Sebroeck <wim@linux-watchdog.org> 15 describe watchdog devices in a device tree. 20 pattern: "^watchdog(@.*|-([0-9]|[1-9][0-9]+))?$" 24 pattern: "^(pmic|timer|watchdog)(@.*|-([0-9]|[1-9][0-9]+))?$" 29 Contains the watchdog timeout in seconds.
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-watchdog | 1 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/options 13 It is a read only file. It contains options of watchdog device. 15 What: /sys/class/watchdog/watchdogn/fw_version 20 watchdog device. 22 What: /sys/class/watchdog/watchdogn/identity 27 watchdog device. 29 What: /sys/class/watchdog/watchdogn/nowayout 41 What: /sys/class/watchdog/watchdogn/state [all …]
|
| /linux/drivers/watchdog/ |
| 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", 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 D | sun4v_wdt.c | 3 * sun4v watchdog timer 6 * Implement a simple watchdog driver using the built-in sun4v hypervisor 7 * watchdog support. If time expires, the hypervisor stops or bounces 18 #include <linux/watchdog.h> 29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 34 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" 49 * HV watchdog timer will round up the timeout in sun4v_wdt_ping() 51 * watchdog resolution in milliseconds. in sun4v_wdt_ping() 72 .identity = "sun4v hypervisor watchdog", 102 * domain for the watchdog. in sun4v_wdt_init() [all …]
|
| H A D | via_wdt.c | 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 */ 58 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, between 1 and 1023 " [all …]
|
| H A D | w83977f_wdt.c | 3 * 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 D | alim1535_wdt.c | 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 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 [all …]
|
| H A D | at91rm9200_wdt.c | 3 * Watchdog driver for Atmel AT91RM9200 (Thunder) 28 #include <linux/watchdog.h> 39 MODULE_PARM_DESC(wdt_time, "Watchdog time in seconds. (default=" 45 "Watchdog cannot be stopped once started (default=" 58 * Perform a hardware reset with the use of the Watchdog timer. in at91rm9200_restart() 76 * Disable the watchdog. 84 * Enable and reset the watchdog. 94 * Reload the watchdog timer. (ie, pat the watchdog) 104 * Watchdog device is opened, and watchdog starts running. 116 * Close the watchdog device. [all …]
|
| H A D | booke_wdt.c | 3 * Watchdog timer for PowerPC Book-E systems 15 #include <linux/watchdog.h> 21 /* If the kernel parameter wdt=1, the watchdog will be enabled at boot. 22 * Also, the wdt_period sets the watchdog timer period timeout. 24 * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the 25 * first time nothing will happen, the second time a watchdog exception will 45 "Watchdog cannot be stopped once started (default=" 51 * corresponding to the reset time. There will be a watchdog 141 /* clear status before enabling watchdog */ in __booke_wdt_enable() 151 * __booke_wdt_disable - disable the watchdog on the given CPU [all …]
|
| H A D | riowd.c | 2 /* riowd.c - driver for hw watchdog inside Super I/O of RIO 15 #include <linux/watchdog.h> 24 * as its' watchdog. 26 * When the watchdog triggers, it asserts a line to the BBC (Boot Bus 32 * 0x05 (WDTO_INDEX) which is the watchdog time-out in minutes (1-255). 33 * If set to zero, this disables the watchdog. When set, the system 34 * must periodically (before watchdog expires) clear (set to zero) and 35 * re-set the watchdog else it will trigger. 37 * There are two other indexed watchdog registers inside this Super I/O 39 * the watchdog control and can be used to make the watchdog timer re-set [all …]
|
| H A D | da9063_wdt.c | 3 * Watchdog driver for DA9063 PMICs. 13 #include <linux/watchdog.h> 25 * Watchdog selector to timeout in seconds. 53 * Zero means the watchdog is disabled. 78 * The watchdog triggers a reboot if a timeout value is already in da9063_wdt_update_timeout() 80 * in one: indicating the counter limit and starting the watchdog. in da9063_wdt_update_timeout() 81 * The watchdog must be disabled to be able to change the timeout in da9063_wdt_update_timeout() 82 * value if the watchdog is already running. Then we can set the in da9063_wdt_update_timeout() 83 * new timeout value which enables the watchdog again. in da9063_wdt_update_timeout() 103 dev_err(da9063->dev, "Watchdog failed to start (err = %d)\n", in da9063_wdt_start() [all …]
|
| H A D | mei_wdt.c | 12 #include <linux/watchdog.h> 18 * iAMT Watchdog Device 40 * enum mei_wdt_state - internal watchdog state 79 * struct mei_wdt - mei watchdog driver 80 * @wdd: watchdog device 82 * @cldev: mei watchdog client device 83 * @state: watchdog internal state 87 * @reg_lock: watchdog device registration lock 88 * @timeout: watchdog current timeout 124 * struct mei_wdt_start_request - watchdog start/ping [all …]
|
| H A D | scx200_wdt.c | 2 /* drivers/char/watchdog/scx200_wdt.c 4 National Semiconductor SCx200 Watchdog support 23 #include <linux/watchdog.h> 35 MODULE_DESCRIPTION("NatSemi SCx200 Watchdog Driver"); 40 MODULE_PARM_DESC(margin, "Watchdog margin in seconds"); 44 MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close"); 52 #define W_ENABLE 0x00fa /* Enable watchdog */ 53 #define W_DISABLE 0x0000 /* Disable watchdog */ 73 pr_debug("enabling watchdog timer, wdto_restart = %d\n", wdto_restart); in scx200_wdt_enable() 86 pr_debug("disabling watchdog timer\n"); in scx200_wdt_disable() [all …]
|
| H A D | s32g_wdt.c | 3 * Watchdog driver for S32G SoC 16 #include <linux/watchdog.h> 24 #define S32G_SWT_CR_WEN BIT(0) /* -> Watchdog Enable */ 44 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=" 49 MODULE_PARM_DESC(timeout_param, "Watchdog timeout in seconds (default=" 55 "Watchdog is started on module insertion (default=false)"); 58 .identity = "s32g watchdog", 122 * counter is enabled. In case the watchdog is already started in s32g_wdt_set_timeout() 125 * we choose to send a ping to the watchdog which is harmless in s32g_wdt_set_timeout() 126 * if the watchdog is stopped. in s32g_wdt_set_timeout() [all …]
|
| H A D | diag288_wdt.c | 3 * Watchdog driver for z/VM and LPAR using the diag 288 interface. 5 * Under z/VM, expiration of the watchdog will send a "system restart" command 11 * On LPAR, the watchdog will always trigger a system restart. The module 28 #include <linux/watchdog.h> 46 MODULE_DESCRIPTION("System z diag288 Watchdog Timer"); 49 MODULE_PARM_DESC(cmd, "CP command that is run when the watchdog triggers (z/VM only)"); 52 MODULE_PARM_DESC(conceal, "Enable the CONCEAL CP option while the watchdog is active (z/VM only)"); 55 MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default = CONFIG_WATCHDOG_NOWA… 96 pr_err("The watchdog cannot be activated\n"); in wdt_start() 115 * retrigger the watchdog. On LPAR WDT_FUNC_CHANGE must in wdt_ping() [all …]
|
| /linux/Documentation/watchdog/ |
| H A 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 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 …]
|
| /linux/tools/testing/selftests/watchdog/ |
| H A D | watchdog-test.c | 3 * Watchdog Driver Test Program 7 * don't have watchdog hardware. 11 * Reference: Documentation/watchdog/watchdog-api.rst 24 #include <linux/watchdog.h> 50 * the PC Watchdog card to reset its internal timer so it doesn't trigger 74 printf("\nStopping watchdog ticks failed (%d)...\n", errno); in term() 76 printf("\nStopping watchdog ticks...\n"); in term() 83 printf(" -f, --file\t\tOpen watchdog device file\n"); in usage() 84 printf("\t\t\tDefault is /dev/watchdog\ in usage() [all...] |
| /linux/Documentation/ABI/stable/ |
| H A D | sysfs-driver-firmware-zynqmp | 126 temperature and external watchdog. Here, the external watchdog 127 is completely different than the /dev/watchdog as the external 128 watchdog is running on the firmware and it is used to monitor 130 watchdog is interfaced outside of the zynqmp soc. 138 the external watchdog feature. 140 external watchdog feature. 158 Select external watchdog config ID to enable/disable feature 161 Check external watchdog config ID is selected or not 165 Select external watchdog config ID to configure time interval 168 Check external watchdog config ID is selected or not [all …]
|