/freebsd/sys/dev/iicbus/rtc/ |
H A D | nxprtc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 30 * Driver for NXP real-time clock/calendar chips: 31 * - PCF8563 = low power, countdown timer 32 * - PCA8565 = like PCF8563, automotive temperature range 33 * - PCF8523 = low power, countdown timer, oscillator freq tuning, 2 timers 34 * - PCF2127 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, 512B ram 35 * - PCA2129 = like PCF8523, automotive, tcxo, tamper/ts, i2c & spi, (note 1) 36 * - PCF2129 = like PCF8523, industrial, tcxo, tamper/ts, i2c & spi, (note 1) 40 * divider chain that clocks the time of day registers, and they start counting [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/input/ |
H A D | mtk-pmic-keys.txt | 6 of Muti-Function Device (MFD) 12 - compatible: Should be one of: 13 - "mediatek,mt6397-keys" 14 - "mediatek,mt6323-keys" 15 - "mediatek,mt6358-keys" 16 - linux,keycodes: See Documentation/devicetree/bindings/input/input.yaml 19 - wakeup-source: See Documentation/devicetree/bindings/power/wakeup-source.txt 20 - mediatek,long-press-mode: Long press key shutdown setting, 1 for 22 - power-off-time-sec: See Documentation/devicetree/bindings/input/input.yaml 32 compatible = "mediatek,mt6397-keys"; [all …]
|
H A 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 …]
|
H A D | mediatek,pmic-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml# 5 $schema: http://devicetree.org/meta-schema [all...] |
/freebsd/sys/contrib/device-tree/Bindings/crypto/ |
H A D | fsl-sec4.txt | 2 SEC 4 Device Tree Binding 3 Copyright (C) 2008-2011 Freescale Semiconductor Inc. 6 -Overview 7 -SEC 4 Node 8 -Job Ring Node 9 -Run Time Integrity Check (RTIC) Node 10 -Run Time Integrity Check (RTIC) Memory Node 11 -Secure Non-Volatile Storage (SNVS) Node 12 -Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node 13 -Full Example [all …]
|
/freebsd/sbin/shutdown/ |
H A D | shutdown.8 | 34 .Nd "close down the system at a given time" 47 .Ar time 48 .Op Ar warning-message ... 53 utility provides an automated shutdown procedure for super-users 63 .Bl -tag -width indent 65 The system is power cycled (power turned off and then back on) 66 at the specified time. 67 If the hardware doesn't support power cycle, the system will be 69 At the present time, only systems with BMC supported by the 72 The amount of time the system is off is dependent on the device [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mfd/ |
H A 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# 7 title: STMicroelectonics STPMIC1 Power Management IC 9 description: STMicroelectronics STPMIC1 Power Management IC 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 [all …]
|
H A 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# 7 title: Actions Semi ATC260x Power Management IC 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11 - Cristian Ciocaltea <cristian.ciocaltea@gmail.com> 14 ATC260x series PMICs integrates Audio Codec, Power Management, RTC, IR 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 [all …]
|
H A D | rohm,bd96801-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd96801-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ROHM BD96801 Scalable Power Management Integrated Circuit 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 13 BD96801 is an automotive grade single-chip power management IC. 15 over-/under voltage and over current detection and a watchdog. 27 for fatal IRQs which will cause the PMIC to shut down power outputs. 30 where the SoC is not powered by the PMIC or has a short time backup [all …]
|
/freebsd/usr.sbin/watchdogd/ |
H A D | watchdogd.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2003-2004 Sean M. Kelly <smkelly@FreeBSD.org> 41 #include <sys/time.h> 91 static int fd = -1; 92 static int carp_thresh_seconds = -1; 108 { "pretimeout-action", required_argument, &pretimeout_act_set, 1 }, 110 { "softtimeout-action", required_argument, &softtimeout_act_set, 1 }, 135 if (rtprio(RTP_SET, 0, &rtp) == -1) in main() 138 if (!is_dry_run && watchdog_init() == -1) in main() [all …]
|
/freebsd/share/doc/papers/timecounter/ |
H A D | timecounter.ms | 5 .\" ---------------------------------------------------------------------------- 6 .\" "THE BEER-WARE LICENSE" (Revision 42): 9 .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 10 .\" ---------------------------------------------------------------------------- 16 .A "Poul-Henning Kamp" "The FreeBSD Project" 18 The FreeBSD timecounters are an architecture-independent implementation 20 for tracking time. The binary timescale converts using simple 21 multiplication to canonical timescales based on micro- or nano-seconds 23 synchronisation. Timecounters are implemented using lock-less 24 stable-storage based primitives which scale efficiently in SMP [all …]
|
/freebsd/sys/contrib/dev/iwlwifi/fw/api/ |
H A D | power.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 5 * Copyright (C) 2015-2017 Intel Deutschland GmbH 10 /* Power Managemen [all...] |
/freebsd/sys/powerpc/pseries/ |
H A D | rtas_dev.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 86 device_set_desc(dev, "Run-Time Abstraction Services"); in rtasdev_probe() 93 if (rtas_token_lookup("get-time-of-day") != -1) in rtasdev_attach() 109 token = rtas_token_lookup("get-time-of-day"); in rtas_gettime() 110 if (token == -1) in rtas_gettime() 117 return ((tod[0] == -1) ? ENXIO : EAGAIN); in rtas_gettime() 124 ct.sec = tod[6]; in rtas_gettime() 137 token = rtas_token_lookup("set-time-of-day"); in rtas_settime() 138 if (token == -1) in rtas_settime() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | stm32mp157c-ed1.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxaa-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/mfd/st,stpmic1.h> 18 compatible = "st,stm32mp157c-ed1", "st,stm32mp157"; 25 stdout-path = "serial0:115200n8"; [all …]
|
H A D | stm32mp157c-odyssey-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 /dts-v1/; 10 #include "stm32mp15-pinctrl.dtsi" 11 #include "stm32mp15xxac-pinctrl.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-binding [all...] |
H A D | stm32mp15xx-dkx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2019 - All Rights Reserved 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/mfd/st,stpmic1.h> 22 reserved-memory { 23 #address-cell [all...] |
/freebsd/sys/dev/ipmi/ |
H A D | ipmi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 86 static int wd_shutdown_countdown = 0; /* sec */ 87 static int wd_startup_countdown = 0; /* sec */ 88 static int wd_pretimeout_countdown = 120; /* sec */ 89 static int cycle_wait = 10; /* sec */ 100 "IPMI watchdog timer actions (including pre-timeout interrupt)"); 109 "IPMI watchdog pre-timeout countdown (seconds)"); 112 "IPMI power cycle on reboot delay time (seconds)"); 142 sc = cdev->si_drv1; in ipmi_open() [all …]
|
/freebsd/contrib/ntp/include/ |
H A D | mbg_gps166.h | 2 …* /src/NTP/REPOSITORY/ntp4-dev/include/mbg_gps166.h,v 4.7 2006/06/22 18:41:43 kardel RELEASE_20060… 11 * Copyright (c) 1997-2005 by Frank Kardel <kardel <AT> ntp.org> 56 * standard time string automatically once per second, once per 77 * The Unix time_t epoch is usually 1970-01-01 00:00 whereas 78 * the GPS epoch is 1980-01-06 00:00, so the difference is 10 years, 80 * of the day-of-month (6 - 1), so:<br> 126 * @brief Enumeration of modes supported for time string transmission 128 * This determines e.g. at which point in time a string starts 199 * The individual command codes are marked with (rwa) accordingly, where '-' is used 217 GPS_AUTO_ON = 0x000, ///< (-w-) no data, enable auto-msgs from device [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_neoclock4x.c | 4 * - NeoClock4X driver for DCF77 or FIA Timecode 6 * Date: 2009-12-04 v1.16 20 #include <sys/time.h> 57 * NTP version 4.20 change the pp->msec field to pp->nsec. 75 * matches the firmware off your NeoClock4X receiver! 83 /* at this time only firmware version A is known */ 105 #define NEOCLOCK4X_DRIVER_VERSION "1.16 (2009-12-0 836 neol_mktime(int year,int mon,int day,int hour,int min,int sec) neol_mktime() argument 857 neol_localtime(unsigned long utc,int * year,int * month,int * day,int * hour,int * min,int * sec) neol_localtime() argument [all...] |
/freebsd/sbin/mount_nfs/ |
H A D | mount_nfs.8 | 71 For non-critical file systems, the 88 .Bl -tag -width indent 97 .Bl -tag -width indent 109 The default values are 3 -> 60 seconds 110 for regular files, and 30 -> 60 seconds for directories. 119 to specify that all operations should use the host-based initiator 124 If an initial attempt to contact the server fails, fork off a child to keep 132 fork off a child to keep trying the mount in the background, 139 such as cross-mounted servers (each of two servers is an NFS client of 148 Turn off the dynamic retransmit timeout estimator. [all …]
|
/freebsd/share/misc/ |
H A D | scsi_modes | 35 # 'i' is a byte-sized integral types, followed by a field width of 38 # 'b' is a bit-sized integral type 39 # 't' is a bitfield type- followed by a bit field width 42 # 'z' values are null-padded strings 81 {Extended Self-Test Completion Time} i2 95 0x02 "Disconnect-Reconnect" { 99 {Disconnect Time Limit} i2 100 {Connect Time Limit} i2 111 0x16 "Extended Device-Type Specific"; 121 0x1a "Power Condition" { [all …]
|
/freebsd/contrib/llvm-project/lld/COFF/ |
H A D | Chunks.cpp | 1 //===- Chunks.cpp ---------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 38 setRelocs(file->getCOFFObj()->getRelocations(header)); in SectionChunk() 43 if (Expected<StringRef> e = file->getCOFFObj()->getSectionName(header)) in SectionChunk() 49 setAlignment(header->getAlignment()); in SectionChunk() 51 hasData = !(header->Characteristics & IMAGE_SCN_CNT_UNINITIALIZED_DATA); in SectionChunk() 54 // enabled, treat non-comdat sections as roots. Generally optimized object in SectionChunk() 55 // files will be built with -ffunction-sections or /Gy, so most things worth in SectionChunk() 58 live = !file->ctx.config.doGC || !isCOMDAT(); in SectionChunk() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/mediatek/ |
H A D | mt6323.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2017-2018 MediaTek Inc. 12 interrupt-parent = <&pio>; 14 interrupt-controller; 15 #interrupt-cells = <2>; 18 compatible = "mediatek,mt6323-led"; 19 #address-cells = <1>; 20 #size-cell [all...] |
/freebsd/sys/powerpc/powermac/ |
H A D | pmu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 99 * Power interface 115 * List of battery-related sysctls we might ask for 176 /* Make sure uhid is loaded, as it turns off some of the ADB emulation */ 192 -1, -1, -1, -1, -1, -1, -1, -1, 193 -1, -1, -1, -1, -1, -1, -1, -1, 194 0x01, 0x01, -1, -1, -1, -1, -1, -1, 195 0x00, 0x00, -1, -1, -1, -1, -1, 0x00, 196 -1, 0x00, 0x02, 0x01, 0x01, -1, -1, -1, [all …]
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx6_snvs.c | 1 /*- 29 * Driver for imx6 Secure Non-Volatile Storage system, which really means "all 30 * the stuff that's powered by a battery when main power is off". This includes 31 * realtime clock, tamper monitor, and power-management functions. Currently 60 * The RTC is a 47-bit counter clocked at 32KHz and organized as a 32.15 61 * fixed-point binary value. Shifting by SBT_LSB bits translates between 66 #define SBT_LSB (SBT_BITS - RTC_BITS) 75 {"fsl,sec-v4.0-mon-rtc-lp", true}, 83 return (SYSCON_READ_4(sc->syscon, offset)); in RD4() 90 SYSCON_WRITE_4(sc->syscon, offset, value); in WR4() [all …]
|