/linux-6.12.1/Documentation/devicetree/bindings/rtc/ |
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 …]
|
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-6.12.1/Documentation/scheduler/ |
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 …]
|
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-6.12.1/include/linux/ |
D | timekeeping.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 * ktime_get() family - read the current time in a multitude of ways. 27 * The default time reference is CLOCK_MONOTONIC, starting at 28 * boot time but not counting the time spent in suspend. 29 * For other references, use the functions with "real", "clocktai", 32 * To get the time in a different format, use the ones with 35 * See Documentation/core-api/timekeeping.rst for more details. 76 * ktime_get_real - get the real (wall-) time in ktime_t format 78 * Returns: real (wall) time in ktime_t format 91 * ktime_get_boottime - Get monotonic time since boot in ktime_t format [all …]
|
/linux-6.12.1/include/linux/mfd/syscon/ |
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-6.12.1/drivers/rtc/ |
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 …]
|
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-6.12.1/include/uapi/linux/ |
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-6.12.1/kernel/rcu/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RCU-related configuration options 11 # Dynticks-idle tracking 26 thousands of CPUs, but for which real-time response 37 designed for UP systems from which real-time response 42 bool "Make expert-level adjustments to RCU configuration" 46 expert-level adjustments to RCU configuration. By default, 47 no such adjustments can be made, which has the often-beneficial 48 side-effect of preventing "make oldconfig" from asking you all 52 Say Y if you need to make expert-level adjustments to RCU. [all …]
|
/linux-6.12.1/Documentation/mm/ |
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-6.12.1/Documentation/sound/designs/ |
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-6.12.1/tools/testing/selftests/damon/ |
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-6.12.1/Documentation/arch/x86/ |
D | buslock.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Authors: - Fenghua Yu <fenghua.yu@intel.com> 11 - Tony Luck <tony.luck@intel.com> 21 memory or any locked access to non-WB memory. This is typically thousands of 32 -------------------------------------- 38 ------------------------------------ 50 +------------------+----------------------------+-----------------------+ 52 +------------------+----------------------------+-----------------------+ 54 +------------------+----------------------------+-----------------------+ 66 +------------------+----------------------------+-----------------------+ [all …]
|
/linux-6.12.1/Documentation/timers/ |
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-6.12.1/arch/m68k/bvme6000/ |
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-6.12.1/arch/sparc/include/asm/ |
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-6.12.1/Documentation/driver-api/hte/ |
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-6.12.1/drivers/hwtracing/coresight/ |
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-6.12.1/kernel/ |
D | Kconfig.preempt | 1 # SPDX-License-Identifier: GPL-2.0-only 24 time, but there are no guarantees and occasional longer delays 52 bool "Preemptible Kernel (Low-Latency Desktop)" 71 bool "Fully Preemptible Kernel (Real-Time)" 75 This option turns the kernel into a real-time kernel by replacing 77 preemptible priority-inheritance aware variants, enforcing 79 non-preemptible sections. This makes the kernel, except for very 85 require real-time guarantees. 105 model defined during compile time. 108 provide a pre-built kernel binary to reduce the number of kernel [all …]
|
/linux-6.12.1/Documentation/ABI/testing/ |
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-6.12.1/arch/m68k/mvme16x/ |
D | rtc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Real Time Clock interface for Linux on the MVME16x 46 case RTC_RD_TIME: /* Read the time/date from RTC */ in rtc_ioctl() 49 /* Ensure clock and real-time-mode-register are accessible */ in rtc_ioctl() 50 rtc->ctrl = RTC_READ; in rtc_ioctl() 52 wtime.tm_sec = bcd2bin(rtc->bcd_sec); in rtc_ioctl() 53 wtime.tm_min = bcd2bin(rtc->bcd_min); in rtc_ioctl() 54 wtime.tm_hour = bcd2bin(rtc->bcd_hr); in rtc_ioctl() 55 wtime.tm_mday = bcd2bin(rtc->bcd_dom); in rtc_ioctl() 56 wtime.tm_mon = bcd2bin(rtc->bcd_mth)-1; in rtc_ioctl() [all …]
|
/linux-6.12.1/Documentation/admin-guide/ |
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-6.12.1/drivers/power/reset/ |
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-6.12.1/tools/tracing/rtla/ |
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 15 It also depends on python3-docutils to compile man pages.
|