/linux-6.8/drivers/watchdog/ |
D | ebc-c384_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Watchdog timer driver for the WinSystems EBC-C384 18 #define MODULE_NAME "ebc-c384_wdt" 21 * The timeout value in minutes must fit in a single byte when sent to the 22 * watchdog timer; the maximum timeout possible is 15300 (255 * 60) seconds. 35 static unsigned timeout; variable 36 module_param(timeout, uint, 0); 37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default=" 42 unsigned t = wdev->timeout; in ebc_c384_wdt_start() 44 /* resolution is in minutes for timeouts greater than 255 seconds */ in ebc_c384_wdt_start() [all …]
|
D | wdt977.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * ----------------------- 9 * ----------------------- 10 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 12 * 19-Dec-2001 Woody Suwalski: Netwinder fixes, ioctl interface 13 * 06-Jan-2002 Woody Suwalski: For compatibility, convert all timeouts 14 * from minutes to seconds. 15 * 07-Jul-2003 Daniele Bellucci: Audit return code of misc_register in 17 * 25-Oct-2005 Woody Suwalski: Convert addresses to #defs, add spinlocks 38 #include <asm/mach-types.h> [all …]
|
D | db8500_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2011-2013 5 * Author: Mathieu Poirier <mathieu.poirier@linaro.org> for ST-Ericsson 6 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson 19 #include <linux/mfd/dbx500-prcmu.h> 21 #define WATCHDOG_TIMEOUT 600 /* 10 minutes */ 26 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 27 module_param(timeout, uint, 0); 28 MODULE_PARM_DESC(timeout, 29 "Watchdog timeout in seconds. default=" [all …]
|
D | it8712f_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2006-2007 Jorge Boncompte - DTI2 <jorge@dti2.net> 11 * IT8712F EC-LPC I/O Preliminary Specification 0.8.2 12 * IT8712F EC-LPC I/O Preliminary Specification 0.9.3 16 * software is provided AS-IS with no warranties. 36 MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>"); 53 /* Dog Food address - We use the game port address */ 72 #define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */ 79 #define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */ 81 #define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */ [all …]
|
D | sch311x_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * sch311x_wdt.c - Driver for the SCH311x Super-I/O chips 10 * provided "AS-IS" and at no charge. 23 #include <linux/errno.h> /* For the -ENODEV/... values */ 30 #include <linux/ioport.h> /* For io-port access */ 66 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 67 static int timeout = WATCHDOG_TIMEOUT; /* in seconds */ variable 68 module_param(timeout, int, 0); 69 MODULE_PARM_DESC(timeout, 70 "Watchdog timeout in seconds. 1<= timeout <=15300, default=" [all …]
|
D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 33 * reset the system (causing a reboot) after the timeout occurs. 38 * For an example userspace keep-alive daemon, see: 60 /* enable support for minutes as units? */ 77 static int timeout = 60; /* timeout value: default is 60 "units" */ variable 86 /* -- Low level function ----------------------------------------*/ [all …]
|
D | riowd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* riowd.c - driver for hw watchdog inside Super I/O of RIO 28 * trigger a power-on reset when the signal is asserted. The BBC 32 * 0x05 (WDTO_INDEX) which is the watchdog time-out in minutes (1-255). 35 * re-set the watchdog else it will trigger. 39 * the watchdog control and can be used to make the watchdog timer re-set 63 static int riowd_timeout = 1; /* in minutes */ 65 MODULE_PARM_DESC(riowd_timeout, "Watchdog timeout in minutes"); 71 spin_lock_irqsave(&p->lock, flags); in riowd_writereg() 72 writeb(index, p->regs + 0); in riowd_writereg() [all …]
|
D | pc87413_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x 12 * This material is provided "AS-IS" and at no charge. 42 #define DPFX MODNAME " - DEBUG: " 48 #define WDCTL 0x10 /* Watchdog-Timer-Control-Register */ 49 #define WDTO 0x11 /* Watchdog timeout register */ 55 static int swc_base_addr = -1; 57 static int timeout = DEFAULT_TIMEOUT; /* timeout value */ variable 66 /* -- Low level function ----------------------------------------*/ 110 pr_info(DPFX "pc87413 - Enable SWC functions\n"); in pc87413_enable_swc() [all …]
|
D | sc1200wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * software is provided AS-IS with no warranties. 49 #define MAX_TIMEOUT 255 /* 255 minutes */ 59 #define WDTO 0x05 /* Watchdog timeout register */ 63 /* WDCF bitfields - which devices assert WDO */ 68 /* 5 -7 are reserved */ 70 static int timeout = 1; variable 71 static int io = -1; 88 module_param(timeout, int, 0); 89 MODULE_PARM_DESC(timeout, "range is 0-255 minutes, default is 1"); [all …]
|
D | advantech_ec_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 #define MAX_TIME 6000 /* 100 minutes */ 47 static unsigned int timeout; variable 50 module_param(timeout, uint, 0); 51 MODULE_PARM_DESC(timeout, 62 time_delta = EC_MIN_DELAY - time_delta; in adv_ec_wdt_timing_gate() 111 wdd->timeout = t; in adv_ec_wdt_set_timeout() 117 adv_ec_wdt_set_timeout(wdd, wdd->timeout); in adv_ec_wdt_start() 150 .timeout = DEFAULT_TIME, 156 dev_err(dev, "Unable to lock port addresses (0x%X-0x%X)\n", in adv_ec_wdt_probe() [all …]
|
/linux-6.8/Documentation/devicetree/bindings/power/supply/ |
D | active-semi,act8945a-charger.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/supply/active-semi,act8945a-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Active-semi ACT8945A Charger Function 10 - Sebastian Reichel <sre@kernel.org> 13 - $ref: power-supply.yaml# 17 const: active-semi,act8945a-charger 22 active-semi,chglev-gpios: 26 active-semi,lbo-gpios: [all …]
|
/linux-6.8/Documentation/ABI/testing/ |
D | sysfs-platform-dell-laptop | 31 enabled are preceded by '+', those disabled by '-'. 35 by '-' instead. 43 echo -keyboard > /sys/class/leds/dell::kbd_backlight/start_triggers 55 The timeouts are expressed in seconds, minutes, hours and 59 To configure the timeout, write to this file a value along 63 For example, to set the timeout to 10 minutes run:: 68 expressed in a different unit than the one used when the timeout 72 some systems might fall back to a specific timeout in case 73 an invalid timeout is written to this file.
|
/linux-6.8/drivers/hwmon/ |
D | ftsteutates.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 minutes = 60 enumerator 101 struct fts_data *data = dev_get_drvdata(&client->dev); in fts_read_byte() 103 mutex_lock(&data->access_lock); in fts_read_byte() 105 dev_dbg(&client->dev, "page select - page: 0x%.02x\n", page); in fts_read_byte() 112 dev_dbg(&client->dev, "read - reg: 0x%.02x: val: 0x%.02x\n", reg, ret); in fts_read_byte() 115 mutex_unlock(&data->access_lock); in fts_read_byte() 124 struct fts_data *data = dev_get_drvdata(&client->dev); in fts_write_byte() 126 mutex_lock(&data->access_lock); in fts_write_byte() 128 dev_dbg(&client->dev, "page select - page: 0x%.02x\n", page); in fts_write_byte() [all …]
|
/linux-6.8/tools/memory-model/scripts/ |
D | initlitmushist.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 4 # Runs the C-language litmus tests matching the specified criteria. 10 # Run from the Linux kernel tools/memory-model directory. 14 # the value of --procs rises. On a four-core (eight hardware threads) 15 # 2.5GHz x86 with a one-minute per-run timeout: 17 # --procs wallclock CPU timeouts tests 30 # Increasing the timeout on the 20-process run to five minutes increases 31 # the runtime to about 90 minutes with the CPU time rising to about 35 # completely, for example, litmus/manual/atomic/C-unlock-wait-00.litmus 42 trap 'rm -rf $T' 0 [all …]
|
D | README | 6 These scripts are run from the tools/memory-model directory. 10 Run all litmus tests in the litmus-tests directory, checking 17 archive that are C-language and that have "Result:" comment lines 36 followed by "--" followed by pathnames starting from the current 49 of processes given a specified timeout, recording the results 62 specified number of processes given a specified timeout, run 67 Parse command-line arguments. Not normally run manually, 83 # runs for about an hour on an 8-CPU x86 system: 84 scripts/initlitmushist.sh --timeout 10m --procs 10 86 git am -s -3 /path/to/patch # Or whatever it takes. [all …]
|
/linux-6.8/tools/testing/selftests/powerpc/tm/ |
D | tm-poison.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * vr31 remain 1 as expected until a given timeout (2m). If the issue is 74 * The Time Base (TB) is a 64-bit counter register that is in tm_poison_test() 78 * increments to get a 2 minutes timeout. Below we set that in tm_poison_test() 81 * to r6. When r7 (current) - r6 (initial) > 61440000000 we bail in tm_poison_test() 82 * out since for sure we spent already 2 minutes in the loop. in tm_poison_test() 91 " subf 7, 6, 7 ;" // r7 - r6 > 61440000000 ? in tm_poison_test() 99 " beq 1b ;" // restart if no timeout in tm_poison_test() 102 " bne 2f ;" // broken :-( in tm_poison_test() 139 " subf 7, 6, 7 ;" // r7 - r6 > 61440000000 ? in tm_poison_test() [all …]
|
/linux-6.8/Documentation/driver-api/mmc/ |
D | mmc-dev-attrs.rst | 11 force_ro Enforce read-only access even if write protect switch is off. 17 All attributes are read-only. 52 if the card is block-addressed, 0 otherwise. 62 duration of the erase - which could be a several 63 minutes. 65 3. The erase timeout becomes too large to be very 66 useful. Because the erase timeout contains a margin 68 the value can end up being several minutes for large 76 For MMC, "preferred_erase_size" is the high-capacity
|
/linux-6.8/Documentation/admin-guide/laptops/ |
D | laptop-mode.rst | 2 How to conserve battery power using laptop-mode 12 ------------ 31 ------------ 41 located in /etc/default/laptop-mode on Debian-based systems, or in 42 /etc/sysconfig/laptop-mode on other systems. 52 ------- 55 minutes of work. If you cannot afford this, don't use it! The supplied ACPI 64 * If you mount some of your ext3/reiserfs filesystems with the -n option, then 67 wrong options -- or it will fail because it cannot write to /etc/mtab. 80 ----------- [all …]
|
/linux-6.8/drivers/platform/x86/dell/ |
D | dell-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Copyright (C) 2005-2014 Dell Inc. 31 #include "dell-rbtn.h" 32 #include "dell-smbios.h" 34 #include "dell-wmi-privacy.h" 45 * The list must end with -1 58 quirks = dmi->driver_data; in dmi_matched() 64 * is used then BIOS silently set timeout to 0 without any error message. 68 .kbd_timeouts = { 0, 5, 15, 60, 5 * 60, 15 * 60, -1 }, 89 .name = "dell-laptop", [all …]
|
/linux-6.8/drivers/scsi/ |
D | imm.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 * 10 Apr 1998 (Good Friday) - Received EN144302 by email from Iomega. 22 * --- SNIP --- 31 * Ten minutes later after a few fixes.... (LITERALLY!!!) 33 * ----- It actually works!!! ----- 36 * Twenty minutes of mucking around, rearanged the IEEE negotiate mechanism. 40 * Thirty minutes of further coding results in EPP working on my machine. 52 * Err.. It appears that imm-2.00 was broken.... 63 * Fix kernel panic on scsi timeout. 20Aug00 [2.04] 68 /* ------ END OF USER CONFIGURABLE PARAMETERS ----- */ [all …]
|
/linux-6.8/tools/testing/kunit/ |
D | run_checks.py | 2 # SPDX-License-Identifier: GPL-2.0 20 TIMEOUT = datetime.timedelta(minutes=5).total_seconds() variable 24 …'kunit smoke test': ['./kunit.py', 'run', '--kunitconfig=lib/kunit', '--build_dir=kunit_run_checks… 25 'pytype': ['/bin/sh', '-c', 'pytype *.py'], 26 …'mypy': ['mypy', '--config-file', 'mypy.ini', '--exclude', '_test.py$', '--exclude', 'qemu_configs… 36 def main(argv: Sequence[str]) -> None: 76 def run_cmd(argv: Sequence[str]) -> None: 77 subprocess.check_output(argv, stderr=subprocess.STDOUT, cwd=ABS_TOOL_PATH, timeout=TIMEOUT)
|
/linux-6.8/include/linux/mfd/ |
D | intel-m10-bmc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2020 Intel Corporation, Inc. 101 /* interval 100ms and timeout 5s */ 105 /* RSU PREP Timeout (2 minutes) to erase flash staging area */ 109 /* RSU Complete Timeout (40 minutes) for full flash update */ 188 * struct m10bmc_csr_map - Intel MAX 10 BMC CSR register map 211 * struct intel_m10bmc_platform_info - Intel MAX 10 BMC platform specific information 229 * struct intel_m10bmc_flash_bulk_ops - device specific operations for flash R/W 236 * is locked, @read returns -EBUSY. 253 * struct intel_m10bmc - Intel MAX 10 BMC parent driver data structure [all …]
|
/linux-6.8/drivers/usb/storage/ |
D | shuttle_usbat.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Driver for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable 20 * which does the USB-to-ATAPI conversion. By obtaining the data sheet on 46 #define DRV_NAME "ums-usbat" 48 MODULE_DESCRIPTION("Driver for SCM Microsystems (a.k.a. Shuttle) USB-ATAPI cable"); 216 return ((struct usbat_info*)us->extra)->devicetype; in usbat_get_device_type() 228 us->recv_ctrl_pipe, in usbat_read() 246 us->send_ctrl_pipe, in usbat_write() 267 return usb_stor_bulk_transfer_sg(us, us->recv_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_read() 282 return usb_stor_bulk_transfer_sg(us, us->send_bulk_pipe, buf, len, use_sg, NULL); in usbat_bulk_write() [all …]
|
/linux-6.8/Documentation/watchdog/ |
D | watchdog-parameters.rst | 7 be listed here unless the driver has its own driver-specific information 10 See Documentation/admin-guide/kernel-parameters.rst for information on 14 ------------------------------------------------- 21 timeout. Setting this to a non-zero value can be useful to ensure that 25 ------------------------------------------------- 36 ------------------------------------------------- 43 timeout: 44 Watchdog timeout in seconds. 1<= timeout <=63, default=60. 49 ------------------------------------------------- 52 timeout: [all …]
|
/linux-6.8/net/netfilter/ |
D | nf_conntrack_proto_dccp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * - REQUEST: 31 * A client MAY give up on its DCCP-Requests after some time 32 * (3 minutes, for example). 34 * - RESPOND: 38 * It MAY also leave the RESPOND state for CLOSED after a timeout of 39 * not less than 4MSL (8 minutes); 41 * - PARTOPEN: 45 * If the client remains in PARTOPEN for more than 4MSL (8 minutes), 48 * - OPEN: [all …]
|