Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.14.4/Documentation/hwmon/
Dmax31827.rst1 .. SPDX-License-Identifier: GPL-2.0
12 Addresses scanned: I2C 0x40 - 0x5f
20 Addresses scanned: I2C 0x40 - 0x5f
28 Addresses scanned: I2C 0x40 - 0x5f
34 - Daniel Matyas <[email protected]>
37 -----------
40 between them is found in the default power-on behaviour of the chips. While the
52 hysteresis value: -40 and -30 degrees for under temperature alarm and +100 and
66 exceeding TH and reset, it is set to 1 again only when the temperature drops
67 below TH_HYST. The output remains asserted until it is reset by a read. It is
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/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 <[email protected]>
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 …]
Dxlnx,versal-wwdt.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/xlnx,versal-wwdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Neeli Srinivas <[email protected]>
16 predefined window periods of time. This means a period that is not
18 restarted within the open window time. If software tries to restart
19 WWDT outside of the open window time period, it generates a reset.
22 - $ref: watchdog.yaml#
27 - xlnx,versal-wwdt
[all …]
Drealtek,otto-wdt.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/watchdog/realtek,otto-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sander Vanheule <[email protected]>
16 interrupt, although the phase 2 interrupt will occur with the system reset.
17 - Phase 1: During this phase, the WDT can be pinged to reset the timeout.
18 - Phase 2: Starts after phase 1 has timed out, and only serves to give the
19 system some time to clean up, or notify others that it's going to reset.
20 During this phase, pinging the WDT has no effect, and a reset is
[all …]
Datmel,sama5d4-wdt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/watchdog/atmel,sama5d4-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <[email protected]>
13 - $ref: watchdog.yaml#
18 - enum:
19 - atmel,sama5d4-wdt
20 - microchip,sam9x60-wdt
21 - microchip,sama7g5-wdt
[all …]
/linux-6.14.4/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 …]
/linux-6.14.4/drivers/hid/intel-thc-hid/intel-quicki2c/
Dquicki2c-dev.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/hid-over-i2c.h>
42 * Default value is 5000ms, that means if no touch event in this time, THC will
62 * struct quicki2c_subip_acpi_parameter - QuickI2C ACPI DSD parameters
77 * struct quicki2c_subip_acpi_config - QuickI2C ACPI DSD parameters
88 * @FPHX: Fast Mode Plus (1Mbit/sec) Serial Clock Line HIGH Period
89 * @FPLX: Fast Mode Plus (1Mbit/sec) Serial Clock Line LOW Period
90 * @FPTD: Fast Mode Plus (1Mbit/sec) Serial Data Line Transmit HOLD Period
91 * @FPRD: Fast Mode Plus (1Mbit/sec) Serial Data Line Receive HOLD Period
92 * @HMHX: High Speed Mode Plus (3.4Mbits/sec) Serial Clock Line HIGH Period
[all …]
/linux-6.14.4/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 <[email protected]>
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 …]
/linux-6.14.4/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 …]
/linux-6.14.4/drivers/scsi/fnic/
Dfnic_trace.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/time.h>
46 * fnic_trace_get_buf - Give buffer pointer to user to fill up trace information
93 * fnic_get_trace_data - Copy trace buffer to a memory file
129 sprint_symbol(str, tbp->fnaddr.low); in fnic_get_trace_data()
130 jiffies_to_timespec64(tbp->timestamp.low, &val); in fnic_get_trace_data()
132 sprint_symbol(str, tbp->fnaddr.val); in fnic_get_trace_data()
133 jiffies_to_timespec64(tbp->timestamp.val, &val); in fnic_get_trace_data()
139 len += scnprintf(fnic_dbgfs_prt->buffer + len, in fnic_get_trace_data()
140 (trace_max_pages * PAGE_SIZE * 3) - len, in fnic_get_trace_data()
[all …]
/linux-6.14.4/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 <[email protected]>
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 <[email protected]>
11 - Cristian Ciocaltea <[email protected]>
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: /schemas/input/input.yaml
29 - actions,atc2603c
[all …]
/linux-6.14.4/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()
49 if (adapter->strict_priority_enable) in igc_tsn_new_flags()
[all …]
/linux-6.14.4/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 <[email protected]>
11 - Sylwester Nawrocki <[email protected]>
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 …]
/linux-6.14.4/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>
63 -499 * SHIFTED_PPM,
64 -450 * SHIFTED_PPM,
65 -400 * SHIFTED_PPM,
66 -350 * SHIFTED_PPM,
67 -300 * SHIFTED_PPM,
68 -250 * SHIFTED_PPM,
[all …]
/linux-6.14.4/drivers/watchdog/
Di6300esb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * based on i810-tco.c which is in turn based on softdog.c
12 * 6300ESB chip : document number 300641-004
49 #define ESB_TIMER1_REG(w) ((w)->base + 0x00)/* Timer1 value after each reset */
50 #define ESB_TIMER2_REG(w) ((w)->base + 0x04)/* Timer2 value after each reset */
51 #define ESB_GINTSR_REG(w) ((w)->base + 0x08)/* General Interrupt Status Reg */
52 #define ESB_RELOAD_REG(w) ((w)->base + 0x0c)/* Reload register */
69 #define ESB_UNLOCK1 0x80 /* Step 1 to unlock reset registers */
70 #define ESB_UNLOCK2 0x86 /* Step 2 to unlock reset registers */
73 /* 30 sec default heartbeat (1 < heartbeat < 2*1023) */
[all …]
Dpcwd_pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Berkshire PCI-PC Watchdog Card Driver
5 * (c) Copyright 2003-2007 Wim Van Sebroeck <[email protected]>.
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.
76 #define WD_PCI_R2DS 0x40 /* Relay 2 Disable Temperature-trip /
77 reset */
[all …]
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)
101 pr_crit("at91sam9 WDT software reset\n"); in wdt_interrupt()
123 if (time_before(jiffies, wdt->next_heartbeat) || in at91_ping()
124 !watchdog_active(&wdt->wdd)) { in at91_ping()
126 mod_timer(&wdt->timer, jiffies + wdt->heartbeat); in at91_ping()
128 pr_crit("I will reset your machine !\n"); in at91_ping()
[all …]
/linux-6.14.4/Documentation/networking/dsa/
Dsja1105.rst8 The NXP SJA1105 is a family of 10 SPI-managed automotive switches:
10 - SJA1105E: First generation, no TTEthernet
11 - SJA1105T: First generation, TTEthernet
12 - SJA1105P: Second generation, no TTEthernet, no SGMII
13 - SJA1105Q: Second generation, TTEthernet, no SGMII
14 - SJA1105R: Second generation, no TTEthernet, SGMII
15 - SJA1105S: Second generation, TTEthernet, SGMII
16 - SJA1110A: Third generation, TTEthernet, SGMII, integrated 100base-T1 and
17 100base-TX PHYs
18 - SJA1110B: Third generation, TTEthernet, SGMII, 100base-T1, 100base-TX
[all …]
/linux-6.14.4/drivers/rtc/
Drtc-renesas-rtca3.c1 // SPDX-License-Identifier: GPL-2.0
3 * On-Chip RTC Support available on RZ/G3S SoC
19 #include <linux/reset.h>
93 * enum rtca3_alrm_set_step - RTCA3 alarm set steps
105 * struct rtca3_ppb_per_cycle - PPB per cycle
115 * struct rtca3_priv - RTCA3 private data structure
118 * @rstc: reset control
140 tmp = readb(priv->base + off); in rtca3_byte_update_bits()
143 writeb(tmp, priv->base + off); in rtca3_byte_update_bits()
150 val = readb(priv->base + RTCA3_RSR); in rtca3_alarm_handler_helper()
[all …]
/linux-6.14.4/drivers/net/dsa/microchip/
Dksz_ptp.c1 // SPDX-License-Identifier: GPL-2.0
24 /* Sub-nanoseconds-adj,max * sub-nanoseconds / 40ns * 1ns
25 * = (2^30-1) * (2 ^ 32) / 40 ns * 1 ns = 6249999
62 /* Reset trigger unit (clears TRIGGER_EN, but not GPIOSTATx) */ in ksz_ptp_tou_reset()
75 /* Clear reset and set GPIO direction */ in ksz_ptp_tou_reset()
85 return -EINVAL; in ksz_ptp_tou_pulse_verify()
89 return -ERANGE; in ksz_ptp_tou_pulse_verify()
100 if ((ts->tv_sec & 0xffffffff) != ts->tv_sec) in ksz_ptp_tou_target_time_set()
101 return -EINVAL; in ksz_ptp_tou_target_time_set()
103 ret = ksz_write32(dev, REG_TRIG_TARGET_NANOSEC, ts->tv_nsec); in ksz_ptp_tou_target_time_set()
[all …]
/linux-6.14.4/Documentation/bpf/
Dprog_cgroup_sockopt.rst1 .. SPDX-License-Identifier: GPL-2.0
10 * ``BPF_CGROUP_GETSOCKOPT`` - called every time process executes ``getsockopt``
12 * ``BPF_CGROUP_SETSOCKOPT`` - called every time process executes ``setsockopt``
26 If BPF program sets ``optlen`` to -1, the control will be returned
30 Note, that ``optlen`` can not be increased beyond the user-supplied
31 value. It can only be decreased or set to -1. Any other value will
35 -----------
37 * ``0`` - reject the syscall, ``EPERM`` will be returned to the userspace.
38 * ``1`` - success, continue with next BPF program in the cgroup chain.
46 the values above, adjust ``optlen`` and reset ``retval`` to 0. If ``optlen``
[all …]

12345678910>>...19