/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
D | ntp.c | 1 // SPDX-License-Identifier: GPL-2.0 49 * phase-lock loop variables 53 * clock synchronization status 55 * (TIME_ERROR prevents overwriting the CMOS clock) 59 /* clock status bits: */ 82 /* constant (boot-param configurable) NTP tick adjustment (upscaled) */ 91 * The following variables are used when a pulse-per-second (PPS) signal 92 * is available. They establish the engineering parameters of the clock 102 #define PPS_MAXWANDER 100000 /* max PPS freq wander (ns/s) */ 106 static long pps_jitter; /* current jitter (ns) */ [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/fs/bcachefs/ |
D | time_stats.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * bch2_time_stats - collect statistics on events that have a duration, with nicely 6 * - percpu buffering of event collection: cheap enough to shotgun 10 * - number of events 11 * - maximum event duration ever seen 12 * - sum of all event durations 13 * - average event duration, standard and weighted 14 * - standard deviation of event durations, standard and weighted 18 * deviation and weighted standard deviation, to give an efficient-to-compute 19 * view of current behaviour versus. average behaviour - "did this event source [all …]
|
D | util.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include <linux/sched/clock.h> 46 return -EINVAL; in parse_u64() 50 return -ERANGE; in parse_u64() 52 if (v > U64_MAX - (*cp - '0')) in parse_u64() 53 return -ERANGE; in parse_u64() 54 v += *cp - '0'; in parse_u64() 59 return cp - start; in parse_u64() 66 while (p--) { in bch2_pow() 68 return -ERANGE; in bch2_pow() [all …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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 …]
|
/linux-6.12.1/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" 76 MLX5_MTUTC_OPERATION_ADJUST_TIME_EXTENDED_MIN = -200000, 111 * dev_freq_khz = 2^(shift_constant - 16) in mlx5_ptp_shift_constant() 124 struct mlx5_clock *clock = container_of(ptp, struct mlx5_clock, ptp_info); in mlx5_ptp_getmaxphase() local 127 mdev = container_of(clock, struct mlx5_core_dev, clock); in mlx5_ptp_getmaxphase() 136 s64 max = mlx5_ptp_getmaxphase(&mdev->clock.ptp_info); in mlx5_is_mtutc_time_adj_cap() 138 if (delta < -max || delta > max) in mlx5_is_mtutc_time_adj_cap() [all …]
|
/linux-6.12.1/tools/perf/trace/beauty/include/uapi/sound/ |
D | asound.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Advanced Linux Sound Architecture - ALSA - Driver 4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>, 5 * Abramo Bagnara <abramo@alsa-project.org> 54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort * 63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */ 68 * Section for driver hardware dependent interface - /dev/snd/hw? * 91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ 118 unsigned int version; /* R: driver-specific version */ 119 unsigned char id[32]; /* R: driver-specific ID string */ [all …]
|
/linux-6.12.1/include/uapi/sound/ |
D | asound.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Advanced Linux Sound Architecture - ALSA - Driver 4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>, 5 * Abramo Bagnara <abramo@alsa-project.org> 54 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort * 63 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */ 68 * Section for driver hardware dependent interface - /dev/snd/hw? * 91 SNDRV_HWDEP_IFACE_HDA, /* HD-audio */ 118 unsigned int version; /* R: driver-specific version */ 119 unsigned char id[32]; /* R: driver-specific ID string */ [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-keba.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #define KI2C "i2c-keba" 77 ret = readb_poll_timeout(ki2c->base + KI2C_STATUS_REG, in ki2c_inuse_lock() 81 dev_err(&ki2c->auxdev->auxdev.dev, "%s err!\n", __func__); in ki2c_inuse_lock() 89 iowrite8(KI2C_STATUS_IN_USE, ki2c->base + KI2C_STATUS_REG); in ki2c_inuse_unlock() 102 return ki2c_wait_for_bit(ki2c->base + KI2C_STATUS_REG, KI2C_STATUS_MCF, in ki2c_wait_for_mcf() 103 ki2c->adapter.timeout); in ki2c_wait_for_mcf() 114 return ki2c_wait_for_bit(ki2c->base + KI2C_STATUS_REG, in ki2c_wait_for_data() 116 ki2c->adapter.timeout); in ki2c_wait_for_data() 129 reg = ioread8(ki2c->base + KI2C_STATUS_REG); in ki2c_wait_for_data_ack() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/opp/ |
D | opp-v2-base.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/opp/opp-v2-base.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Viresh Kumar <viresh.kumar@linaro.org> 13 Devices work at voltage-current-frequency combinations and some implementations 25 pattern: '^opp-table(-[a-z0-9]+)?$' 27 opp-shared: 30 their DVFS state together, i.e. they share clock/voltage/current lines. 31 Missing property means devices have independent clock/voltage/current [all …]
|
/linux-6.12.1/drivers/net/dsa/sja1105/ |
D | sja1105_tas.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #define SJA1105_GATE_MASK GENMASK_ULL(SJA1105_NUM_TC - 1, 0) 19 struct sja1105_tas_data *tas_data = &priv->tas_data; in sja1105_tas_set_runtime_params() 20 struct sja1105_gating_config *gating_cfg = &tas_data->gating_cfg; in sja1105_tas_set_runtime_params() 21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() 28 tas_data->enabled = false; in sja1105_tas_set_runtime_params() 30 for (port = 0; port < ds->num_ports; port++) { in sja1105_tas_set_runtime_params() 33 offload = tas_data->offload[port]; in sja1105_tas_set_runtime_params() 37 tas_data->enabled = true; in sja1105_tas_set_runtime_params() 39 if (max_cycle_time < offload->cycle_time) in sja1105_tas_set_runtime_params() [all …]
|
/linux-6.12.1/drivers/net/ethernet/freescale/ |
D | fec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * fec.h -- Fast Ethernet Controller for Motorola ColdFire SoC 8 * (C) Copyright 2000-2005, Greg Ungerer (gerg@snapgear.com) 9 * (C) Copyright 2000-2001, Lineo (www.lineo.com) 23 #include <dt-bindings/firmware/imx/rsrc.h> 47 #define FEC_OPD 0x0ec /* Opcode + Pause duration */ 353 #define FEC_ENET_RX_FRSIZE (PAGE_SIZE - FEC_ENET_XDP_HEADROOM \ 354 - SKB_DATA_ALIGN(sizeof(struct skb_shared_info))) 410 /* Controller is ENET-MAC */ 430 * frames not being transmitted until there is a 0-to-1 transition on [all …]
|
/linux-6.12.1/kernel/ |
D | watchdog.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks 29 #include <linux/sched/clock.h> 62 * Should we panic when a soft-lockup or hard-lockup occurs: 177 * Prevent multiple hard-lockup reports if one cpu is already in watchdog_hardlockup_check() 242 * Watchdog-detector specific API. 250 return -ENODEV; in watchdog_hardlockup_probe() 254 * watchdog_hardlockup_stop - Stop the watchdog for reconfiguration 264 * watchdog_hardlockup_start - Start the watchdog after reconfiguration 270 * - watchdog_enabled [all …]
|
/linux-6.12.1/kernel/rcu/ |
D | refscale.c | 1 // SPDX-License-Identifier: GPL-2.0+ 42 #define SCALE_FLAG "-ref-scale: " 85 // Number of readers, with -1 defaulting to about 75% of the CPUs. 86 torture_param(int, nreaders, -1, "Number of readers, -1 for 75% of CPUs."); 90 torture_param(int, readdelay, 0, "Read-side delay in nanoseconds."); 152 for (i = nloops; i >= 0; i--) { in ref_rcu_read_section() 162 for (i = nloops; i >= 0; i--) { in ref_rcu_delay_section() 190 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_read_section() 201 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_delay_section() 223 for (i = nloops; i >= 0; i--) in rcu_tasks_ref_scale_read_section() [all …]
|