Home
last modified time | relevance | path

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

12345678910>>...21

/freebsd/usr.sbin/watchdogd/
H A Dwatchdogd.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2003-2004 Sean M. Kelly <smkelly@FreeBSD.org>
71 static int watchdog_patpat(u_int timeout);
79 static u_int timeout = WD_TO_128SEC; variable
91 static int fd = -1;
92 static int carp_thresh_seconds = -1;
108 { "pretimeout-action", required_argument, &pretimeout_act_set, 1 },
110 { "softtimeout-action", required_argument, &softtimeout_act_set, 1 },
135 if (rtprio(RTP_SET, 0, &rtp) == -1) in main()
[all …]
/freebsd/contrib/wpa/src/utils/
H A Deloop_win.c3 * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
55 struct dl_list timeout; member
78 dl_list_init(&eloop.timeout); in eloop_init()
83 return -1; in eloop_init()
90 return -1; in eloop_init()
106 return -1; in eloop_prepare_handles()
120 return -1; in eloop_register_read_sock()
125 return -1; in eloop_register_read_sock()
131 return -1; in eloop_register_read_sock()
138 return -1; in eloop_register_read_sock()
[all …]
H A Deloop.c3 * Copyright (c) 2002-2009, Jouni Malinen <j@w1.fi>
105 struct dl_list timeout; member
130 if (table == NULL || table->table == NULL) in eloop_trace_sock_add_ref()
132 for (i = 0; i < table->count; i++) { in eloop_trace_sock_add_ref()
133 wpa_trace_add_ref(&table->table[i], eloop, in eloop_trace_sock_add_ref()
134 table->table[i].eloop_data); in eloop_trace_sock_add_ref()
135 wpa_trace_add_ref(&table->table[i], user, in eloop_trace_sock_add_ref()
136 table->table[i].user_data); in eloop_trace_sock_add_ref()
145 if (table == NULL || table->table == NULL) in eloop_trace_sock_remove_ref()
147 for (i = 0; i < table->count; i++) { in eloop_trace_sock_remove_ref()
[all …]
/freebsd/sys/netgraph/bluetooth/common/
H A Dng_bluetooth.c5 /*-
6 * SPDX-License-Identifier: BSD-2-Clause
8 * Copyright (c) 2001-2002 Maksim Yevmenkin <m_evmenkin@yahoo.com>
48 static u_int32_t bluetooth_hci_command_timeout_value = 5; /* sec */
49 static u_int32_t bluetooth_hci_connect_timeout_value = 60; /* sec */
50 static u_int32_t bluetooth_hci_max_neighbor_age_value = 600; /* sec */
51 static u_int32_t bluetooth_l2cap_rtx_timeout_value = 60; /* sec */
52 static u_int32_t bluetooth_l2cap_ertx_timeout_value = 300; /* sec */
53 static u_int32_t bluetooth_sco_rtx_timeout_value = 60; /* sec */
79 if (error == 0 && req->newptr != NULL) { in bluetooth_set_hci_command_timeout_value()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/watchdog/
H A 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 …]
H A Dmtk-wdt.txt3 The watchdog supports a pre-timeout interrupt that fires timeout-sec/2
8 - compatible should contain:
9 "mediatek,mt2701-wdt", "mediatek,mt6589-wdt": for MT2701
10 "mediatek,mt2712-wdt": for MT2712
11 "mediatek,mt6582-wdt", "mediatek,mt6589-wdt": for MT6582
12 "mediatek,mt6589-wdt": for MT6589
13 "mediatek,mt6797-wdt", "mediatek,mt6589-wdt": for MT6797
14 "mediatek,mt7622-wdt", "mediatek,mt6589-wdt": for MT7622
15 "mediatek,mt7623-wdt", "mediatek,mt6589-wdt": for MT7623
16 "mediatek,mt7629-wdt", "mediatek,mt6589-wdt": for MT7629
[all …]
H A 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>;
H A 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>;
H A 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>;
H A Dqcom-wdt.txt1 Qualcomm Krait Processor Sub-system (KPSS) Watchdog
2 ---------------------------------------------------
5 - compatible : shall contain only one of the following:
7 "qcom,kpss-wdt-msm8960"
8 "qcom,kpss-wdt-apq8064"
9 "qcom,kpss-wdt-ipq8064"
10 "qcom,kpss-wdt-ipq4019"
11 "qcom,kpss-timer"
12 "qcom,scss-timer"
13 "qcom,kpss-wdt"
[all …]
H A 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>;
H A 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>;
H A 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>;
H A 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>;
H A 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>;
H A 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>;
H A Dalphascale-asm9260.txt5 - compatible : should be "alphascale,asm9260-wdt".
6 - reg : Specifies base physical address and size of the registers.
7 - clocks : the clocks feeding the watchdog timer. See clock-bindings.txt
8 - clock-names : should be set to
9 "mod" - source for tick counter.
10 "ahb" - ahb gate.
11 - resets : phandle pointing to the system reset controller with
13 - reset-names : should be set to "wdt_rst".
16 - timeout-sec : shall contain the default watchdog timeout in seconds,
17 if unset, the default timeout is 30 seconds.
[all …]
H A 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>;
H A 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>;
H A Dsprd-wdt.txt4 - compatible : Should be "sprd,sp9860-wdt".
5 - reg : Specifies base physical address and size of the registers.
6 - interrupts : Exactly one interrupt specifier.
7 - timeout-sec : Contain the default watchdog timeout in seconds.
8 - clock-names : Contain the input clock names.
9 - clocks : Phandles to input clocks.
13 compatible = "sprd,sp9860-wdt";
16 timeout-sec = <12>;
17 clock-names = "enable", "rtc_enable";
H A Ddigicolor-wdt.txt10 - compatible : Should be "cnxt,cx92755-wdt"
11 - reg : Specifies base physical address and size of the registers
12 - clocks : phandle; specifies the clock that drives the timer
16 - timeout-sec : Contains the watchdog timeout in seconds
21 compatible = "cnxt,cx92755-wdt";
24 timeout-sec = <15>;
H A Ddavinci-wdt.txt4 - compatible : Should be "ti,davinci-wdt", "ti,keystone-wdt"
5 - reg : Should contain WDT registers location and length
8 - timeout-sec : Contains the watchdog timeout in seconds
9 - clocks : the clock feeding the watchdog timer.
11 See clock-bindings.txt
14 Davinci DM646x - https://www.ti.com/lit/ug/spruer5b/spruer5b.pdf
15 Keystone - https://www.ti.com/lit/ug/sprugv5a/sprugv5a.pdf
20 compatible = "ti,davinci-wdt";
22 timeout-sec = <30>;
H A Datmel-sama5d4-wdt.txt4 - 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".
15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
22 - atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
27 compatible = "atmel,sama5d4-wdt";
30 timeout-sec = <10>;
31 atmel,watchdog-type = "hardware";
[all …]
/freebsd/sys/arm/freescale/imx/
H A Dimx_wdog.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
73 {"fsl,imx6sx-wdt", 1},
74 {"fsl,imx6sl-wdt", 1},
75 {"fsl,imx6q-wdt", 1},
76 {"fsl,imx53-wdt", 1},
77 {"fsl,imx51-wdt", 1},
78 {"fsl,imx50-wdt", 1},
79 {"fsl,imx35-wdt", 1},
80 {"fsl,imx27-wdt", 1},
[all …]
/freebsd/sys/dev/ixgbe/
H A Dif_bypass.c3 Copyright (c) 2001-2017, Intel Corporation
47 while (atomic_cmpset_int(&sc->bypass.low, 0, 1) == 0) in ixgbe_bypass_mutex_enter()
49 while (atomic_cmpset_int(&sc->bypass.high, 0, 1) == 0) in ixgbe_bypass_mutex_enter()
60 while (atomic_cmpset_int(&sc->bypass.high, 1, 0) == 0) in ixgbe_bypass_mutex_clear()
62 while (atomic_cmpset_int(&sc->bypass.low, 1, 0) == 0) in ixgbe_bypass_mutex_clear()
75 while (atomic_cmpset_int(&sc->bypass.high, 0, 1) == 0) in ixgbe_bypass_wd_mutex_enter()
86 while (atomic_cmpset_int(&sc->bypass.high, 1, 0) == 0) in ixgbe_bypass_wd_mutex_clear()
95 ixgbe_get_bypass_time(u32 *year, u32 *sec) in ixgbe_get_bypass_time() argument
101 *sec = current.tv_sec; in ixgbe_get_bypass_time()
103 while(*sec > SEC_THIS_YEAR(*year)) { in ixgbe_get_bypass_time()
[all …]

12345678910>>...21