/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 …]
|
H A D | xgene-rtc.txt | 1 * APM X-Gene Real Time Clock 3 RTC controller for the APM X-Gene Real Time Clock 6 - compatible : Should be "apm,xgene-rtc" 7 - reg: physical base address of the controller and length of memory mapped 9 - interrupts: IRQ line for the RTC. 10 - #clock-cells: Should be 1. 11 - clocks: Reference to the clock entry. 16 compatible = "fixed-clock"; 17 #clock-cells = <1>; 18 clock-frequency = <100000000>; [all …]
|
/linux/Documentation/scheduler/ |
H A D | sched-rt-group.rst | 2 Real-Time group scheduling 12 2.1 System-wide settings 28 resolution, or the time it takes to handle the budget refresh itself. 33 are real-time processes). 40 --------------- 42 Real-time scheduling is all about determinism, a group has to be able to rely on 43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule 44 multiple groups of real-time tasks, each group must be assigned a fixed portion 45 of the CPU time available. Without a minimum guarantee a real-time group can 50 ---------------- [all …]
|
H A D | sched-deadline.rst | 12 3. Scheduling Real-Time Tasks 18 4.1 System-wide settings 33 system behavior. As for -rt (group) scheduling, it is assumed that root users 50 ------------------ 54 "runtime" microseconds of execution time every "period" microseconds, and 57 every time the task wakes up, the scheduler computes a "scheduling deadline" 61 task actually receives "runtime" time units within "deadline" if a proper 70 with the "traditional" real-time task model (see Section 3) can effectively 76 - Each SCHED_DEADLINE task is characterized by the "runtime", 79 - The state of the task is described by a "scheduling deadline", and [all …]
|
/linux/include/linux/mfd/syscon/ |
H A D | atmel-st.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * System Timer (ST) - System peripherals registers. 26 #define AT91_ST_RTMR 0x0c /* Real-time Mode Register */ 27 #define AT91_ST_RTPRES 0xffff /* Real-time Prescalar Value */ 32 #define AT91_ST_RTTINC BIT(2) /* Real-time Timer Increment */ 39 #define AT91_ST_RTAR 0x20 /* Real-time Alarm Register */ 42 #define AT91_ST_CRTR 0x24 /* Current Real-time Register */ 43 #define AT91_ST_CRTV 0xfffff /* Current Real-Time Value */
|
/linux/drivers/rtc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 bool "Real Time Clock" 26 bool "Set system time from RTC on startup and resume" 29 If you say yes here, the system time (wall clock) will be set using 31 unnecessary fsck runs at boot time, and to network better. 34 string "RTC used to set the system time" 41 device should record time in UTC, since the kernel won't do 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 49 be useful to reinitialize system time when resuming from system [all …]
|
H A D | rtc-at91sam9.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * "RTT as Real Time Clock" driver for AT91SAM9 SoC family 7 * Based on rtc-at91rm9200.c by Rick Bronson 23 #include <linux/time.h> 28 * to implement the Real Time Clock interfaces 30 * - A "Real-time Timer" (RTT) counts up in seconds from a base time. 33 * - One of the "General Purpose Backup Registers" (GPBRs) holds the 34 * base time, normally an offset from the beginning of the POSIX 35 * epoch (1970-Jan-1 00:00:00 UTC). Some systems also include the 42 * choose from, or a "real" RTC module. All systems have multiple GPBR [all …]
|
/linux/include/uapi/linux/ |
H A D | acct.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 * BSD Process Accounting for Linux - Definitions 8 * BSD-style process accounting. The kernel accounting code and all 9 * user-level programs that try to do something useful with the 12 * Copyright (C) 1995 - 1997 Marco van Wieringen - ELM Consultancy B.V. 25 * comp_t is a 16-bit "floating" point number with a 3-bit base 8 26 * exponent and a 13-bit fraction. 27 * comp2_t is 24-bit with 5-bit base 2 exponent and 20 bit fraction 49 __u16 ac_uid16; /* LSB of Real User ID */ 50 __u16 ac_gid16; /* LSB of Real Group ID */ [all …]
|
/linux/Documentation/sound/designs/ |
H A D | seq-oss.rst | 15 What this does - it provides the emulation of the OSS sequencer, access 53 However, each MIDI device is exclusive - that is, if a MIDI device 57 * Real-time event processing: 59 The events can be processed in real time without using out of bound 60 ioctl. To switch to real-time mode, send ABSTIME 0 event. The followed 61 events will be processed in real-time without queued. To switch off the 62 real-time mode, send RELTIME 0 event. 67 ``/proc/asound/seq/oss`` at any time. In the later version, 74 Run configure script with both sequencer support (``--with-sequencer=yes``) 75 and OSS emulation (``--with-oss=yes``) options. A module ``snd-seq-oss.o`` [all …]
|
/linux/Documentation/mm/ |
H A D | active_mm.rst | 6 (running tasks with ->active_mm == mm && ->mm == NULL) on kernels 13 List: linux-kernel 16 Date: 1999-07-30 21:36:24 18 Cc'd to linux-kernel, because I don't write explanations all that often, 25 > discussed on the mailing lists---I just returned from vacation and 26 > wasn't able to follow linux-kernel for a while). 30 - we have "real address spaces" and "anonymous address spaces". The 32 user-level page tables at all, so when we do a context switch into an 37 doesn't need any user mappings - all kernel threads basically fall into 38 this category, but even "real" threads can temporarily say that for [all …]
|
/linux/tools/testing/selftests/damon/ |
H A D | damon_nr_regions.py | 2 # SPDX-License-Identifier: GPL-2.0 5 import time 14 Exit with non-zero return code if the given {min,max}_nr_regions is not 42 time.sleep(0.1) 66 test_name = 'nr_regions test with %d/%d/%d real/min/max nr_regions' % ( 69 collected_nr_regions[-1] > max_nr_regions): 78 # test min_nr_regions larger than real nr regions 81 # test max_nr_regions smaller than real nr regions 84 # test online-tuned max_nr_regions that smaller than real nr regions 106 # wait until the real regions are found [all …]
|
/linux/Documentation/timers/ |
H A D | no_hz.rst | 2 NO_HZ: Reducing Scheduling-Clock Ticks 7 reduce the number of scheduling-clock interrupts, thereby improving energy 9 some types of computationally intensive high-performance computing (HPC) 10 applications and for real-time applications. 12 There are three main ways of managing scheduling-clock interrupts 13 (also known as "scheduling-clock ticks" or simply "ticks"): 15 1. Never omit scheduling-clock ticks (CONFIG_HZ_PERIODIC=y or 16 CONFIG_NO_HZ=n for older kernels). You normally will -not- 19 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or 23 3. Omit scheduling-clock ticks on CPUs that are either idle or that [all …]
|
/linux/arch/m68k/bvme6000/ |
H A D | rtc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real Time Clock interface for Linux on the BVME6000 48 case RTC_RD_TIME: /* Read the time/date from RTC */ in rtc_ioctl() 51 /* Ensure clock and real-time-mode-register are accessible */ in rtc_ioctl() 52 msr = rtc->msr & 0xc0; in rtc_ioctl() 53 rtc->msr = 0x40; in rtc_ioctl() 56 wtime.tm_sec = bcd2bin(rtc->bcd_sec); in rtc_ioctl() 57 wtime.tm_min = bcd2bin(rtc->bcd_min); in rtc_ioctl() 58 wtime.tm_hour = bcd2bin(rtc->bcd_hr); in rtc_ioctl() 59 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl() [all …]
|
/linux/arch/sparc/include/asm/ |
H A D | hypervisor.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * ----------------------------------------------- 23 * ----------------------------------------------- 25 * The second type are "hyper-fast traps" which encode the function 27 * numbers > 0x80. The register usage for hyper-fast traps is as 30 * ----------------------------------------------- 36 * ----------------------------------------------- 44 * defined below. So, for example, if a hyper-fast trap takes 49 * is invalid, HV_EBADTRAP will be returned in %o0. Also, all 64-bits 63 #define HV_ENORADDR 2 /* Invalid real address */ [all …]
|
/linux/Documentation/driver-api/hte/ |
H A D | tegra-hte.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 7 ----------- 15 -------- 17 This GTE instance timestamps GPIO in real time. For that to happen GPIO 19 instance supports timestamping GPIOs in real time as it is tightly coupled with 31 specified during IOCTL calls. Refer to ``tools/gpio/gpio-event-mon.c``, which 35 ----------------------------------------- 37 This GTE instance timestamps LIC IRQ lines in real time. The hte devicetree 40 one-to-one mapping with IRQ GTE provider, consumers can simply specify the IRQ 45 ``drivers/hte/hte-tegra194.c``. The test driver [all …]
|
/linux/drivers/hwtracing/coresight/ |
H A D | ultrasoc-smb.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR MIT) */ 41 #define SMB_GLB_INT_PULSE BIT(1) /* Interrupt type: 1 - Pulse */ 42 #define SMB_GLB_INT_ACT_H BIT(2) /* Interrupt polarity: 1 - Active high */ 62 * The register control the validity of both real-time events and 64 * an interrupt at the same time as it issues a real-time event. 65 * Real-time events are used in SMB driver, which needs to get the buffer 87 * struct smb_data_buffer - Details of the buffer used by SMB 103 * struct smb_drv_data - specifics associated to an SMB component 108 * @spinlock: Control data access to one at a time.
|
/linux/kernel/ |
H A D | Kconfig.preempt | 1 # SPDX-License-Identifier: GPL-2.0-only 28 time, but there are no guarantees and occasional longer delays 57 bool "Preemptible Kernel (Low-Latency Desktop)" 90 bool "Fully Preemptible Kernel (Real-Time)" 94 This option turns the kernel into a real-time kernel by replacing 96 preemptible priority-inheritance aware variants, enforcing 98 non-preemptible sections. This makes the kernel, except for very 104 require real-time guarantees. 122 model defined during compile time. 125 provide a pre-built kernel binary to reduce the number of kernel [all …]
|
/linux/Documentation/admin-guide/ |
H A D | rtc.rst | 2 Real Time Clock (RTC) Drivers for Linux 5 When Linux developers talk about a "Real Time Clock", they usually mean 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 10 (UTC, formerly "Greenwich Mean Time"). 12 The newest non-PC hardware tends to just count seconds, like the time(2) 13 system call reports, but RTCs also very commonly represent time using 14 the Gregorian calendar and 24 hour time, as reported by gmtime(3). 16 Linux has two largely-compatible userspace RTC API families you may [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 23 time introduces a new set of challenges because it introduces a multiplexed 24 division of time beyond the control of the guest CPU. 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- [all …]
|
/linux/drivers/power/reset/ |
H A D | at91-poweroff.c | 5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 28 #define AT91_SHDW_WKMODE0 GENMASK(2, 0) /* Wake-up 0 Mode Selection */ 32 #define AT91_SHDW_RTTWKEN BIT(16) /* Real Time Timer Wake-up Enable */ 33 #define AT91_SHDW_RTCWKEN BIT(17) /* Real Time Clock Wake-up Enable */ 36 #define AT91_SHDW_WAKEUP0 BIT(0) /* Wake-up 0 Status */ 37 #define AT91_SHDW_RTTWK BIT(16) /* Real-time Timer Wake-up */ 38 #define AT91_SHDW_RTCWK BIT(17) /* Real-time Clock Wake-up [SAM9RL] */ 65 /* Simple power-on, just bail out */ in at91_wakeup_status() 76 dev_info(&pdev->dev, "Wake-Up source: %s\n", reason); in at91_wakeup_status() 110 err = of_property_read_string(np, "atmel,wakeup-mode", &pm); in at91_poweroff_get_wakeup_mode() [all …]
|
/linux/Documentation/block/ |
H A D | bfq-iosched.rst | 5 BFQ is a proportional-share I/O scheduler, with some extra 6 low-latency capabilities. In addition to cgroups support (blkio or io 9 - BFQ guarantees a high system and application responsiveness, and a 10 low latency for time-sensitive applications, such as audio or video 12 - BFQ distributes bandwidth, not just time, among processes or 13 groups (switching back to time distribution when needed to keep 19 goal, for a given device, is to achieve the maximum-possible 20 throughput at all times, then do switch off all low-latency heuristics 25 As every I/O scheduler, BFQ adds some overhead to per-I/O-request 27 single-lock-protected, per-request processing time of BFQ---i.e., the [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-rtc-rtc0-device-rtc_calibration | 5 Description: Attribute for calibrating ST-Ericsson AB8500 Real Time Clock 7 calibrate the AB8500.s 32KHz Real Time Clock. 11 The range of the attribute is -127 to +127 in units of 12 30.5 micro-seconds (half-parts-per-million of the 32KHz clock) 13 Users: The /vendor/st-ericsson/base_utilities/core/rtc_calibration
|
/linux/Documentation/devicetree/bindings/soc/ti/ |
H A D | ti,pruss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 TI Programmable Real-Time Unit and Industrial Communication Subsystem 11 - Suman Anna <s-anna@ti.com> 15 The Programmable Real-Time Unit and Industrial Communication Subsystem 16 (PRU-ICSS a.k.a. PRUSS) is present on various TI SoCs such as AM335x, AM437x, 17 Keystone 66AK2G, OMAP-L138/DA850 etc. A PRUSS consists of dual 32-bit RISC 18 cores (Programmable Real-Time Units, or PRUs), shared RAM, data and 23 peripheral interfaces, fast real-time responses, or specialized data handling. [all …]
|
/linux/fs/overlayfs/ |
H A D | export.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 2017-2018 CTERA Networks. All Rights Reserved. 36 * Before encoding a non-upper directory file handle from real layer N, we need 37 * to check if it will be possible to reconnect an overlay dentry from the real 53 * To avoid this problem on decode time, we need to copy up an ancestor of 54 * /a/b/c, which is "layer 2 connectable", on encode time. That ancestor is 56 * and when the time comes to decode the file handle from lower dentry /a/b/c, 77 if (dentry == dentry->d_sb->s_root) in ovl_connectable_layer() 89 return ovl_lowerstack(oe)->layer->idx; in ovl_connectable_layer() 107 if (WARN_ON(dentry == dentry->d_sb->s_root) || in ovl_connect_layer() [all …]
|
/linux/tools/tracing/rtla/ |
H A D | README.txt | 1 RTLA: Real-Time Linux Analysis tools 3 The rtla meta-tool includes a set of commands that aims to analyze 4 the real-time properties of Linux. Instead of testing Linux as a black box, 12 - libtracefs 13 - libtraceevent 14 - libcpupower (optional, for --deepest-idle-state) 16 It also depends on python3-docutils to compile man pages.
|