/linux-6.14.4/drivers/watchdog/ |
D | dw_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 2010-2011 Picochip Ltd., Jamie Iles 7 * in the many subsystems. The watchdog has 16 different timeout periods 51 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */ 78 unsigned int sec; member 93 u32 timeout; member 104 return readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET) & in dw_wdt_is_enabled() 112 val = readl(dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode() 117 writel(val, dw_wdt->regs + WDOG_CONTROL_REG_OFFSET); in dw_wdt_update_mode() 119 dw_wdt->rmod = rmod; in dw_wdt_update_mode() [all …]
|
D | uniphier_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 35 #define SEC_TO_WDTTIMSET_PRD(sec) \ argument 36 (ilog2(sec) + WDTTIMSET_PERIOD_1_SEC) 44 static unsigned int timeout = 0; variable 62 ret = regmap_write_bits(wdev->regmap, WDTCTRL, in uniphier_watchdog_ping() 69 ret = regmap_read_poll_timeout(wdev->regmap, WDTCTRL, val, in uniphier_watchdog_ping() 76 static int __uniphier_watchdog_start(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_start() argument 89 SEC_TO_WDTTIMSET_PRD(sec)); in __uniphier_watchdog_start() 113 static int __uniphier_watchdog_restart(struct regmap *regmap, unsigned int sec) in __uniphier_watchdog_restart() argument 121 return __uniphier_watchdog_start(regmap, sec); in __uniphier_watchdog_restart() [all …]
|
D | watchdog_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright 2008-2011 Alan Cox <[email protected]>, 8 * (c) Copyright 2008-2011 Wim Van Sebroeck <[email protected]>. 22 * This material is provided "AS-IS" and at no charge. 29 #include <linux/errno.h> /* For the -ENODEV/... values */ 46 static int stop_on_reboot = -1; 69 list_add_tail(&wdd->deferred, in watchdog_deferred_registration_add() 82 list_del(&wdd_tmp->deferred); in watchdog_deferred_registration_del() 91 * Check that we have valid min and max timeout values, if in watchdog_check_min_max_timeout() 94 if (!wdd->max_hw_heartbeat_ms && wdd->min_timeout > wdd->max_timeout) { in watchdog_check_min_max_timeout() [all …]
|
D | menf21bmc_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 #define BMC_WD_TIMEOUT_MIN 1 /* in sec */ 26 #define BMC_WD_TIMEOUT_MAX 6553 /* in sec */ 42 rst_rsn = i2c_smbus_read_byte_data(data->i2c_client, BMC_CMD_RST_RSN); in menf21bmc_wdt_set_bootstatus() 47 data->wdt.bootstatus |= WDIOF_CARDRESET; in menf21bmc_wdt_set_bootstatus() 49 data->wdt.bootstatus |= WDIOF_EXTERN1; in menf21bmc_wdt_set_bootstatus() 51 data->wdt.bootstatus |= WDIOF_EXTERN2; in menf21bmc_wdt_set_bootstatus() 53 data->wdt.bootstatus |= WDIOF_POWERUNDER; in menf21bmc_wdt_set_bootstatus() 62 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_ON); in menf21bmc_wdt_start() 69 return i2c_smbus_write_byte_data(drv_data->i2c_client, in menf21bmc_wdt_stop() [all …]
|
D | lenovo_se10_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 36 #define DRVNAME "lenovo-se10-wdt" 38 /*The timeout range is 1-255 seconds*/ 43 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 47 static int timeout; /* in seconds */ variable 48 module_param(timeout, int, 0); 49 MODULE_PARM_DESC(timeout, 50 "Watchdog timeout in seconds. 1 <= timeout <= 255, default=" 66 return -EBUSY; in set_bram() 109 static int wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) in wdt_set_timeout() argument [all …]
|
D | w83627hf_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 * (c) Copyright 2000-2001 Marek Michalkiewicz <[email protected]> 23 * "AS-IS" and at no charge. 40 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 43 static int cr_wdt_timeout; /* WDT timeout register */ 54 static int timeout; /* in seconds */ variable 55 module_param(timeout, int, 0); 56 MODULE_PARM_DESC(timeout, 57 "Watchdog timeout in seconds. 1 <= timeout <= 255, default=" 135 return -EBUSY; in superio_enter() [all …]
|
D | wafer5823wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * (c) Copyright 2002 Justin Cormack <justin@street-vision.com> 14 * (c) Copyright 1996-1997 Alan Cox <[email protected]>, 19 * "AS-IS" and at no charge. 42 #define WD_TIMO 60 /* 60 sec default timeout */ 49 * You must set these - there is no sane way to probe for this board. 51 * To enable, write the timeout value in seconds (1 to 255) to I/O 60 static int timeout = WD_TIMO; /* in seconds */ variable 61 module_param(timeout, int, 0); 62 MODULE_PARM_DESC(timeout, [all …]
|
D | advantechwdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (c) Copyright 2000-2001 Marek Michalkiewicz <[email protected]> 15 * "AS-IS" and at no charge. 19 * 14-Dec-2001 Matt Domsch <[email protected]> 22 * 16-Oct-2002 Rob Radez <[email protected]> 44 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */ 52 * You must set these - there is no sane way to probe for this board. 54 * To enable or restart, write the timeout value in seconds (1 to 63) 56 * Both are 0x443 for most boards (tested on a PCA-6276VE-00B1), but 57 * check your manual (at least the PCA-6159 seems to be different - [all …]
|
D | at91sam9_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2008 Renaud CERRATO r.cerrato@til-technologies.fr 11 * timeout need to be set from Linux, be sure that the bootstrap or the 41 readl_relaxed((wdt)->base + (field)) 43 writel_relaxed((val), (wdt)->base + (field)) 52 #define secs_to_ticks(s) ((s) ? (((s) << 8) - 1) : 0) 62 /* Hardware timeout in seconds */ 68 /* User land timeout */ 123 if (time_before(jiffies, wdt->next_heartbeat) || in at91_ping() 124 !watchdog_active(&wdt->wdd)) { in at91_ping() [all …]
|
/linux-6.14.4/Documentation/watchdog/ |
D | mlx-wdt.rst | 16 Actual HW timeout can be defined as a power of 2 msec. 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. 28 Same as Type 2 with extended maximum timeout period. 29 Maximum timeout is 65535 sec. [all …]
|
/linux-6.14.4/drivers/staging/gpib/uapi/ |
D | gpib_user.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 39 CIC = (1 << CIC_NUM), /* GPIB interface is Controller-in-Charge */ 65 ENEB = 7, /* non-existent board (GPIB interface offline) */ 76 /* Timeout values and meanings */ 78 TNONE = 0, /* Infinite timeout (disabled) */ 79 T10us = 1, /* Timeout of 10 usec (ideal) */ 80 T30us = 2, /* Timeout of 30 usec (ideal) */ 81 T100us = 3, /* Timeout of 100 usec (ideal) */ 82 T300us = 4, /* Timeout of 300 usec (ideal) */ 83 T1ms = 5, /* Timeout of 1 msec (ideal) */ [all …]
|
/linux-6.14.4/tools/testing/selftests/bpf/ |
D | test_tc_edt.sh | 2 # SPDX-License-Identifier: GPL-2.0 9 if [[ $EUID -ne 0 ]]; then 15 # check that nc, dd, and timeout are present 16 command -v nc >/dev/null 2>&1 || \ 18 command -v dd >/dev/null 2>&1 || \ 20 command -v timeout >/dev/null 2>&1 || \ 21 { echo >&2 "timeout is not available"; exit 1; } 23 readonly NS_SRC="ns-src-$(mktemp -u XXXXXX)" 24 readonly NS_DST="ns-dst-$(mktemp -u XXXXXX)" 37 set -e # exit on error [all …]
|
/linux-6.14.4/drivers/rtc/ |
D | rtc-mc146818-lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Execute a function while the UIP (Update-in-progress) bit of the RTC is 17 * unset. The timeout is configurable by the caller in ms. 22 int timeout, in mc146818_avoid_UIP() argument 29 for (i = 0; UIP_RECHECK_LOOPS_MS(i) < timeout; i++) { in mc146818_avoid_UIP() 91 * If the UIP (Update-in-progress) bit of the RTC is set for more then 119 * by the RTC when initially set to a non-zero value. in mc146818_get_time_callback() 121 p->time->tm_sec = seconds; in mc146818_get_time_callback() 122 p->time->tm_min = CMOS_READ(RTC_MINUTES); in mc146818_get_time_callback() 123 p->time->tm_hour = CMOS_READ(RTC_HOURS); in mc146818_get_time_callback() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/watchdog/ |
D | ts4800-wdt.txt | 4 - compatible: must be "technologic,ts4800-wdt" 5 - syscon: phandle / integer array that points to the syscon node which 7 - phandle to FPGA's syscon 8 - offset to the watchdog register 11 - timeout-sec: contains the watchdog timeout in seconds. 16 compatible = "syscon", "simple-mfd"; 18 reg-io-width = <2>; 21 compatible = "technologic,ts4800-wdt"; 23 timeout-sec = <10>;
|
D | marvel.txt | 5 - Compatibility : "marvell,orion-wdt" 6 "marvell,armada-370-wdt" 7 "marvell,armada-xp-wdt" 8 "marvell,armada-375-wdt" 9 "marvell,armada-380-wdt" 11 - reg : Should contain two entries: first one with the 15 For "marvell,armada-375-wdt" and "marvell,armada-380-wdt": 17 - reg : A third entry is mandatory and should contain the 20 Clocks required for compatibles = "marvell,orion-wdt", 21 "marvell,armada-370-wdt": [all …]
|
D | st_lpc_wdt.txt | 1 STMicroelectronics Low Power Controller (LPC) - Watchdog 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 26 - timeout-sec : Watchdog timeout in seconds [all …]
|
D | mediatek,mtk-wdt.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/watchdog/mediatek,mtk-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matthias Brugger <[email protected]> 13 The watchdog supports a pre-timeout interrupt that fires 14 timeout-sec/2 before the expiry. 17 - $ref: watchdog.yaml# 22 - enum: 23 - mediatek,mt2712-wdt [all …]
|
D | sprd,sp9860-wdt.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/watchdog/sprd,sp9860-wdt.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <[email protected]> 11 - Baolin Wang <[email protected]> 12 - Chunyan Zhang <[email protected]> 15 - $ref: watchdog.yaml# 19 const: sprd,sp9860-wdt 30 clock-names: [all …]
|
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 <[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 …]
|
/linux-6.14.4/init/ |
D | do_mounts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 75 root_wait = -1; in rootwait_setup() 83 int sec; in rootwait_timeout_setup() local 85 if (kstrtoint(str, 0, &sec) || sec < 0) { in rootwait_timeout_setup() 90 if (check_mul_overflow(sec, MSEC_PER_SEC, &root_wait)) { in rootwait_timeout_setup() 99 root_wait = -1; in rootwait_timeout_setup() 139 if (p[-1] == ',') { in split_fs_names() 140 p[-1] = '\0'; in split_fs_names() 160 return -ENOMEM; in do_mount_root() 170 s = current->fs->pwd.dentry->d_sb; in do_mount_root() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/misc/ |
D | qemu,vcpu-stall-detector.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/misc/qemu,vcpu-stall-detector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Sebastian Ene <[email protected]> 19 - qemu,vcpu-stall-detector 24 clock-frequency: 35 timeout-sec: 37 The stall detector expiration timeout measured in seconds. 43 - compatible [all …]
|
/linux-6.14.4/drivers/scsi/ |
D | sr_vendor.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* -*-linux-c-*- 4 * vendor-specific code for SCSI CD-ROM's goes here. 7 * the like) are too new to be included into the SCSI-II standard (to 10 * Aug 1997: Ha! Got a SCSI-3 cdrom spec across my fingers. SCSI-3 does 13 * Rearranged stuff here: SCSI-3 is included allways, support 16 * Gerd Knorr <[email protected]-berlin.de> 18 * -------------------------------------------------------------------------- 20 * support for XA/multisession-CD's 22 * - NEC: Detection and support of multisession CD's. [all …]
|
/linux-6.14.4/drivers/net/ethernet/cavium/liquidio/ |
D | octeon_main.h | 7 * Copyright (c) 2003-2016 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 47 * Bytes offset below assume worst-case of a 64-bit system. 50 /** Bytes 1-8. Pointer to network device private structure. */ 53 /** Bytes 9-16. Pointer to sk_buff. */ 56 /** Bytes 17-24. Pointer to gather list. */ 59 /** Bytes 25-32. Physical address of skb->data or gather list. */ 62 /** Bytes 33-47. Piggybacked soft command, if any */ 66 /* BQL-related functions */ 83 blocks--; in octeon_swap_8B_data() [all …]
|
/linux-6.14.4/include/uapi/linux/ |
D | if_slip.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 23 #define SIOCSKEEPALIVE (SIOCDEVPRIVATE) /* Set keepalive timeout in sec */ 24 #define SIOCGKEEPALIVE (SIOCDEVPRIVATE+1) /* Get keepalive timeout */ 25 #define SIOCSOUTFILL (SIOCDEVPRIVATE+2) /* Set outfill timeout */ 26 #define SIOCGOUTFILL (SIOCDEVPRIVATE+3) /* Get outfill timeout */
|
/linux-6.14.4/include/media/ |
D | dvb_demux.h | 4 * Copyright (C) 2000-2001 Marcus Metzler & Ralph Metzler 30 * enum dvb_dmx_filter_type - type of demux feed. 41 * enum dvb_dmx_state - state machine for a demux filter. 64 * struct dvb_demux_filter - Describes a DVB demux section filter. 95 * struct dvb_demux_feed - describes a DVB field 99 * @feed.ts or @feed.sec. 102 * @feed.sec: a &struct dmx_section_feed pointer. 106 * @cb.ts or @cb.sec. 109 * @cb.sec: a dmx_section_cb() callback function pointer. 116 * @timeout: feed timeout. [all …]
|