Home
last modified time | relevance | path

Searched +full:max +full:- +full:heartbeat +full:- +full:sec (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/linux/Documentation/devicetree/bindings/watchdog/
H A Datmel,at91sam9-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/watchdog/atmel,at91sam9-wdt.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Eugen Hristev <eugen.hristev@microchip.com>
15 const: atmel,at91sam9260-wdt
26 atmel,max-heartbeat-sec:
28 Should contain the maximum heartbeat value in seconds. This value
32 atmel,min-heartbeat-sec:
34 Should contain the minimum heartbeat value in seconds. This value
[all …]
/openbmc/linux/drivers/watchdog/
H A Dat91sam9_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2008 Renaud CERRATO r.cerrato@til-technologies.fr
41 readl_relaxed((wdt)->base + (field))
43 writel_relaxed((val), (wdt)->base + (field))
52 #define secs_to_ticks(s) ((s) ? (((s) << 8) - 1) : 0)
56 /* Watchdog max counter value in ticks */
59 /* Watchdog max delta/value in secs */
65 /* Timer heartbeat (500ms) */
70 static int heartbeat; variable
71 module_param(heartbeat, int, 0);
[all …]
H A Dpcwd_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire PCI-PC Watchdog Card Driver
5 * (c) Copyright 2003-2007 Wim Van Sebroeck <wim@iguana.be>.
16 * provided "AS-IS" and at no charge.
36 #include <linux/errno.h> /* For the -ENODEV/... values */
46 #include <linux/ioport.h> /* For io-port access */
53 #define WATCHDOG_DRIVER_NAME "PCI-PC Watchdog"
68 * PCI-PC Watchdog card.
72 #define WD_PCI_HRBT 0x02 /* Watchdog Heartbeat */
76 #define WD_PCI_R2DS 0x40 /* Relay 2 Disable Temperature-trip /
[all …]
H A Dpcwd_usb.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire USB-PC Watchdog Card Driver
5 * (c) Copyright 2004-2007 Wim Van Sebroeck <wim@iguana.be>.
12 * Greg Kroah-Hartman <greg@kroah.com>
16 * provided "AS-IS" and at no charge.
28 #include <linux/errno.h> /* For the -ENODEV/... values */
47 #define DRIVER_DESC "Berkshire USB-PC Watchdog driver"
54 #define WATCHDOG_HEARTBEAT 0 /* default heartbeat =
55 delay-time from dip-switches */
56 static int heartbeat = WATCHDOG_HEARTBEAT; variable
[all …]
H A Dpika_wdt.c1 // SPDX-License-Identifier: GPL-2.0-only
29 #define DRV_NAME "PIKA-WDT"
34 /* Timer heartbeat (500ms) */
39 static int heartbeat = WDT_HEARTBEAT; variable
40 module_param(heartbeat, int, 0);
41 MODULE_PARM_DESC(heartbeat, "Watchdog heartbeats in seconds. "
71 /* -- FPGA: Reset Control Register (32bit R/W) (Offset: 0x14) -- in pikawdt_reset()
76 * Bit 8-11, WTCHDG_TIMEOUT_SEC: Sets the watchdog timeout value in in pikawdt_reset()
81 /* enable with max timeout - 15 seconds */ in pikawdt_reset()
102 pikawdt_private.next_heartbeat = jiffies + heartbeat * HZ; in pikawdt_keepalive()
[all …]
H A Ddavinci_wdt.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2006-2013 Texas Instruments.
24 #define MODULE_NAME "DAVINCI-WDT: "
27 #define MAX_HEARTBEAT 600 /* really the max margin is 264/27MHz*/
56 static int heartbeat; variable
60 * @base - base io address of WD device
61 * @clk - source clock of WDT
62 * @wdd - hold watchdog device as is in WDT core
77 wdt_freq = clk_get_rate(davinci_wdt->clk); in davinci_wdt_start()
80 iowrite32(0, davinci_wdt->base + TCR); in davinci_wdt_start()
[all …]
H A Dpcwd.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * 960108 Fixed end-of-file pointer (Thanks to Dan Hollis), added
20 * typedefs to replace them. Made heartbeat reset only available
24 * added watchdog disable/re-enable routines. Added firmware
60 #include <linux/errno.h> /* For the -ENODEV/... values */
71 #include <linux/ioport.h> /* For io-port access */
79 #define WATCHDOG_DRIVER_NAME "ISA-PC Watchdog"
94 * These are the auto-probe addresses available.
104 * PCI-PC Watchdog card.
109 #define WD_HRTBT 0x04 /* Heartbeat sense */
[all …]
H A Ddw_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles
12 * heartbeat requests after the watchdog device has been closed.
78 unsigned int sec; member
104 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & in dw_wdt_is_enabled()
112 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
117 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
119 dw_wdt->rmod = rmod; in dw_wdt_update_mode()
133 if (dw_wdt->timeouts[idx].sec >= timeout) in dw_wdt_find_best_top()
138 --idx; in dw_wdt_find_best_top()
[all …]
H A Dsch311x_wdt.c1 // SPDX-License-Identifier: GPL-2.0+
3 * sch311x_wdt.c - Driver for the SCH311x Super-I/O chips
10 * provided "AS-IS" and at no charge.
23 #include <linux/errno.h> /* For the -ENODEV/... values */
30 #include <linux/ioport.h> /* For io-port access */
66 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */
80 * Super-IO functions
119 /* -- Watchdog Timeout -- in sch311x_wdt_set_timeout()
120 * Bit 0-6 (Reserved) in sch311x_wdt_set_timeout()
121 * Bit 7 WDT Time-out Value Units Select in sch311x_wdt_set_timeout()
[all …]
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91-kizbox.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * at91-kizbox.dts - Device Tree file for Overkiz Kizbox board
5 * Copyright (C) 2012-2014 Boris BREZILLON <b.brezillon@overkiz.com>
6 * 2014-2015 Gaël PORTAY <g.portay@overkiz.com>
8 /dts-v1/;
10 #include <dt-bindings/pwm/pwm.h>
18 stdout-path = &dbgu;
27 clock-frequency = <18432000>;
31 gpio-keys {
32 compatible = "gpio-keys";
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dstm32mp157c-odyssey-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
6 /dts-v1/;
10 #include "stm32mp15-pinctrl.dtsi"
11 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/leds/common.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
17 model = "Seeed Studio Odyssey-STM32MP157C SOM";
18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
25 reserved-memory {
[all …]
H A Dstm32mp157c-emstamp-argon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
23 stdout-path = "serial0:115200n8";
31 reserved-memory {
32 #address-cells = <1>;
33 #size-cells = <1>;
37 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp157a-stinger96.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
9 #include "stm32mp15-pinctrl.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/mfd/st,stpmic1.h>
24 stdout-path = "serial1:115200n8";
33 compatible = "gpio-leds";
38 linux,default-trigger = "heartbeat";
39 default-state = "off";
[all …]
H A Dstm32mp15xx-dkx.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/mfd/st,stpmic1.h>
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
28 compatible = "shared-dma-pool";
30 no-map;
34 compatible = "shared-dma-pool";
[all …]
H A Dstm32429i-eval.dts2 * Copyright 2015 - Maxime Coquelin <mcoquelin.stm32@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
22 * MA 02110-1301 USA
48 /dts-v1/;
50 #include "stm32f429-pinctrl.dtsi"
51 #include <dt-bindings/input/input.h>
52 #include <dt-bindings/gpio/gpio.h>
53 #include <dt-bindings/media/video-interfaces.h>
56 model = "STMicroelectronics STM32429i-EVAL board";
57 compatible = "st,stm32429i-eval", "st,stm32f429";
[all …]
H A Dstm32mp157c-phycore-stm32mp15-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2022-2023 Steffen Trumtrar <kernel@pengutronix.de>
4 * Copyright (C) Phytec GmbH 2019-2020 - All Rights Reserved
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/leds/leds-pca9532.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
[all …]
H A Dstm32mp15xc-lxa-tac.dtsi1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause)
3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved
9 #include "stm32mp15xx-osd32.dtsi"
10 #include "stm32mp15xxac-pinctrl.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
14 #include <dt-bindings/leds/common.h>
15 #include <dt-bindings/pwm/pwm.h>
28 stdout-path = &uart4;
31 led-controller-0 {
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dstm32429i-eval.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2015, STMicroelectronics - All Rights Reserved
7 /dts-v1/;
9 #include "stm32f429-pinctrl.dtsi"
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/gpio/gpio.h>
14 model = "STMicroelectronics STM32429i-EVAL board";
15 compatible = "st,stm32429i-eval", "st,stm32f429";
19 stdout-path = "serial0:115200n8";
31 clk_ext_camera: clk-ext-camera {
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dutils.robot83 ... Default MAX timedout is 10 min, interval 10 seconds.
85 ... ${interval}=10 sec
174 ... Set Variable echo ${os_password} | sudo -S reboot
197 ... Set Variable echo ${os_password} | sudo -S shutdown${time_string}
207 # led_name System LED name (e.g. heartbeat, identify, beep).
273 # prior call to this function or via a -v parm), this keyword will simply
281 # -v boot_prog_method:Old to force old behavior on such builds.
316 Wait Until Keyword Succeeds 3 min 10 sec Is Power On
328 Wait Until Keyword Succeeds 1 min 10 sec Is Power Off
392 ${resp}= Wait Until Keyword Succeeds 1 min 20 sec
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-emcon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/pwm/pwm.h>
8 #include <dt-bindings/input/input.h>
12 model = "emtrion SoM emCON-MX6";
13 compatible = "emtrion,emcon-mx6";
23 stdout-path = &uart1;
31 gpio-keys {
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
[all …]
H A Dimx6q-bosch-acc.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Support for the i.MX6-based Bosch ACC board.
8 * Copyright (C) 2019-2021 Bosch Thermotechnik GmbH, Matthias Winker <matthias.winker@bosch.com>
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include <dt-bindings/leds/common.h>
20 compatible = "bosch,imx6q-acc", "fsl,imx6q";
37 backlight_lvds: backlight-lvds {
38 compatible = "pwm-backlight";
40 brightness-levels = <0 61 499 1706 4079 8022 13938 22237 33328 47623 65535>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/renesas/
H A Dbeacon-renesom-baseboard.dtsi1 // SPDX-License-Identifier: GPL-2.0
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/versaclock.h>
11 backlight_lvds: backlight-lvds {
12 compatible = "pwm-backlight";
13 power-supply = <&reg_lcd>;
14 enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>;
16 brightness-levels = <0 4 8 16 32 64 128 255>;
17 default-brightness-level = <6>;
[all …]
/openbmc/linux/net/sctp/
H A Dsm_statefuns.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
6 * Copyright (c) 2001-2002 Intel Corp.
15 * lksctp developers <linux-sctp@vger.kernel.org>
175 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid()
178 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid()
191 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid()
193 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid()
205 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be
[all …]
/openbmc/linux/drivers/accel/habanalabs/common/
H A Ddevice.c1 // SPDX-License-Identifier: GPL-2.0
4 * Copyright 2016-2022 HabanaLabs, Ltd.
31 * hl_set_dram_bar- sets the bar to allow later access to address
49 struct asic_fixed_properties *prop = &hdev->asic_prop; in hl_set_dram_bar()
52 if (is_power_of_2(prop->dram_pci_bar_size)) in hl_set_dram_bar()
53 bar_base_addr = addr & ~(prop->dram_pci_bar_size - 0x1ull); in hl_set_dram_bar()
55 bar_base_addr = DIV_ROUND_DOWN_ULL(addr, prop->dram_pci_bar_size) * in hl_set_dram_bar()
56 prop->dram_pci_bar_size; in hl_set_dram_bar()
58 old_base = hdev->asic_funcs->set_dram_bar_base(hdev, bar_base_addr); in hl_set_dram_bar()
70 struct pci_mem_region *region = &hdev->pci_mem_region[region_type]; in hl_access_sram_dram_region()
[all …]
/openbmc/qemu/qapi/
H A Dmigration.json1 # -*- Mode: Python -*-
28 # @normal-bytes: number of normal bytes sent (since 1.2)
30 # @dirty-pages-rate: number of pages dirtied by second by the guest
33 # @mbps: throughput in megabits/sec. (since 1.6)
35 # @dirty-sync-count: number of times that dirty ram was synchronized
38 # @postcopy-requests: The number of page requests received from the
41 # @page-size: The number of bytes per page for the various page-based
44 # @multifd-bytes: The number of bytes sent through multifd (since 3.0)
46 # @pages-per-second: the number of memory pages transferred per second
49 # @precopy-bytes: The number of bytes sent in the pre-copy phase
[all …]

12