/openbmc/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 …]
|
/openbmc/u-boot/drivers/rtc/ |
H A D | Kconfig | 5 menu "Real Time Clock" 11 Enable drver model for real-time-clock drivers. The RTC uclass 20 Enable drver model for real-time-clock drivers. The RTC uclass 29 Enable drver model for real-time-clock drivers. The RTC uclass 38 The PCF2127 is a CMOS Real Time Clock (RTC) and calendar with an integrated 41 has a selectable I2C-bus or SPI-bus, a backup battery switch-over circuit, a 49 compatible Real Time Clock devices. 55 The Renesas (formerly Intersil) ISL1208 is a I2C Real Time Clock (RTC) and 56 calendar with automatic leap year correction, 2-byte battery backed SRAM, 57 automatic power switch-over, alarm function and 15 selectable frequency [all …]
|
/openbmc/linux/Documentation/scheduler/ |
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 …]
|
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 --------------- 43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule 45 of the CPU time available. Without a minimum guarantee a realtime group can 50 ---------------- 52 CPU time is divided by means of specifying how much time can be spent running 53 in a given period. We allocate this "run time" for each realtime group which [all …]
|
/openbmc/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 */
|
/openbmc/linux/include/linux/ |
H A D | timekeeping.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 * ktime_get() family: read the current time in a multitude of ways, 26 * The default time reference is CLOCK_MONOTONIC, starting at 27 * boot time but not counting the time spent in suspend. 28 * For other references, use the functions with "real", "clocktai", 31 * To get the time in a different format, use the ones wit 34 * See Documentation/core-api/timekeeping.rst for more details. 75 * ktime_get_real - get the real (wall-) time in ktime_t format 88 * ktime_get_boottime - Returns monotonic time since boot in ktime_t format 91 * time spent in suspend. [all …]
|
/openbmc/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 …]
|
/openbmc/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_rtc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Test the real time clock runtime services. 12 #define EFI_ST_NO_RTC "Could not read real time clock\n" 26 runtime = systable->runtime; in setup() 33 * Display current time. 42 /* Display current time */ in execute() 43 ret = runtime->get_time(&tm, NULL); in execute() 53 efi_st_printf("Time according to real time clock: " in execute() 54 "%.4u-%.2u-%.2u %.2u:%.2u:%.2u\n", in execute() 63 .name = "real time clock",
|
/openbmc/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 …]
|
/openbmc/qemu/docs/devel/ |
H A D | replay.rst | 13 execution. Execution recording writes a non-deterministic events log, which 16 non-deterministic events including external input, hardware clocks, 21 Devices' models that have non-deterministic input from external devices were 26 All non-deterministic events are coming from these devices. But to 33 …th Multi-target QEMU Simulator for Dynamic Analysis and Reverse Debugging <https://www.computer.or… 38 * wrappers for clock and time functions to save their return values in the log 50 -------------------- 55 non-deterministic events. The number of instructions elapsed from the last event 60 ---------------------------------- 64 reduce the time the BQL was held across the system including under TCG [all …]
|
/openbmc/openbmc/poky/scripts/ |
H A D | task-time | 5 # SPDX-License-Identifier: GPL-2.0-only 15 Reports time consumed for one or more task in a format similar to the standard 16 Bash 'time' builtin. Optionally sorts tasks by real (wall-clock), user (user 17 space CPU), or sys (kernel CPU) time. 28 build/tmp/buildstats/20161018083535/foo-1.0-r0/do_compile, then just that 34 "--sort", 35 choices=("none", "real", "user", "sys"), 46 field_regexes = (("elapsed", ".*Elapsed time: ([0-9.]+)"), 47 ("user", "rusage ru_utime: ([0-9.]+)"), 48 ("sys", "rusage ru_stime: ([0-9.]+)"), [all …]
|
/openbmc/linux/kernel/rcu/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/arch/x86/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/kernel/ |
H A 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 …]
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx25/ |
H A D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 8 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 20 #include <asm/arch/imx-regs.h> 23 * Reset the cpu by setting up the watchdog timer and let it time out 28 /* Disable watchdog and set Time-Out field to 0 */ in reset_cpu() 29 writew(0, ®s->wcr); in reset_cpu() 32 writew(WSR_UNLOCK1, ®s->wsr); in reset_cpu() 33 writew(WSR_UNLOCK2, ®s->wsr); in reset_cpu() 36 writew(WCR_WDE, ®s->wcr); in reset_cpu()
|
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mx27/ |
H A D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 8 * Sysgo Real-Time Solutions, GmbH <www.elinos.com> 20 #include <asm/arch/imx-regs.h> 23 * Reset the cpu by setting up the watchdog timer and let it time out 28 /* Disable watchdog and set Time-Out field to 0 */ in reset_cpu() 29 writew(0x0000, ®s->wcr); in reset_cpu() 32 writew(0x5555, ®s->wsr); in reset_cpu() 33 writew(0xAAAA, ®s->wsr); in reset_cpu() 36 writew(WCR_WDE, ®s->wcr); in reset_cpu()
|
/openbmc/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 …]
|
/openbmc/u-boot/doc/ |
H A D | README.440-DDR-performance | 11 ---------------------------------------- 12 SDRAM0_CFG0[PMU] = 1 (U-Boot default for Bamboo, Yosemite and Yellowstone) 13 ---------------------------------------- 15 ------------------------------------------------------------- 17 ------------------------------------------------------------- 21 the *best* time for each is used. 22 ------------------------------------------------------------- 28 ------------------------------------------------------------- 29 WARNING -- The above is only a rough guideline. 32 ------------------------------------------------------------- [all …]
|
/openbmc/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.
|