| /OK3568_Linux_fs/kernel/drivers/watchdog/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | bd70528_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/mfd/rohm-bd70528.h> 15 * Max time we can set is 1 hour, 59 minutes and 59 seconds 18 #define WDT_MAX_MS ((2 * 60 * 60 - 1) * 1000) 33 * bd70528_wdt_set - arm or disarm watchdog timer 52 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set() 79 ret = regmap_write(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, in bd70528_wdt_set() 85 ret = regmap_read(bd70528->chip.regmap, BD70528_REG_WDT_CTRL, &tmp); in bd70528_wdt_set() 87 dev_err(bd70528->chip.dev, in bd70528_wdt_set() 90 ret = -EIO; in bd70528_wdt_set() [all …]
|
| H A 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. 37 MODULE_AUTHOR("Jorge Boncompte - DTI2 <jorge@dti2.net>"); 54 /* Dog Food address - We use the game port address */ 73 #define WDT_TIMEOUT 0x73 /* WDT Register: Timeout Value */ 80 #define WDT_UNIT_SEC 0x80 /* If 0 in MINUTES */ 82 #define WDT_OUT_PWROK 0x10 /* Pulse PWROK on timeout */ [all …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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 64 static int riowd_timeout = 1; /* in minutes */ 66 MODULE_PARM_DESC(riowd_timeout, "Watchdog timeout in minutes"); 72 spin_lock_irqsave(&p->lock, flags); in riowd_writereg() 73 writeb(index, p->regs + 0); in riowd_writereg() [all …]
|
| H A 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 …]
|
| H A D | ux500_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 20 #include <linux/mfd/dbx500-prcmu.h> 22 #define WATCHDOG_TIMEOUT 600 /* 10 minutes */ 28 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 29 module_param(timeout, uint, 0); 30 MODULE_PARM_DESC(timeout, 31 "Watchdog timeout in seconds. default=" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/ABI/testing/ |
| H A 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.
|
| /OK3568_Linux_fs/device/rockchip/common/overlays/overlay-yocto/etc/xdg/weston/ |
| H A D | weston.ini | 2 backend=drm-backend.so 5 require-input=false 7 # Disable screen idle timeout by default 8 idle-time=0 10 # The repaint-window is used to calculate repaint delay(ms) after flipped. 12 # value > 0: delay = vblank_duration - value 13 repaint-window=-1 16 # gbm-format=argb8888 20 # panel-position=none 23 panel-scale=3 [all …]
|
| /OK3568_Linux_fs/buildroot/board/forlinx/common/base/etc/xdg/weston/ |
| H A D | weston.ini | 2 backend=drm-backend.so 5 require-input=false 7 # Disable screen idle timeout by default 8 idle-time=0 10 # The repaint-window is used to calculate repaint delay(ms) after flipped. 12 # value > 0: delay = vblank_duration - value 13 repaint-window=-1 16 # gbm-format=argb8888 20 panel-position=none 23 # panel-scale=3 [all …]
|
| /OK3568_Linux_fs/buildroot/board/rockchip/common/base/etc/xdg/weston/ |
| H A D | weston.ini | 2 backend=drm-backend.so 5 require-input=false 7 # Disable screen idle timeout by default 8 idle-time=0 10 # The repaint-window is used to calculate repaint delay(ms) after flipped. 12 # value > 0: delay = vblank_duration - value 13 repaint-window=-1 16 # gbm-format=argb8888 20 panel-position=none 23 # panel-scale=3 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/ |
| H A D | ftsteutates.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/hwmon-sysfs.h> 61 minutes = 60 enumerator 102 struct fts_data *data = dev_get_drvdata(&client->dev); in fts_read_byte() 104 mutex_lock(&data->access_lock); in fts_read_byte() 106 dev_dbg(&client->dev, "page select - page: 0x%.02x\n", page); in fts_read_byte() 113 dev_dbg(&client->dev, "read - reg: 0x%.02x: val: 0x%.02x\n", reg, ret); in fts_read_byte() 116 mutex_unlock(&data->access_lock); in fts_read_byte() 125 struct fts_data *data = dev_get_drvdata(&client->dev); in fts_write_byte() 127 mutex_lock(&data->access_lock); in fts_write_byte() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A 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" 43 * The list must end with -1 56 quirks = dmi->driver_data; in dmi_matched() 62 * is used then BIOS silently set timeout to 0 without any error message. 66 .kbd_timeouts = { 0, 5, 15, 60, 5 * 60, 15 * 60, -1 }, 83 .name = "dell-laptop", 343 buffer->input[0] = arg0; in dell_fill_request() [all …]
|
| /OK3568_Linux_fs/kernel/tools/memory-model/scripts/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/admin-guide/laptops/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/mmc/ |
| H A 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
|
| /OK3568_Linux_fs/buildroot/dl/unixbench/git/UnixBench/src/ |
| H A D | dummy.c | 2 * The BYTE UNIX Benchmarks - Release 3 13 * 10/22/97 - code cleanup to remove ANSI C compiler warnings 24 char SCCSid[] = "@(#) @(#)dummy.c:3.3 -- 5/15/91 19:30:19"; 94 while (argc > 1 && argv[1][0] == '-') { 96 argc--; 102 argc--; 126 fprintf(stderr, "%s: impossible nusers (%d<-%s)\n", prog, nusers, argv[1]); 130 argc--; 150 nchild = nusers - MAXCHILD; 151 if ((l = fork()) == -1) { [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/ |
| H A D | act8945a-charger.txt | 1 Device-Tree bindings for charger of Active-semi ACT8945A Multi-Function Device 4 - compatible: "active-semi,act8945a-charger". 5 - active-semi,chglev-gpios: charge current level phandle with args 7 - active-semi,lbo-gpios: specify the low battery voltage detect phandle 9 - interrupts: <a b> where a is the interrupt number and b is a 14 - active-semi,input-voltage-threshold-microvolt: unit: mV; 15 Specifies the charger's input over-voltage threshold value; 17 - active-semi,precondition-timeout: unit: minutes; 21 - active-semi,total-timeout: unit: hours; 28 compatible = "active-semi,act8945a"; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/storage/ |
| H A 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 …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/runtime/cases/ |
| H A D | systemd.py | 2 # SPDX-License-Identifier: MIT 21 cmd = 'SYSTEMD_BUS_TIMEOUT=240s systemctl status --full %s' % target 32 -args, an optional argument pass through argument 33 -l_match_units, an optional list of units to filter the output 35 -string output of the journalctl command 37 -AssertionError, on remote commands that fail 38 -ValueError, on a journalctl call with filtering by l_match_units that 49 raise AssertionError("Command '%s' returned non-zero exit " 51 if len(output) == 1 and "-- No entries --" in output: 61 or until two minutes has elapsed. [all …]
|