/Linux-v6.1/Documentation/watchdog/ |
D | mlx-wdt.rst | 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. 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-v6.1/arch/mips/dec/ |
D | time.c | 1 // 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-v6.1/Documentation/devicetree/bindings/watchdog/ |
D | atmel,at91sam9-wdt.yaml | 1 # 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 …]
|
D | st_lpc_wdt.txt | 1 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 …]
|
D | realtek,otto-wdt.yaml | 1 # 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 <sander@svanheule.net> 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 …]
|
D | atmel,sama5d4-wdt.yaml | 1 # 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 <eugen.hristev@microchip.com> 13 - $ref: "watchdog.yaml#" 18 - atmel,sama5d4-wdt 19 - microchip,sam9x60-wdt 20 - microchip,sama7g5-wdt 28 atmel,watchdog-type: [all …]
|
/Linux-v6.1/arch/mips/include/asm/ |
D | mc146818-time.h | 13 #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-v6.1/Documentation/devicetree/bindings/input/ |
D | input.yaml | 1 # 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 …]
|
/Linux-v6.1/arch/powerpc/platforms/chrp/ |
D | time.c | 1 // 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-v6.1/drivers/scsi/fnic/ |
D | fnic_trace.c | 1 // 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 …]
|
/Linux-v6.1/arch/powerpc/platforms/maple/ |
D | time.c | 1 // 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | st,stpmic1.yaml | 1 # 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 …]
|
D | actions,atc260x.yaml | 1 # 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 …]
|
/Linux-v6.1/tools/testing/selftests/timers/ |
D | valid-adjtimex.c | 9 * 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 …]
|
D | leap-a-day.c | 9 * kernel's leap-second behavior, as well as how well applications 10 * handle the leap-second discontinuity. 12 * Usage: leap-a-day [-s] [-i <num>] 15 * -s: Each iteration, set the date to 10 seconds before midnight GMT. 18 * time by 24 hours every ~16 seconds, it may cause application 21 * -i: Number of iterations to run (default: infinite) 27 * $ gcc leap-a-day.c -o leap-a-day -lrt 44 #include <time.h> 45 #include <sys/time.h> 75 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add() [all …]
|
/Linux-v6.1/drivers/watchdog/ |
D | i6300esb.c | 1 // 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 …]
|
D | at91sam9_wdt.c | 1 // 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 …]
|
D | pcwd_pci.c | 1 // 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. 76 #define WD_PCI_R2DS 0x40 /* Relay 2 Disable Temperature-trip / 77 reset */ [all …]
|
D | sc520_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 13 * 9/27 - 2001 [Initial release] 16 * - Fixed formatting 17 * - Removed debug printks 18 * - Fixed SMP built kernel deadlock 19 * - Switched to private locks not lock_kernel 20 * - Used ioremap/writew/readw 21 * - Added NOWAYOUT support 22 * 4/12 - 2002 Changes by Rob Radez <rob@osinvestor.com> [all …]
|
/Linux-v6.1/Documentation/networking/dsa/ |
D | sja1105.rst | 8 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-v6.1/Documentation/devicetree/bindings/sound/ |
D | samsung-i2s.yaml | 1 # 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> 16 samsung,s3c6410-i2s: for 8/16/24bit stereo I2S. 18 samsung,s5pv210-i2s: for 8/16/24bit multichannel (5.1) I2S with 19 secondary FIFO, s/w reset control and internal mux for root clock 22 samsung,exynos5420-i2s: for 8/16/24bit multichannel (5.1) I2S for [all …]
|
/Linux-v6.1/drivers/rtc/ |
D | rtc-ds1511.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Real time clock driver for the Dallas 1511 chip, which also 149 * set wdog enable and wdog 'steering' bit to issue a reset in ds1511_wdog_set() 170 * set the rtc chip's idea of the time. 172 * and some call with year = year - 1900. thanks. 176 u8 mon, day, dow, hrs, min, sec, yrs, cen; in ds1511_rtc_set_time() local 182 if (rtc_tm->tm_year < 1900) in ds1511_rtc_set_time() 183 rtc_tm->tm_year += 1900; in ds1511_rtc_set_time() 185 if (rtc_tm->tm_year < 1970) in ds1511_rtc_set_time() 186 return -EINVAL; in ds1511_rtc_set_time() [all …]
|
/Linux-v6.1/drivers/block/drbd/ |
D | drbd_proc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 Copyright (C) 2001-2008, LINBIT Information Technologies GmbH. 8 Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. 9 Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. 28 /* v is in kB/sec. We don't expect TiByte/sec yet. */ in seq_printf_with_thousands_grouping() 44 /* this is to break it at compile time when we change that, in case we in drbd_get_syncer_progress() 46 typecheck(unsigned long, device->rs_total); in drbd_get_syncer_progress() 47 *rs_total = device->rs_total; in drbd_get_syncer_progress() 54 *bits_left = device->ov_left; in drbd_get_syncer_progress() 56 *bits_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_get_syncer_progress() [all …]
|
/Linux-v6.1/drivers/usb/chipidea/ |
D | otg_fsm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <linux/usb/otg-fsm.h> 14 * A-DEVICE timing constants 21 * Table 4-1: Electrical Characteristics 22 * ->DC Electrical Timing 28 /* Wait for B-Connect */ 31 * and 30000 ms, section 5.5, Table 5-1 33 /* A-Idle to B-Disconnect */ 35 * TA_AIDL_BDIS: section 5.5, Table 5-1 37 /* B-Idle to A-Disconnect */ [all …]
|
/Linux-v6.1/drivers/input/misc/ |
D | atc260x-onkey.c | 1 // SPDX-License-Identifier: GPL-2.0+ 80 reg_bm = onkey->params->long_int_pnd_bm | in atc2603x_onkey_hw_init() 81 onkey->params->short_int_pnd_bm | in atc2603x_onkey_hw_init() 82 onkey->params->kdwn_int_pnd_bm | in atc2603x_onkey_hw_init() 83 onkey->params->press_int_en_bm | in atc2603x_onkey_hw_init() 84 onkey->params->kdwn_int_en_bm; in atc2603x_onkey_hw_init() 87 reg_bm |= onkey->params->press_time_bm; in atc2603x_onkey_hw_init() 90 reg_bm |= onkey->params->reset_en_bm; in atc2603x_onkey_hw_init() 92 reg_bm |= onkey->params->reset_en_bm | in atc2603x_onkey_hw_init() 93 onkey->params->reset_time_bm; in atc2603x_onkey_hw_init() [all …]
|