Home
last modified time | relevance | path

Searched +full:timeout +full:- +full:sec (Results 1 – 25 of 1057) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/watchdog/
Ddw_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles
7 * in the many subsystems. The watchdog has 16 different timeout periods
52 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */
79 unsigned int sec; member
94 u32 timeout; member
105 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & in dw_wdt_is_enabled()
113 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
118 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode()
120 dw_wdt->rmod = rmod; in dw_wdt_update_mode()
[all …]
Duniphier_wdt.c1 // SPDX-License-Identifier: GPL-2.0
35 #define SEC_TO_WDTTIMSET_PRD(sec) \ argument
36 (ilog2(sec) + WDTTIMSET_PERIOD_1_SEC)
44 static unsigned int timeout = 0; variable
62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping()
69 ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, in uniphier_watchdog_ping()
76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start() argument
89 SEC_TO_WDTTIMSET_PRD(sec)); in __uniphier_watchdog_start()
113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart() argument
121 return __uniphier_watchdog_start(regmap, sec); in __uniphier_watchdog_restart()
[all …]
/kernel/linux/linux-6.6/drivers/watchdog/
Ddw_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles
7 * in the many subsystems. The watchdog has 16 different timeout periods
51 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */
78 unsigned int sec; member
93 u32 timeout; 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()
[all …]
Duniphier_wdt.c1 // SPDX-License-Identifier: GPL-2.0
35 #define SEC_TO_WDTTIMSET_PRD(sec) \ argument
36 (ilog2(sec) + WDTTIMSET_PERIOD_1_SEC)
44 static unsigned int timeout = 0; variable
62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping()
69 ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, in uniphier_watchdog_ping()
76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start() argument
89 SEC_TO_WDTTIMSET_PRD(sec)); in __uniphier_watchdog_start()
113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart() argument
121 return __uniphier_watchdog_start(regmap, sec); in __uniphier_watchdog_restart()
[all …]
/kernel/linux/linux-6.6/Documentation/watchdog/
Dmlx-wdt.rst16 Actual HW timeout can be defined as a power of 2 msec.
17 e.g. timeout 20 sec will be rounded up to 32768 msec.
18 The maximum timeout period is 32 sec (32768 msec.),
19 Get time-left isn't supported
22 Actual HW timeout is defined in sec. and it's the same as
23 a user-defined timeout.
24 Maximum timeout is 255 sec.
25 Get time-left is supported.
28 Same as Type 2 with extended maximum timeout period.
29 Maximum timeout is 65535 sec.
[all …]
/kernel/linux/linux-5.10/Documentation/watchdog/
Dmlx-wdt.rst16 Actual HW timeout can be defined as a power of 2 msec.
17 e.g. timeout 20 sec will be rounded up to 32768 msec.
18 The maximum timeout period is 32 sec (32768 msec.),
19 Get time-left isn't supported
22 Actual HW timeout is defined in sec. and it's the same as
23 a user-defined timeout.
24 Maximum timeout is 255 sec.
25 Get time-left is supported.
28 Same as Type 2 with extended maximum timeout period.
29 Maximum timeout is 65535 sec.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/watchdog/
Datmel-wdt.txt3 ** at91sam9-wdt
6 - compatible: must be "atmel,at91sam9260-wdt".
7 - reg: physical base address of the controller and length of memory mapped
9 - clocks: phandle to input clock.
12 - timeout-sec: contains the watchdog timeout in seconds.
13 - interrupts : Should contain WDT interrupt.
14 - atmel,max-heartbeat-sec : Should contain the maximum heartbeat value in
17 - atmel,min-heartbeat-sec : Should contain the minimum heartbeat value in
18 seconds. This value must be smaller than the max-heartbeat-sec value.
20 - atmel,watchdog-type : Should be "hardware" or "software". Hardware watchdog
[all …]
Dcadence-wdt.txt2 -------------------------------------------
5 - compatible : Should be "cdns,wdt-r1p2".
6 - clocks : This is pclk (APB clock).
7 - interrupts : This is wd_irq - watchdog timeout interrupt.
10 - reset-on-timeout : If this property exists, then a reset is done
12 - timeout-sec : Watchdog timeout value (in seconds).
16 compatible = "cdns,wdt-r1p2";
18 interrupt-parent = <&intc>;
21 reset-on-timeout;
22 timeout-sec = <10>;
Dstericsson-coh901327.txt1 ST-Ericsson COH 901 327 Watchdog timer
4 - compatible: must be "stericsson,coh901327".
5 - reg: physical base address of the controller and length of memory mapped
7 - interrupts: the interrupt used for the watchdog timeout warning.
10 - timeout-sec: contains the watchdog timeout in seconds.
18 timeout-sec = <60>;
Dqcom,pm8916-wdt.txt3 This pm8916 watchdog timer controller must be under pm8916-pon node.
6 - compatible: should be "qcom,pm8916-wdt"
9 - interrupts : Watchdog pre-timeout (bark) interrupt.
10 - timeout-sec : Watchdog timeout value in seconds.
15 compatible = "qcom,pm8916", "qcom,spmi-pmic";
19 compatible = "qcom,pm8916-pon";
23 compatible = "qcom,pm8916-wdt";
25 timeout-sec = <10>;
Dbrcm,bcm2835-pm-wdog.txt5 - compatible : should be "brcm,bcm2835-pm-wdt"
6 - reg : Specifies base physical address and size of the registers.
10 - timeout-sec : Contains the watchdog timeout in seconds
15 compatible = "brcm,bcm2835-pm-wdt";
17 timeout-sec = <10>;
Dpnx4008-wdt.txt4 - compatible: must be "nxp,pnx4008-wdt"
5 - reg: physical base address of the controller and length of memory mapped
9 - timeout-sec: contains the watchdog timeout in seconds.
14 compatible = "nxp,pnx4008-wdt";
16 timeout-sec = <10>;
Dsigma,smp8642-wdt.txt4 - compatible: Should be "sigma,smp8642-wdt"
5 - reg: Specifies the physical address region
6 - clocks: Should be a phandle to the clock
9 - timeout-sec: watchdog timeout in seconds
14 compatible = "sigma,smp8642-wdt";
17 timeout-sec = <30>;
Dsirfsoc_wdt.txt4 - compatible: "sirf,prima2-tick"
5 - reg: Address range of tick timer/WDT register set
6 - interrupts: interrupt number to the cpu
9 - timeout-sec : Contains the watchdog timeout in seconds
14 compatible = "sirf,prima2-tick";
17 timeout-sec = <30>;
Dziirave-wdt.txt4 - compatible: must be "zii,rave-wdt"
5 - reg: i2c slave address of device, usually 0x38
8 - timeout-sec: Watchdog timeout value in seconds.
9 - reset-duration-ms: Duration of the pulse generated when the watchdog times
15 compatible = "zii,rave-wdt";
17 timeout-sec = <30>;
18 reset-duration-ms = <30>;
Dmeson-wdt.txt5 - compatible : depending on the SoC this should be one of:
6 "amlogic,meson6-wdt" on Meson6 SoCs
7 "amlogic,meson8-wdt" and "amlogic,meson6-wdt" on Meson8 SoCs
8 "amlogic,meson8b-wdt" on Meson8b SoCs
9 "amlogic,meson8m2-wdt" and "amlogic,meson8b-wdt" on Meson8m2 SoCs
10 - reg : Specifies base physical address and size of the registers.
13 - timeout-sec: contains the watchdog timeout in seconds.
18 compatible = "amlogic,meson6-wdt";
20 timeout-sec = <10>;
Dsbsa-gwdt.txt4 after two stages of timeout have elapsed. A detailed definition of the
5 watchdog timer can be found in the ARM document: ARM-DEN-0029 - Server
9 - compatible: Should at least contain "arm,sbsa-gwdt".
11 - reg: Each entry specifies the base physical address of a register frame
17 - interrupts: Should contain the Watchdog Signal 0 (WS0) SPI (Shared
21 - timeout-sec: Watchdog timeout values (in seconds).
26 compatible = "arm,sbsa-gwdt";
30 timeout-sec = <30>;
Dts4800-wdt.txt4 - compatible: must be "technologic,ts4800-wdt"
5 - syscon: phandle / integer array that points to the syscon node which
7 - phandle to FPGA's syscon
8 - offset to the watchdog register
11 - timeout-sec: contains the watchdog timeout in seconds.
16 compatible = "syscon", "simple-mfd";
18 reg-io-width = <2>;
21 compatible = "technologic,ts4800-wdt";
23 timeout-sec = <10>;
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tc_edt.sh2 # SPDX-License-Identifier: GPL-2.0
8 if [[ $EUID -ne 0 ]]; then
14 # check that nc, dd, and timeout are present
15 command -v nc >/dev/null 2>&1 || \
17 command -v dd >/dev/null 2>&1 || \
19 command -v timeout >/dev/null 2>&1 || \
20 { echo >&2 "timeout is not available"; exit 1; }
22 readonly NS_SRC="ns-src-$(mktemp -u XXXXXX)"
23 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)"
36 set -e # exit on error
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
Dtest_tc_edt.sh2 # SPDX-License-Identifier: GPL-2.0
9 if [[ $EUID -ne 0 ]]; then
15 # check that nc, dd, and timeout are present
16 command -v nc >/dev/null 2>&1 || \
18 command -v dd >/dev/null 2>&1 || \
20 command -v timeout >/dev/null 2>&1 || \
21 { echo >&2 "timeout is not available"; exit 1; }
23 readonly NS_SRC="ns-src-$(mktemp -u XXXXXX)"
24 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)"
37 set -e # exit on error
[all …]
/kernel/linux/linux-6.6/drivers/staging/hungtask/
Dhungtask_user.c1 // SPDX-License-Identifier: GPL-2.0
47 if (p->flags & PF_FROZEN) { in htuser_show_task()
51 if (p->__state == TASK_UNINTERRUPTIBLE) { in htuser_show_task()
80 if (i == userlist_count - 1) { in htuser_list_remove()
83 int len = sizeof(userlist[0]) * (userlist_count - i - 1); in htuser_list_remove()
86 userlist_count--; in htuser_list_remove()
92 return -ENOENT; in htuser_list_remove()
155 if ((task->tgid == task->pid) && (!htuser_list_remove(task->tgid))) in htuser_process_notifier()
156 pr_err("remove success due to process %d die\n", task->tgid); in htuser_process_notifier()
172 len += snprintf(tmp + len, MAX_SHOW_LEN - len, in htuser_list_show()
[all …]
/kernel/linux/linux-5.10/drivers/staging/hungtask/
Dhungtask_user.c1 // SPDX-License-Identifier: GPL-2.0
47 if (p->flags & PF_FROZEN) { in htuser_show_task()
51 if (p->state == TASK_UNINTERRUPTIBLE) { in htuser_show_task()
80 if (i == userlist_count - 1) { in htuser_list_remove()
83 int len = sizeof(userlist[0]) * (userlist_count - i - 1); in htuser_list_remove()
86 userlist_count--; in htuser_list_remove()
92 return -ENOENT; in htuser_list_remove()
155 if ((task->tgid == task->pid) && (!htuser_list_remove(task->tgid))) in htuser_process_notifier()
156 pr_err("remove success due to process %d die\n", task->tgid); in htuser_process_notifier()
172 len += snprintf(tmp + len, MAX_SHOW_LEN - len, in htuser_list_show()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/
Dbrcm,bcm2835-pm-wdog.txt5 - compatible : should be "brcm,bcm2835-pm-wdt"
6 - reg : Specifies base physical address and size of the registers.
10 - timeout-sec : Contains the watchdog timeout in seconds
15 compatible = "brcm,bcm2835-pm-wdt";
17 timeout-sec = <10>;
Dpnx4008-wdt.txt4 - compatible: must be "nxp,pnx4008-wdt"
5 - reg: physical base address of the controller and length of memory mapped
9 - timeout-sec: contains the watchdog timeout in seconds.
14 compatible = "nxp,pnx4008-wdt";
16 timeout-sec = <10>;
Dziirave-wdt.txt4 - compatible: must be "zii,rave-wdt"
5 - reg: i2c slave address of device, usually 0x38
8 - timeout-sec: Watchdog timeout value in seconds.
9 - reset-duration-ms: Duration of the pulse generated when the watchdog times
15 compatible = "zii,rave-wdt";
17 timeout-sec = <30>;
18 reset-duration-ms = <30>;

12345678910>>...43