| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A 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/Documentation/devicetree/bindings/gpio/ |
| H A 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/Documentation/trace/ |
| H A 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/drivers/gpio/ |
| H A 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/arch/arm/boot/dts/ti/omap/ |
| H A 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/kernel/time/ |
| H A 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 …]
|
| H A D | ntp.c | 1 // SPDX-License-Identifier: GPL-2.0 27 * struct ntp_data - Structure holding all NTP related state 31 * @time_state: State of the clock synchronization 32 * @time_status: Clock status bits 41 * @ntp_tick_adj: Constant boot-param configurable NTP tick adjustment (upscaled) 48 * @pps_shift: PPS current interval duration in seconds (shift value) 50 * @pps_freq: PPS frequency offset in scaled ns/s 51 * @pps_stabil: PPS current stability in scaled ns/s 91 [ 0 ... TIMEKEEPERS_MAX - 1 ] = { 111 * The following variables are used when a pulse-per-second (PPS) signal [all …]
|
| /linux/drivers/media/i2c/cx25840/ |
| H A 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/drivers/media/pci/cx23885/ |
| H A 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/drivers/cpufreq/ |
| H A 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/drivers/net/fddi/skfp/ |
| H A 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/include/uapi/linux/ |
| H A 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/tools/tracing/rtla/src/ |
| H A D | timerlat_aa.c | 1 // SPDX-License-Identifier: GPL-2.0 23 * Per-cpu data statistics and data. 64 * If now - timestamp is <= latency, it might have influenced 135 * timerlat_aa_get_data - Get the per-cpu data from the timerlat context 140 return &taa_ctx->taa_data[cpu]; in timerlat_aa_get_data() 144 * timerlat_aa_irq_latency - Handles timerlat IRQ event 154 taa_data->curr_state = TIMERLAT_WAITING_THREAD; in timerlat_aa_irq_latency() 155 taa_data->tlat_irq_timstamp = record->ts; in timerlat_aa_irq_latency() 160 taa_data->thread_nmi_sum = 0; in timerlat_aa_irq_latency() 161 taa_data->thread_irq_sum = 0; in timerlat_aa_irq_latency() [all …]
|
| /linux/tools/perf/trace/beauty/include/uapi/sound/ |
| H A 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/tools/include/uapi/sound/ |
| H A D | asound.h | |
| /linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
| H A 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" 78 MLX5_MTUTC_OPERATION_ADJUST_TIME_EXTENDED_MIN = -200000, 90 struct mlx5_clock clock; member 96 static struct mlx5_clock_priv *clock_priv(struct mlx5_clock *clock) in clock_priv() argument 98 return container_of(clock, struct mlx5_clock_priv, clock); in clock_priv() 101 static void mlx5_clock_lockdep_assert(struct mlx5_clock *clock) in mlx5_clock_lockdep_assert() argument 103 if (!clock->shared) in mlx5_clock_lockdep_assert() [all …]
|
| /linux/drivers/i2c/busses/ |
| H A 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/Documentation/devicetree/bindings/opp/ |
| H A 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/drivers/net/dsa/sja1105/ |
| H A 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/tools/testing/selftests/net/forwarding/ |
| H A D | tc_taprio.sh | 2 # SPDX-License-Identifier: GPL-2.0 131 # Set up TC 5, 6, 7 for SO_TXTIME. tc-mqprio queues count from 1. 159 sched-entry S $(printf "%x" $ALL_GATES) $GATE_DURATION_NS \ 160 sched-entry S $(printf "%x" $((ALL_GATES & ~(1 << STREAM_PRIO_2)))) $GATE_DURATION_NS \ 161 base-time 0 flags 0x2 $extra_args 190 isochron report --input-file "$isochron_dat" \ 191 --printf-format "pdelay[%u] = %d - %d\n" \ 192 --printf-args "qRT" \ 194 cat <<-'EOF' > isochron_postprocess.py 205 log_info "Path delay from $h1 to $h2 estimated at $path_delay ns" [all …]
|
| /linux/kernel/rcu/ |
| H A D | refscale.c | 1 // SPDX-License-Identifier: GPL-2.0+ 39 #include <linux/sched/clock.h> 43 #define SCALE_FLAG "-ref-scale: " 79 // Number of seconds to extend warm-up and cool-down for multiple guest OSes 81 "Number of seconds to extend warm-up/cool-dow 892 s64 duration; ref_scale_reader() local [all...] |
| /linux/kernel/ |
| H A 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> 63 * Should we panic when a soft-lockup or hard-lockup occurs: 205 * Prevent multiple hard-lockup reports if one cpu is already in watchdog_hardlockup_check() 270 * Watchdog-detector specific API. 278 return -ENODEV; in watchdog_hardlockup_probe() 282 * watchdog_hardlockup_stop - Stop the watchdog for reconfiguration 292 * watchdog_hardlockup_start - Start the watchdog after reconfiguration 298 * - watchdog_enabled [all …]
|
| /linux/drivers/net/wireless/ath/ath5k/ |
| H A D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | marvell_nand.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Author: Miquel RAYNAL <miquel.raynal@free-electrons.com> 17 * The ECC layouts are depicted in details in Marvell AN-379, but here 28 * +-------------------------------------------------------------+ 30 * +-------------------------------------------------------------+ 39 * +----------------------------------------- 41 * +----------------------------------------- 43 * ------------------------------------------- 45 * ------------------------------------------- 47 * --------------------------------------------+ [all …]
|
| /linux/include/uapi/scsi/fc/ |
| H A D | fc_els.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Maintained at www.Open-FCoE.org 21 * Fibre Channel Switch - Enhanced Link Services definitions. 22 * From T11 FC-LS Rev 1.2 June 7, 2005. 26 * ELS Command codes - byte 0 of the frame payload 34 ELS_ABTX = 0x06, /* Abort exchange - obsolet [all...] |