/linux/Documentation/admin-guide/ |
H A D | rtc.rst | 6 something that tracks wall clock time and is battery backed so that it 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 12 The newest non-PC hardware tends to just count seconds, like the time(2) 16 Linux has two largely-compatible userspace RTC API families you may 20 so it's not very portable to non-x86 systems. 35 Old PC/AT-Compatible driver: /dev/rtc 36 -------------------------------------- 44 a few ways (enabling longer alarm periods, and wake-from-hibernate). 59 the type of interrupt (update-done, alarm-rang, or periodic) that was [all …]
|
H A D | ext4.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 (64 bit) in keeping with increasing disk capacities and state-of-the-art 12 Mailing list: linux-ext4@vger.kernel.org 23 - The latest version of e2fsprogs can be found at: 35 - Create a new filesystem using the ext4 filesystem type: 37 # mke2fs -t ext4 /dev/hda1 41 # tune2fs -O extents /dev/hda1 46 # tune2fs -I 256 /dev/hda1 48 - Mounting: 50 # mount -t ext4 /dev/hda1 /wherever [all …]
|
H A D | devices.txt | 1 0 Unnamed devices (e.g. non-device mounts) 7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore 11 6 = /dev/core OBSOLETE - replaced by /proc/kcore 18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore 31 2 char Pseudo-TTY masters 37 Pseudo-tty's are named as follows: 40 the 1st through 16th series of 16 pseudo-ttys each, and 44 These are the old-style (BSD) PTY devices; Unix98 106 3 char Pseudo-TTY slaves 112 These are the old-style (BSD) PTY devices; Unix98 [all …]
|
/linux/drivers/mtd/devices/ |
H A D | ms02-nv.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * DEC MS02-NV (54-20948-01) battery backed-up NVRAM module for 16 * 0x000000 - 0x3fffff SRAM 17 * 0x400000 - 0x7fffff CSR 22 * 0x000000 - 0x0003ff diagnostic area, destroyed upon a reboot 23 * 0x000400 - ENDofRAM storage area, available to operating systems 29 * containing no valid data, and disables the battery resulting in 31 * for the start address of the user-available is 0x001000 which is 36 * operating system, a magic ID to distinguish a MS02-NV board from 42 * The firmware only handles the MS02-NV board if installed in the [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 menu "Self-contained MTD device drivers" 12 These devices come in memory configurations from 32M - 1G. If you 41 tristate "DEC MS02-NV NVRAM module support" 44 This is an MTD driver for the DEC's MS02-NV (54-20948-01) battery 45 backed-up NVRAM module. The module was originally meant as an NFS 52 The module will be called ms02-nv. 59 Sometimes DataFlash chips are packaged inside MMC-format 77 one-time-programmable (OTP) data. The first half may be written 80 unique-to-each-chip bit pattern at the factory. [all …]
|
/linux/Documentation/devicetree/bindings/clock/ |
H A D | renesas,r9a08g045-vbattb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/renesas,r9a08g045-vbattb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas Battery Backup Function (VBATTB) 10 Renesas VBATTB is an always on powered module (backed by battery) which 15 - Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> 19 const: renesas,r9a08g045-vbattb 26 - description: tamper detector interrupt 30 - description: VBATTB module clock [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | atmel-gpbr.txt | 3 The GPBR are a set of battery-backed registers. 6 - compatible: Should be one of the following: 7 "atmel,at91sam9260-gpbr", "syscon" 8 "microchip,sam9x60-gpbr", "syscon" 9 "microchip,sam9x7-gpbr", "microchip,sam9x60-gpbr", "syscon" 10 - reg: contains offset/length value of the GPBR memory 16 compatible = "atmel,at91sam9260-gpbr", "syscon";
|
H A D | nxp,bbnsm.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: NXP Battery-Backed Non-Secure Module 10 - Jacky Bai <ping.bai@nxp.com> 13 NXP BBNSM serves as non-volatile logic and storage for the system. 17 significant 32 bits of the real-time counter match the value in the 26 - enum: 27 - nxp,imx93-bbnsm 28 - const: syscon [all …]
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-bus-nvmem | 6 This read/write attribute allows users to set read-write 7 devices as read-only and back to read-write from userspace. 8 This can be used to unlock and relock write-protection of 11 Read returns '0' or '1' for read-write or read-only modes 46 This read-only attribute allows user to read the NVMEM 48 "OTP", "Battery backed", "FRAM".
|
/linux/include/linux/rtc/ |
H A D | ds1685.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * DS1685/DS1687-series RTC chips. 8 * include larger, battery-backed NV-SRAM, burst-mode access, and an RTC 11 * Copyright (C) 2011-2014 Joshua Kinard <kumba@gentoo.org>. 12 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>. 15 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10. 16 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10. 17 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105. 29 * struct ds1685_priv - DS1685 private data structure. 38 * @prepare_poweroff: pointer to platform pre-poweroff function. [all …]
|
/linux/drivers/rtc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 44 This clock should be battery-backed, so that it reads the correct 45 time when the system boots from a power-off state. Otherwise, your 48 If the clock you specify here is not battery backed, it may still 92 Say yes here to add support for the non volatile (often battery 93 backed) storage present on RTCs. 141 once-per-second update interrupts, used for synchronization. 159 will be called rtc-test. 173 will be called rtc-88pm860x. 183 will be called rtc-88pm80x. [all …]
|
H A D | rtc-ds1307.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rtc-ds1307.c - RTC driver for some mostly-compatible I2C chips. 23 #include <linux/hwmon-sysfs.h> 24 #include <linux/clk-provider.h> 29 * We can't determine type by probing, but if we expect pre-Linux code 31 * setting the date and time), Linux can ignore the non-clock features. 56 #define DS1307_REG_SECS 0x00 /* 00-59 */ 60 #define DS1307_REG_MIN 0x01 /* 00-59 */ 62 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ 67 #define DS1307_REG_WDAY 0x03 /* 01-07 */ [all …]
|
H A D | rtc-pcf2127.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2013 Til-Technologies 6 * Author: Renaud Cerrato <r.cerrato@til-technologies.fr> 16 * Datasheets: https://www.nxp.com/docs/en/data-sheet/PCF2127.pdf 17 * https://www.nxp.com/docs/en/data-sheet/PCF2131DS.pdf 73 * PCF2127 has 512 bytes general-purpose static RAM (SRAM) that is 74 * battery backed and can survive a power outage. 214 * rtc_time -- month 0-11, hour 0-23, yr = calendar year-epoch. 226 ret = regmap_bulk_read(pcf2127->regmap, pcf2127->cfg->reg_time_base, in pcf2127_rtc_read_time() 241 return -EINVAL; in pcf2127_rtc_read_time() [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | trivial-rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/trivial-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Belloni <alexandre.belloni@bootlin.com> 18 - $ref: rtc.yaml# 23 # AB-RTCMC-32.768kHz-B5ZE-S3: Real Time Clock/Calendar Module with I2C Interface 24 - abracon,abb5zes3 25 # AB-RTCMC-32.768kHz-EOZ9: Real Time Clock/Calendar Module with I2C Interface 26 - abracon,abeoz9 [all …]
|
/linux/drivers/input/serio/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 113 This driver provides support for the PS/2 ports on PA-RISC machines 131 of delivering interrupts on a periodic and one-shot basis. 132 The SDC may also be connected to a battery-backed real-time 133 clock, a basic audio waveform generator, and an HP-HIL Master 199 echo -n "serio_raw" > /sys/bus/serio/devices/serioX/drvctl 231 When used for the E3 mailboard, a non-standard key table 268 tristate "OLPC AP-SP input support" 272 in the OLPC XO-1.75 and XO-4 laptops. 282 Select this option to enable the Hyper-V Keyboard driver. [all …]
|
/linux/arch/mips/include/asm/sgi/ |
H A D | hpc3.h | 40 u32 _unused0[0x1000/4 - 2]; /* padding */ 54 #define HPC3_PDMACTRL_HW 0x0000ff00 /* DMA High-water mark */ 58 u32 _unused1[0x1000/4 - 1]; /* padding */ 65 u32 _unused0[0x1000/4 - 2]; /* padding */ 89 #define HPC3_SDCFG_HW 0x01000 /* Enable 16-bit halfword DMA accesses to scsi */ 100 #define HPC3_SPCFG_HW 0x1000 /* Enable 16-bit halfword PIO accesses to scsi */ 105 u32 _unused1[0x1000/4 - 6]; /* padding */ 113 u32 _unused0[0x1000/4 - 2]; /* padding */ 152 u32 _unused2[0x1000/4 - 8]; /* padding */ 157 u32 _unused3[0x1000/4 - 2]; /* padding */ [all …]
|
/linux/drivers/media/rc/ |
H A D | ite-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 9 #define ITE_DRIVER_NAME "ite-cir" 34 /* hw-specific operation function pointers; most of these must be 98 /* duty cycle, 0-100 */ 114 /* low-speed carrier frequency limits (Hz) */ 118 /* high-speed carrier frequency limits (Hz) */ 130 * n in RDCR produces a tolerance of +/- n * 6.25% around the center 135 * frequency A = (H - L) / (H + L). We can use this in order to honor the 136 * s_rx_carrier_range() call in ir-core. We'll suppose that any request 170 * Environment Control - Low Pin Count Input / Output [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-facebook-bletchley.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/usb/pd.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/i2c/i2c.h> 14 compatible = "facebook,bletchley-bmc", "aspeed,ast2600"; 29 iio-hwmon { [all …]
|
/linux/kernel/time/ |
H A D | timekeeping.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #include "tick-internal.h" 62 * struct tk_fast - NMI safe timekeeper 75 /* Suspend-time cycles value for halted fast timekeeper. */ 130 * Multigrain timestamps require tracking the latest fine-grained timestamp 131 * that has been issued, and never returning a coarse-grained timestamp that is 134 * mg_floor represents the latest fine-grained time that has been handed out as 136 * converted to a realtime clock value on an as-needed basis. 148 while (tk->tkr_mono.xtime_nsec >= ((u64)NSEC_PER_SEC << tk->tkr_mono.shift)) { in tk_normalize_xtime() 149 tk->tkr_mono.xtime_nsec -= (u64)NSEC_PER_SEC << tk->tkr_mono.shift; in tk_normalize_xtime() [all …]
|
/linux/drivers/firmware/arm_scmi/vendors/imx/ |
H A D | imx95.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 The System Manager (SM) is a low-level system function which runs on a System 15 runs on a Cortex-M processor and provides an abstraction to many of the 38 This protocol is intended provide access to the battery-backed module. This 43 - Describe the protocol version. 44 - Discover implementation attributes. 45 - Read/write GPR 46 - Discover the RTCs available in the system. 47 - Read/write the RTC time in seconds and ticks 48 - Set an alarm (per LM) in seconds [all …]
|
/linux/drivers/scsi/ |
H A D | hpsa.c | 3 * Copyright (c) 2019-2020 Microchip Technology Inc. and its subsidiaries 5 * Copyright 2014-2015 PMC-Sierra, Inc. 6 * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P. 36 #include <linux/dma-mapping.h> 52 #include <linux/percpu-defs.h> 60 * HPSA_DRIVER_VERSION must be 3 byte values (0-255) separated by '.' 61 * with an optional trailing '-' followed by a byte value (0-255). 63 #define HPSA_DRIVER_VERSION "3.4.20-200" 79 /* Embedded module documentation macros - see modules.h */ 80 MODULE_AUTHOR("Hewlett-Packard Company"); [all …]
|
/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_init.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * driver for Microchip PQI-based storage controllers 4 * Copyright (c) 2019-2023 Microchip Technology Inc. and its subsidiaries 5 * Copyright (c) 2016-2018 Microsemi Corporation 6 * Copyright (c) 2016 PMC-Sierra, Inc. 22 #include <linux/blk-mq-pci.h> 36 #define DRIVER_VERSION "2.1.30-031" 51 #define PQI_NO_COMPLETION ((void *)-1) 194 "RAID-0", 195 "RAID-4", [all …]
|