Home
last modified time | relevance | path

Searched +full:reset +full:- +full:time +full:- +full:sec (Results 1 – 25 of 847) sorted by relevance

12345678910>>...34

/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 …]
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".
11 "hardware": enable watchdog fault reset. A watchdog fault triggers
12 watchdog reset.
15 - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
19 watchdog reset time depends on mean CPU usage and will not reset at all
22 - atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
[all …]
Dst_lpc_wdt.txt1 STMicroelectronics Low Power Controller (LPC) - Watchdog
4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource
7 [See: ../rtc/rtc-st-lpc.txt for RTC options]
8 [See: ../timer/st,stih407-lpc for Clocksource options]
12 - compatible : Should be: "st,stih407-lpc"
13 - reg : LPC registers base address + size
14 - interrupts : LPC interrupt line number and associated flags
15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)
16 - st,lpc-mode : The LPC can run either one of three modes:
24 - st,syscfg : Phandle to syscfg node used to enable watchdog and configure
[all …]
/kernel/linux/linux-5.10/Documentation/watchdog/
Dmlx-wdt.rst17 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.
29 Maximum timeout is 65535 sec.
44 system reset, start fans on full speed and increase register counter.
45 The last 2 actions are performed without a system reset.
[all …]
/kernel/linux/linux-6.6/Documentation/watchdog/
Dmlx-wdt.rst17 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.
29 Maximum timeout is 65535 sec.
44 system reset, start fans on full speed and increase register counter.
45 The last 2 actions are performed without a system reset.
[all …]
/kernel/linux/linux-5.10/arch/mips/dec/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0
6 * This file contains the time handling details for PC-style clocks as
15 #include <asm/cpu-features.h>
17 #include <asm/time.h>
24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
30 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock64()
37 * The PROM will reset the year to either '72 or '73. in read_persistent_clock64()
42 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock64()
47 sec = bcd2bin(sec); in read_persistent_clock64()
55 year += real_year - 72 + 2000; in read_persistent_clock64()
[all …]
/kernel/linux/linux-6.6/arch/mips/dec/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0
6 * This file contains the time handling details for PC-style clocks as
15 #include <asm/cpu-features.h>
17 #include <asm/time.h>
24 unsigned int year, mon, day, hour, min, sec, real_year; in read_persistent_clock64() local
30 sec = CMOS_READ(RTC_SECONDS); in read_persistent_clock64()
37 * The PROM will reset the year to either '72 or '73. in read_persistent_clock64()
42 } while (sec != CMOS_READ(RTC_SECONDS)); in read_persistent_clock64()
47 sec = bcd2bin(sec); in read_persistent_clock64()
55 year += real_year - 72 + 2000; in read_persistent_clock64()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/watchdog/
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:
32 atmel,min-heartbeat-sec:
35 must be smaller than the max-heartbeat-sec value. It is used to
39 atmel,watchdog-type:
[all …]
Dst_lpc_wdt.txt1 STMicroelectronics Low Power Controller (LPC) - Watchdog
4 LPC currently supports Watchdog OR Real Time Clock OR Clocksource
7 [See: ../rtc/rtc-st-lpc.txt for RTC options]
8 [See: ../timer/st,stih407-lpc for Clocksource options]
12 - compatible : Should be: "st,stih407-lpc"
13 - reg : LPC registers base address + size
14 - interrupts : LPC interrupt line number and associated flags
15 - clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt)
16 - st,lpc-mode : The LPC can run either one of three modes:
24 - st,syscfg : Phandle to syscfg node used to enable watchdog and configure
[all …]
/kernel/linux/linux-6.6/arch/mips/include/asm/
Dmc146818-time.h13 #include <linux/time.h>
42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ in mc146818_set_rtc_mmss()
52 * messing with unknown time zones but requires your in mc146818_set_rtc_mmss()
57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mc146818_set_rtc_mmss()
58 real_minutes += 30; /* correct for half hour time zone */ in mc146818_set_rtc_mmss()
61 if (abs(real_minutes - cmos_minutes) < 30) { in mc146818_set_rtc_mmss()
72 retval = -1; in mc146818_set_rtc_mmss()
77 * battery and quartz) will not reset the oscillator and will not in mc146818_set_rtc_mmss()
80 * sheets anyway ... -- Markus Kuhn in mc146818_set_rtc_mmss()
91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
[all …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dmc146818-time.h13 #include <linux/time.h>
42 save_freq_select = CMOS_READ(RTC_FREQ_SELECT); /* stop and reset prescaler */ in mc146818_set_rtc_mmss()
52 * messing with unknown time zones but requires your in mc146818_set_rtc_mmss()
57 if (((abs(real_minutes - cmos_minutes) + 15)/30) & 1) in mc146818_set_rtc_mmss()
58 real_minutes += 30; /* correct for half hour time zone */ in mc146818_set_rtc_mmss()
61 if (abs(real_minutes - cmos_minutes) < 30) { in mc146818_set_rtc_mmss()
72 retval = -1; in mc146818_set_rtc_mmss()
77 * battery and quartz) will not reset the oscillator and will not in mc146818_set_rtc_mmss()
80 * sheets anyway ... -- Markus Kuhn in mc146818_set_rtc_mmss()
91 unsigned int year, mon, day, hour, min, sec; in mc146818_get_cmos_time() local
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
Dinput.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
21 $ref: /schemas/types.yaml#/definitions/uint32-array
34 linux,input-type:
37 - 1 # EV_KEY
38 - 2 # EV_REL
39 - 3 # EV_ABS
40 - 5 # EV_SW
[all …]
/kernel/linux/linux-6.6/drivers/scsi/fnic/
Dfnic_trace.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/time.h>
34 * fnic_trace_get_buf - Give buffer pointer to user to fill up trace information
81 * fnic_get_trace_data - Copy trace buffer to a memory file
117 sprint_symbol(str, tbp->fnaddr.low); in fnic_get_trace_data()
118 jiffies_to_timespec64(tbp->timestamp.low, &val); in fnic_get_trace_data()
120 sprint_symbol(str, tbp->fnaddr.val); in fnic_get_trace_data()
121 jiffies_to_timespec64(tbp->timestamp.val, &val); in fnic_get_trace_data()
127 len += scnprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
128 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/chrp/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copied and modified from arch/i386/kernel/time.c
17 #include <linux/time.h>
29 #include <asm/time.h>
49 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init()
84 * Set the hardware clock. -- Cort
97 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time()
118 * battery and quartz) will not reset the oscillator and will not in chrp_set_rtc_time()
121 * sheets anyway ... -- Markus Kuhn in chrp_set_rtc_time()
132 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/chrp/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copied and modified from arch/i386/kernel/time.c
17 #include <linux/time.h>
29 #include <asm/time.h>
51 rtcs = of_find_compatible_node(NULL, "rtc", "ds1385-rtc"); in chrp_time_init()
86 * Set the hardware clock. -- Cort
99 save_freq_select = chrp_cmos_clock_read(RTC_FREQ_SELECT); /* stop and reset prescaler */ in chrp_set_rtc_time()
120 * battery and quartz) will not reset the oscillator and will not in chrp_set_rtc_time()
123 * sheets anyway ... -- Markus Kuhn in chrp_set_rtc_time()
134 unsigned int year, mon, day, hour, min, sec; in chrp_get_rtc_time() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_trace.c23 #include <linux/time.h>
48 * fnic_trace_get_buf - Give buffer pointer to user to fill up trace information
95 * fnic_get_trace_data - Copy trace buffer to a memory file
131 sprint_symbol(str, tbp->fnaddr.low); in fnic_get_trace_data()
132 jiffies_to_timespec64(tbp->timestamp.low, &val); in fnic_get_trace_data()
134 sprint_symbol(str, tbp->fnaddr.val); in fnic_get_trace_data()
135 jiffies_to_timespec64(tbp->timestamp.val, &val); in fnic_get_trace_data()
141 len += scnprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
142 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data()
143 "%16llu.%09lu %-50s %8x %8x %16llx %16llx " in fnic_get_trace_data()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - pascal Paillet <p.paillet@st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
43 interrupt-names:
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/maple/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/time.h>
27 #include <asm/time.h>
54 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
55 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()
56 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
57 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
58 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()
59 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()
60 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/maple/
Dtime.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include <linux/time.h>
27 #include <asm/time.h>
54 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
55 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()
56 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
57 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
58 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()
59 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()
60 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/
Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 - pascal Paillet <p.paillet@foss.st.com>
24 "#interrupt-cells":
27 interrupt-controller: true
36 const: st,stpmic1-onkey
40 - description: onkey-falling, happens when onkey is pressed. IT_PONKEY_F of pmic
41 - description: onkey-rising, happens when onkey is released. IT_PONKEY_R of pmic
43 interrupt-names:
[all …]
Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
16 (i.e. regulators and system power-off/reboot) for the ATC2603C and ATC2609A
18 ATC2603C includes 3 programmable DC-DC converters, 9 programmable LDO
20 ATC2609A includes 5 programmable DC-DC converters and 10 programmable LDO
24 - $ref: ../input/input.yaml
29 - actions,atc2603c
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/igc/
Digc_tsn.c1 // SPDX-License-Identifier: GPL-2.0
12 for (i = 0; i < adapter->num_tx_queues; i++) { in is_any_launchtime()
13 struct igc_ring *ring = adapter->tx_ring[i]; in is_any_launchtime()
15 if (ring->launchtime_enable) in is_any_launchtime()
26 for (i = 0; i < adapter->num_tx_queues; i++) { in is_cbs_enabled()
27 struct igc_ring *ring = adapter->tx_ring[i]; in is_cbs_enabled()
29 if (ring->cbs_enable) in is_cbs_enabled()
38 unsigned int new_flags = adapter->flags & ~IGC_FLAG_TSN_ANY_ENABLED; in igc_tsn_new_flags()
40 if (adapter->taprio_offload_enable) in igc_tsn_new_flags()
54 struct igc_hw *hw = &adapter->hw; in igc_tsn_is_tx_mode_in_tsn()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/
Dsamsung-i2s.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/sound/samsung-i2s.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
14 - $ref: dai-common.yaml#
19 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S.
21 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with
22 secondary FIFO, s/w reset control and internal mux for root clock
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dvalid-adjtimex.c9 * Usage: valid-adjtimex
12 * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt
29 #include <time.h>
30 #include <sys/time.h>
66 -499<<16,
67 -450<<16,
68 -400<<16,
69 -350<<16,
70 -300<<16,
71 -250<<16,
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/timers/
Dvalid-adjtimex.c9 * Usage: valid-adjtimex
12 * $ gcc valid-adjtimex.c -o valid-adjtimex -lrt
26 #include <time.h>
27 #include <sys/time.h>
65 -499 * SHIFTED_PPM,
66 -450 * SHIFTED_PPM,
67 -400 * SHIFTED_PPM,
68 -350 * SHIFTED_PPM,
69 -300 * SHIFTED_PPM,
70 -250 * SHIFTED_PPM,
[all …]

12345678910>>...34