Home
last modified time | relevance | path

Searched +full:power +full:- +full:off +full:- +full:time +full:- +full:sec (Results 1 – 25 of 126) sorted by relevance

123456

/freebsd-src/sys/dev/iicbus/rtc/
H A Dnxprtc.c1 /*-
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-src/sys/contrib/device-tree/Bindings/input/
H A Dmtk-pmic-keys.txt6 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 Dinput.yaml1 # 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 Dmediatek,pmic-keys.yaml1 # 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-schemas/core.yaml#
10 - Chen Zhong <chen.zhong@mediatek.com>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6331-keys
29 - mediatek,mt6357-keys
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/crypto/
H A Dfsl-sec4.txt2 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-src/sbin/shutdown/
H A Dshutdown.834 .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
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/
H A Dst,stpmic1.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
H A Dactions,atc260x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schema
[all...]
/freebsd-src/usr.sbin/watchdogd/
H A Dwatchdogd.c1 /*-
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-src/share/doc/papers/timecounter/
H A Dtimecounter.ms5 .\" ----------------------------------------------------------------------------
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-src/sys/contrib/dev/iwlwifi/fw/api/
H A Dpower.h1 /* 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-src/sys/powerpc/pseries/
H A Drtas_dev.c1 /*-
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-src/sys/contrib/device-tree/src/arm/st/
H A Dstm32mp157c-odyssey-som.dtsi1 // 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-bindings/leds/common.h>
14 #include <dt-bindings/mfd/st,stpmic1.h>
17 model = "Seeed Studio Odyssey-STM32MP157C SOM";
18 compatible = "seeed,stm32mp157c-odyssey-som", "st,stm32mp157";
25 reserved-memory {
[all …]
H A Dstm32mp15xx-dkx.dtsi1 // 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-cells = <1>;
24 #size-cells = <1>;
28 compatible = "shared-dma-pool";
30 no-map;
34 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp157c-ed1.dts1 // 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-binding
[all...]
/freebsd-src/sys/dev/ipmi/
H A Dipmi.c1 /*-
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-timeou
653 ipmi_set_watchdog(struct ipmi_softc * sc,unsigned int sec) ipmi_set_watchdog() argument
[all...]
/freebsd-src/contrib/ntp/include/
H A Dmbg_gps166.h2 …* /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-src/contrib/ntp/ntpd/
H A Drefclock_neoclock4x.c4 * - 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-04)"
176 (void) snprintf(dev, sizeof(dev)-1, "/dev/neoclock4x-%d", unit); in neoclock4x_start()
181 fd = refclock_open(&peer->srcadr, dev, B2400, LDISC_STD); in neoclock4x_start()
260 /* turn on RTS, and DTR for power supply */ in neoclock4x_start()
[all …]
/freebsd-src/sbin/mount_nfs/
H A Dmount_nfs.871 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
[all...]
/freebsd-src/contrib/llvm-project/lld/COFF/
H A DChunks.cpp1 //===- Chunks.cpp ---------
77 checkSecRel(const SectionChunk * sec,OutputSection * os) checkSecRel() argument
86 applySecRel(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRel() argument
98 applySecIdx(uint8_t * off,OutputSection * os,unsigned numOutputSections) applySecIdx() argument
113 applyRelX64(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelX64() argument
140 applyRelX86(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelX86() argument
160 applyMOV(uint8_t * off,uint16_t v) applyMOV() argument
165 readMOV(uint8_t * off,bool movt) readMOV() argument
178 applyMOV32T(uint8_t * off,uint32_t v) applyMOV32T() argument
187 applyBranch20T(uint8_t * off,int32_t v) applyBranch20T() argument
197 applyBranch24T(uint8_t * off,int32_t v) applyBranch24T() argument
208 applyRelARM(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelARM() argument
240 applyArm64Addr(uint8_t * off,uint64_t s,uint64_t p,int shift) applyArm64Addr() argument
255 applyArm64Imm(uint8_t * off,uint64_t imm,uint32_t rangeLimit) applyArm64Imm() argument
270 applyArm64Ldr(uint8_t * off,uint64_t imm) applyArm64Ldr() argument
282 applySecRelLow12A(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelLow12A() argument
288 applySecRelHigh12A(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelHigh12A() argument
301 applySecRelLdr(const SectionChunk * sec,uint8_t * off,OutputSection * os,uint64_t s) applySecRelLdr() argument
307 applyArm64Branch26(uint8_t * off,int64_t v) applyArm64Branch26() argument
313 applyArm64Branch19(uint8_t * off,int64_t v) applyArm64Branch19() argument
319 applyArm64Branch14(uint8_t * off,int64_t v) applyArm64Branch14() argument
325 applyRelARM64(uint8_t * off,uint16_t type,OutputSection * os,uint64_t s,uint64_t p,uint64_t imageBase) const applyRelARM64() argument
415 applyRelocation(uint8_t * off,const coff_relocation & rel) const applyRelocation() argument
477 writeAndRelocateSubsection(ArrayRef<uint8_t> sec,ArrayRef<uint8_t> subsec,uint32_t & nextRelocIndex,uint8_t * buf) const writeAndRelocateSubsection() argument
809 int64_t off = impSymbol->getRVA() & 0xfff; writeTo() local
1046 size_t off = builder.getOffset(toStringRef(c->getContents())); assignSubsectionRVAs() local
[all...]
/freebsd-src/share/misc/
H A Dscsi_modes35 # '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-src/sys/contrib/device-tree/src/arm/mediatek/
H A Dmt6323.dtsi1 // 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-cells = <0>;
25 compatible = "mediatek,mt6323-regulator";
28 regulator-name = "vproc";
[all …]
/freebsd-src/sys/arm/freescale/imx/
H A Dimx6_snvs.c1 /*-
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 …]
/freebsd-src/sys/dev/pccbb/
H A Dpccbb_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2000-2001 Jonathan Chen All rights reserved.
5 * Copyright (c) 2002-2004 M. Warner Losh <imp@FreeBSD.org>
30 /*-
65 * http://www-s.ti.com/cgi-bi
[all...]
/freebsd-src/sys/powerpc/powermac/
H A Dpmu.c1 /*-
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, -
1087 uint32_t sec; pmu_gettime() local
1104 uint32_t sec; pmu_settime() local
[all...]

123456