| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | rc-core-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include <media/rc-core.h> 20 * rc_open - Opens a RC device 27 * rc_close - Closes a RC device 169 return d1 > (d2 - margin); in geq_margin() 174 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin() 179 return x->pulse != y->pulse; in is_transition() 182 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) in decrease_duration() argument 184 if (duration > ev->duration) in decrease_duration() 185 ev->duration = 0; in decrease_duration() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | rc-core-priv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 17 #include <media/rc-core.h> 20 * rc_open - Opens a RC device 27 * rc_close - Closes a RC device 169 return d1 > (d2 - margin); in geq_margin() 174 return ((d1 > (d2 - margin)) && (d1 < (d2 + margin))); in eq_margin() 179 return x->pulse != y->pulse; in is_transition() 182 static inline void decrease_duration(struct ir_raw_event *ev, unsigned duration) in decrease_duration() argument 184 if (duration > ev->duration) in decrease_duration() 185 ev->duration = 0; in decrease_duration() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
| D | st,stm32-fmc2-ebi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 asynchronous static devices (such as PSNOR, PSRAM or other memory-mapped 14 - to translate AXI transactions into the appropriate external device 16 - to meet the access time requirements of the external devices 22 - Christophe Kerello <christophe.kerello@st.com> 26 const: st,stm32mp1-fmc2-ebi 37 "#address-cells": [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 33 st,fmc2-ebi-cs-cclk-enable: 34 description: Continuous clock enable (first bank must be configured 40 st,fmc2-ebi-cs-mux-enable: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpio/ |
| D | gpio-latch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-latch.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sascha Hauer <s.hauer@pengutronix.de> 16 CLK0 ----------------------. ,--------. 17 CLK1 -------------------. `--------|> #0 | 19 OUT0 ----------------+--|-----------|D0 Q0|-----|< 20 OUT1 --------------+-|--|-----------|D1 Q1|-----|< 21 OUT2 ------------+-|-|--|-----------|D2 Q2|-----|< [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/ |
| D | timerlat-tracer.rst | 6 find sources of wakeup latencies of real-time threads. Like cyclictest, 13 ----- 28 # _-----=> irqs-off 29 # / _----=> need-resched 30 # | / _---=> hardirq/softirq 31 # || / _--=> preempt-depth 34 # TASK-PID CPU# |||| TIMESTAMP ID CONTEXT LATENCY 36 <idle>-0 [000] d.h1 54.029328: #1 context irq timer_latency 932 ns 37 <...>-867 [000] .... 54.029339: #1 context thread timer_latency 11700 ns 38 <idle>-0 [001] dNh1 54.029346: #1 context irq timer_latency 2833 ns [all …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-latch.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * CLK0 ----------------------. ,--------. 11 * CLK1 -------------------. `--------|> #0 | 13 * OUT0 ----------------+--|-----------|D0 Q0|-----|< 14 * OUT1 --------------+-|--|-----------|D1 Q1|-----|< 15 * OUT2 ------------+-|-|--|-----------|D2 Q2|-----|< 16 * OUT3 ----------+-|-|-|--|-----------|D3 Q3|-----|< 17 * OUT4 --------+-|-|-|-|--|-----------|D4 Q4|-----|< 18 * OUT5 ------+-|-|-|-|-|--|-----------|D5 Q5|-----|< 19 * OUT6 ----+-|-|-|-|-|-|--|-----------|D6 Q6|-----|< [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/ti/omap/ |
| D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | omap3-n950-n9.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * omap3-n950-n9.dtsi - Device Tree file for Nokia N950 & N9 (common stuff) 13 cpu0-supply = <&vcc>; 23 compatible = "regulator-fixed"; 24 regulator-name = "VEMMC"; 25 regulator-min-microvolt = <2900000>; 26 regulator-max-microvolt = <2900000>; 28 startup-delay-us = <150>; 29 enable-active-high; 33 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-6.6/kernel/time/ |
| D | sched_clock.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * counters to full 64-bit ns values. 14 #include <linux/sched/clock.h> 24 * struct clock_data - all data needed for sched_clock() (including 25 * registration of a new clock source) 30 * @wrap_kt: Duration for which clock can run before wrapping. 31 * @rate: Tick rate of the registered clock. 32 * @actual_read_sched_clock: Registered hardware level clock read function. 36 * into a single 64-byte cache line. 48 static int irqtime = -1; [all …]
|
| /kernel/linux/linux-5.10/kernel/time/ |
| D | sched_clock.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * counters to full 64-bit ns values. 13 #include <linux/sched/clock.h> 23 * struct clock_data - all data needed for sched_clock() (including 24 * registration of a new clock source) 29 * @wrap_kt: Duration for which clock can run before wrapping. 30 * @rate: Tick rate of the registered clock. 31 * @actual_read_sched_clock: Registered hardware level clock read function. 35 * into a single 64-byte cache line. 47 static int irqtime = -1; [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/cx25840/ |
| D | cx25840-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/drv-intf/cx25840.h> 14 #include <media/rc-core.h> 16 #include "cx25840-core.h" 117 return state ? state->ir_state : NULL; in to_ir_state() 122 * Rx and Tx Clock Divider register computations 124 * Note the largest clock divider value of 0xffff corresponds to: 125 * (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns 135 d--; in count_to_clock_divider() 139 static inline u16 ns_to_clock_divider(unsigned int ns) in ns_to_clock_divider() argument [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/cx25840/ |
| D | cx25840-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <media/drv-intf/cx25840.h> 14 #include <media/rc-core.h> 16 #include "cx25840-core.h" 117 return state ? state->ir_state : NULL; in to_ir_state() 122 * Rx and Tx Clock Divider register computations 124 * Note the largest clock divider value of 0xffff corresponds to: 125 * (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns 135 d--; in count_to_clock_divider() 161 * 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/cx23885/ |
| D | cx23888-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "cx23888-ir.h" 16 #include <media/v4l2-device.h> 17 #include <media/rc-core.h> 161 * Rx and Tx Clock Divider register computations 163 * Note the largest clock divider value of 0xffff corresponds to: 164 * (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns 174 d--; in count_to_clock_divider() 200 * 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns 212 static inline u16 ns_to_lpf_count(unsigned int ns) in ns_to_lpf_count() argument [all …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/cx23885/ |
| D | cx23888-ir.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include "cx23888-ir.h" 16 #include <media/v4l2-device.h> 17 #include <media/rc-core.h> 161 * Rx and Tx Clock Divider register computations 163 * Note the largest clock divider value of 0xffff corresponds to: 164 * (0xffff + 1) * 1000 / 108/2 MHz = 1,213,629.629... ns 174 d--; in count_to_clock_divider() 200 * 0xffff * 1000 / 108/2 MHz = 1,213,611.11... ns 212 static inline u16 ns_to_lpf_count(unsigned int ns) in ns_to_lpf_count() argument [all …]
|
| /kernel/linux/linux-5.10/arch/um/kernel/ |
| D | time.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015 Anton Ivanov (aivanov@{brocade.com,kot-begemot.co.uk}) 5 * Copyright (C) 2012-2014 Cisco Systems 6 * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 22 #include <linux/time-internal.h> 37 static int time_travel_ext_fd = -1; 44 static void time_travel_set_time(unsigned long long ns) in time_travel_set_time() argument 46 if (unlikely(ns < time_travel_time)) in time_travel_set_time() 47 panic("time-travel: time goes backwards %lld -> %lld\n", in time_travel_set_time() 48 time_travel_time, ns); in time_travel_set_time() [all …]
|
| /kernel/linux/linux-5.10/drivers/cpufreq/ |
| D | sa1110-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/cpu-sa1110.c 8 * 7 - SDRAM auto-power-up failure (rev A0) 9 * 13 - Corruption of internal register reads/writes following 25 #include <asm/mach-types.h> 36 u_char tck; /* clock cycle time (ns) */ 37 u_char trcd; /* activate to r/w (ns) */ 38 u_char trp; /* precharge to activate (ns) */ 39 u_char twr; /* write recovery time (ns) */ 51 .name = "TC59SM716-CL2", [all …]
|
| /kernel/linux/linux-6.6/drivers/cpufreq/ |
| D | sa1110-cpufreq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/cpu-sa1110.c 8 * 7 - SDRAM auto-power-up failure (rev A0) 9 * 13 - Corruption of internal register reads/writes following 25 #include <asm/mach-types.h> 36 u_char tck; /* clock cycle time (ns) */ 37 u_char trcd; /* activate to r/w (ns) */ 38 u_char trp; /* precharge to activate (ns) */ 39 u_char twr; /* write recovery time (ns) */ 51 .name = "TC59SM716-CL2", [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/opp/ |
| D | opp.txt | 2 ---------------------------------------------------- 4 Devices work at voltage-current-frequency combinations and some implementations 13 Binding 1: operating-points 16 This binding only supports voltage-frequency pairs. 19 - operating-points: An array of 2-tuples items, and each item consists 20 of frequency and voltage like <freq-kHz vol-uV>. 21 freq: clock frequency in kHz 27 compatible = "arm,cortex-a9"; 29 next-level-cache = <&L2>; 30 operating-points = < [all …]
|
| /kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
| D | hwt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * 28-Jun-1994 sw Edit v1.6. 21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The 37 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */ 44 * Start hardware timer (clock ticks are 16us). 50 * smc - A pointer to the SMT Context structure. 52 * time - The time in units of 16us to load the timer with. 66 smc->hw.t_start = time ; in hwt_start() 67 smc->hw.t_stop = 0L ; in hwt_start() 80 smc->hw.timer_activ = TRUE ; in hwt_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
| D | hwt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * 28-Jun-1994 sw Edit v1.6. 21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The 33 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */ 40 * Start hardware timer (clock ticks are 16us). 46 * smc - A pointer to the SMT Context structure. 48 * time - The time in units of 16us to load the timer with. 62 smc->hw.t_start = time ; in hwt_start() 63 smc->hw.t_stop = 0L ; in hwt_start() 76 smc->hw.timer_activ = TRUE ; in hwt_start() [all …]
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | timex.h | 28 * Added defines for hybrid phase/frequency-lock loop. 32 * defines for PPS phase-lock loop. 35 * Revised status codes and structures for external clock and PPS 46 * 1995-08-13 Torsten Duwe 47 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 48 * 1997-08-30 Ulrich Windl 50 * 2004-08-12 Christoph Lameter 62 * syscall interface - used (mainly by NTP daemon) 63 * to discipline kernel clock oscillator 71 int status; /* clock command/status */ [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | timex.h | 28 * Added defines for hybrid phase/frequency-lock loop. 32 * defines for PPS phase-lock loop. 35 * Revised status codes and structures for external clock and PPS 46 * 1995-08-13 Torsten Duwe 47 * kernel PLL updated to 1994-12-13 specs (rfc-1589) 48 * 1997-08-30 Ulrich Windl 50 * 2004-08-12 Christoph Lameter 62 * syscall interface - used (mainly by NTP daemon) 63 * to discipline kernel clock oscillator 71 int status; /* clock command/status */ [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| D | clock.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 37 #include <rdma/mlx5-abi.h> 40 #include "clock.h" 72 MLX5_MTUTC_OPERATION_ADJUST_TIME_EXTENDED_MIN = -200000, 107 * dev_freq_khz = 2^(shift_constant - 16) in mlx5_ptp_shift_constant() 120 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_getmaxphase() local 123 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_ptp_getmaxphase() 132 s64 max = mlx5_ptp_getmaxphase(&mdev->clock.ptp_info); in mlx5_is_mtutc_time_adj_cap() 134 if (delta < -max || delta > max) in mlx5_is_mtutc_time_adj_cap() [all …]
|
| /kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
| D | timerlat_aa.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * Per-cpu data statistics and data. 66 * If now - timestamp is <= latency, it might have influenced 137 * timerlat_aa_get_data - Get the per-cpu data from the timerlat context 142 return &taa_ctx->taa_data[cpu]; in timerlat_aa_get_data() 146 * timerlat_aa_irq_latency - Handles timerlat IRQ event 156 taa_data->curr_state = TIMERLAT_WAITING_THREAD; in timerlat_aa_irq_latency() 157 taa_data->tlat_irq_timstamp = record->ts; in timerlat_aa_irq_latency() 162 taa_data->thread_nmi_sum = 0; in timerlat_aa_irq_latency() 163 taa_data->thread_irq_sum = 0; in timerlat_aa_irq_latency() [all …]
|