Home
last modified time | relevance | path

Searched +full:acquisition +full:- +full:time +full:- +full:ns (Results 1 – 25 of 25) sorted by relevance

/linux/Documentation/devicetree/bindings/iio/adc/
H A Dadi,ad7280a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
11 - Jonathan Cameron <jic23@kernel.org>
18 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7280A.pdf
31 adi,voltage-alert-last-chan:
40 adi,acquisition-time-ns:
42 Additional time may be needed to charge the sampling capacitors depending
47 adi,thermistor-termination:
[all …]
/linux/drivers/iio/adc/
H A Dmax1118.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs driver
7 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1117-MAX1119.pdf
13 * ------ --------- -----------
14 * nCS --> CNVST
15 * SCK --> SCLK
16 * MISO <-- DOUT
17 * ------ --------- -----------
75 * and low for a second time. in max1118_read()
79 .delay = { /* > CNVST Low Time 100 ns */ in max1118_read()
[all …]
/linux/drivers/comedi/drivers/
H A Daddi_apci_3120.c1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright (C) 2004,2005 ADDI-DATA GmbH for the source code of this module.
6 * ADDI-DATA GmbH
8 * D-77833 Ottersweier
9 * Tel: +19(0)7223/9493-0
10 * Fax: +49(0)7223/9493-92
11 * http://www.addi-data.com
12 * info@addi-data.com
22 * PCI BAR 0 register map (devpriv->amcc)
28 * PCI BAR 1 register map (dev->iobase)
[all …]
H A Dquatech_daqp_cs.c1 // SPDX-License-Identifier: GPL-2.0
8 * COMEDI - Linux Control and Measurement Device Interface
13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf
15 * This manual is for both the DAQP-208 and the DAQP-308.
18 * - A/D conversion
19 * - 8 channels
20 * - 4 gain ranges
21 * - ground ref or differential
22 * - single-shot and timed both supported
23 * - D/A conversion, single-shot
[all …]
H A Dcomedi_8254.c1 // SPDX-License-Identifier: GPL-2.0+
9 * COMEDI - Linux Control and Measurement Device Interface
20 * This module is not used directly by end-users. Rather, it is used by other
23 * acquisition. Some drivers also expose the counters for general purpose use.
33 * dev->pacer and will be freed by the comedi core during the driver
45 * I8254_MODE1 Hardware retriggerable one-shot
76 * Typically the pacer clock is created by cascading two of the 16-bit counters
77 * to create a 32-bit rate generator (I8254_MODE2). These functions are
82 * ns timing.
86 * clock (in ns).
[all …]
H A Ddas1800.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Comedi driver for Keithley DAS-1700/DAS-1800 series boards
6 * COMEDI - Linux Control and Measurement Device Interface
14 * Devices: [Keithley Metrabyte] DAS-1701ST (das-1701st),
15 * DAS-1701ST-DA (das-1701st-da), DAS-1701/AO (das-1701ao),
16 * DAS-1702ST (das-1702st), DAS-1702ST-DA (das-1702st-da),
17 * DAS-1702HR (das-1702hr), DAS-1702HR-DA (das-1702hr-da),
18 * DAS-1702/AO (das-1702ao), DAS-1801ST (das-1801st),
19 * DAS-1801ST-DA (das-1801st-da), DAS-1801HC (das-1801hc),
20 * DAS-1801AO (das-1801ao), DAS-1802ST (das-1802st),
[all …]
H A Dni_labpc_common.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net>
86 return inb(dev->iobase + reg); in labpc_inb()
92 outb(byte, dev->iobase + reg); in labpc_outb()
99 return readb(dev->mmio + reg); in labpc_readb()
105 writeb(byte, dev->mmio + reg); in labpc_writeb()
110 struct labpc_private *devpriv = dev->private; in labpc_cancel()
113 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel()
114 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel()
115 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel()
[all …]
H A Damplc_dio200.c1 // SPDX-License-Identifier: GPL-2.0+
7 * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
9 * COMEDI - Linux Control and Measurement Device Interface
24 * [0] - I/O port base address
25 * [1] - IRQ (optional, but commands won't work without it)
32 * ------------- ------------- -------------
34 * 0 PPI-X PPI-X PPI-X
35 * 1 CTR-Y1 PPI-Y PPI-Y
36 * 2 CTR-Y2 CTR-Z1* CTR-Z1
37 * 3 CTR-Z1 INTERRUPT* CTR-Z2
[all …]
H A Damplc_dio200_pci.c1 // SPDX-License-Identifier: GPL-2.0+
6 * Copyright (C) 2005-2013 MEV Ltd. <https://www.mev.co.uk/>
8 * COMEDI - Linux Control and Measurement Device Interface
30 * ------------- ------------- -------------
32 * 0 PPI-X PPI-X PPI-X
33 * 1 PPI-Y UNUSED UNUSED
34 * 2 CTR-Z1 PPI-Y UNUSED
35 * 3 CTR-Z2 UNUSED UNUSED
36 * 4 INTERRUPT CTR-Z1 CTR-Z1
37 * 5 CTR-Z2 CTR-Z2
[all …]
H A Ds626.c1 // SPDX-License-Identifier: GPL-2.0+
6 * COMEDI - Linux Control and Measurement Device Interface
10 * Copyright (C) 2002-2004 Sensoray Co., Inc.
68 * struct s626_private - Working data for s626 driver.
69 * @ai_cmd_running: non-zero if ai_cmd is running.
70 * @ai_sample_timer: time between samples in units of the timer.
72 * @ai_convert_timer: time between conversion in units of the timer.
98 #define S626_INDXMASK(C) (1 << (((C) > 2) ? ((C) * 2 - 1) : ((C) * 2 + 4)))
110 writel(val, dev->mmio + reg); in s626_mc_enable()
116 writel(cmd << 16, dev->mmio + reg); in s626_mc_disable()
[all …]
H A Dadl_pci9118.c1 // SPDX-License-Identifier: GPL-2.0
6 * card: PCI-9118DG, PCI-9118HG, PCI-9118HR
15 * Description: Adlink PCI-9118DG, PCI-9118HG, PCI-9118HR
17 * Devices: [ADLink] PCI-9118DG (pci9118dg), PCI-9118HG (pci9118hg),
18 * PCI-9118HR (pci9118hr)
25 * - If cmd->scan_begin_src=TRIG_EXT then trigger input is TGIN (pin 46).
26 * - If cmd->convert_src=TRIG_EXT then trigger input is EXTTRG (pin 44).
27 * - If cmd->start_src/stop_src=TRIG_EXT then trigger input is TGIN (pin 46).
28 * - It is not necessary to have cmd.scan_end_arg=cmd.chanlist_len but
30 * - If return value of cmdtest is 5 then you've bad channel list
[all …]
H A Damplc_pci230.c1 // SPDX-License-Identifier: GPL-2.0+
8 * COMEDI - Linux Control and Measurement Device Interface
35 * --------- ---------
43 * The AI subdevice has 16 single-ended channels or 8 differential
46 * The PCI230 and PCI260 cards have 12-bit resolution. The PCI230+ and
47 * PCI260+ cards have 16-bit resolution.
51 * or PCI260 then it actually uses a "pseudo-differential" mode where the
62 * 0 => [-10, +10] V
63 * 1 => [-5, +5] V
64 * 2 => [-2.5, +2.5] V
[all …]
/linux/include/uapi/linux/
H A Dcomedi.h1 /* SPDX-License-Identifier: LGPL-2.0+ WITH Linux-syscall-note */
6 * COMEDI - Linux Control and Measurement Device Interface
7 * Copyright (C) 1998-2001 David A. Schleef <ds@schleef.org>
32 * NOTE: 'comedi_config --init-data' is deprecated
40 /* length of nth chunk of firmware data -*/
78 /* counters -- these are arbitrary values */
120 /* try to use a real-time interrupt while performing command */
123 /* wake up on end-of-scan events */
160 #define TRIG_NOW 0x00000002 /* trigger now + N ns */
162 #define TRIG_TIME 0x00000008 /* trigger at time N ns */
[all …]
/linux/drivers/iio/common/ssp_sensors/
H A Dssp.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
44 SSP_FW_DL_STATE_FAIL = -1,
56 /* AP -> SSP Instruction */
119 /* SSP -> AP ACK about write CMD */
142 * struct ssp_data - ssp platformdata structure
151 * @time_syncing: time syncing indication flag
152 * @timestamp: previous time in ns calculated for time syncing
163 * @delay_buf: data acquisition intervals table
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_engine_pm.c1 // SPDX-License-Identifier: GPL-2.0
25 return *a - *b; in cmp_u64()
76 struct intel_engine_cs *engine = ce->engine; in __measure_timestamps()
77 u32 *sema = memset32(engine->status_page.addr + 1000, 0, 5); in __measure_timestamps()
78 u32 offset = i915_ggtt_offset(engine->status_page.vma); in __measure_timestamps()
96 cs = emit_srm(cs, RING_TIMESTAMP(engine->mmio_base), offset + 4000); in __measure_timestamps()
97 cs = emit_srm(cs, RING_CTX_TIMESTAMP(engine->mmio_base), offset + 4004); in __measure_timestamps()
102 cs = emit_srm(cs, RING_TIMESTAMP(engine->mmio_base), offset + 4016); in __measure_timestamps()
103 cs = emit_srm(cs, RING_CTX_TIMESTAMP(engine->mmio_base), offset + 4012); in __measure_timestamps()
121 *dt = local_clock() - *dt; in __measure_timestamps()
[all …]
/linux/kernel/
H A Dsmp.c1 // SPDX-License-Identifier: GPL-2.0-only
38 #define CSD_TYPE(_csd) ((_csd)->node.u_flags & CSD_FLAG_TYPE_MASK)
58 if (!zalloc_cpumask_var_node(&cfd->cpumask, GFP_KERNEL, in smpcfd_prepare_cpu()
60 return -ENOMEM; in smpcfd_prepare_cpu()
61 if (!zalloc_cpumask_var_node(&cfd->cpumask_ipi, GFP_KERNEL, in smpcfd_prepare_cpu()
63 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu()
64 return -ENOMEM; in smpcfd_prepare_cpu()
66 cfd->csd = alloc_percpu(call_single_data_t); in smpcfd_prepare_cpu()
67 if (!cfd->csd) { in smpcfd_prepare_cpu()
68 free_cpumask_var(cfd->cpumask); in smpcfd_prepare_cpu()
[all …]
/linux/Documentation/kernel-hacking/
H A Dlocking.rst37 +------------------------------------+------------------------------------+
41 +------------------------------------+------------------------------------+
43 +------------------------------------+------------------------------------+
45 +------------------------------------+------------------------------------+
47 +------------------------------------+------------------------------------+
49 +------------------------------------+------------------------------------+
51 +------------------------------------+------------------------------------+
57 +------------------------------------+------------------------------------+
61 +------------------------------------+------------------------------------+
63 +------------------------------------+------------------------------------+
[all …]
/linux/kernel/rcu/
H A Drefscale.c1 // SPDX-License-Identifier: GPL-2.0+
42 #define SCALE_FLAG "-ref-scale: "
78 // Number of seconds to extend warm-up and cool-down for multiple guest OSes
80 "Number of seconds to extend warm-up/cool-down for multiple guest OSes.");
83 "Holdoff time before test start (s)");
88 // Number of readers, with -1 defaulting to about 75% of the CPUs.
89 torture_param(int, nreaders, -1, "Number of readers, -1 for 75% of CPUs.");
93 torture_param(int, readdelay, 0, "Read-side delay in nanoseconds.");
155 for (i = nloops; i >= 0; i--) { in ref_rcu_read_section()
165 for (i = nloops; i >= 0; i--) { in ref_rcu_delay_section()
[all …]
H A Dsrcutree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Sleepable Read-Copy Update mechanism for mutual exclusion.
11 * For detailed explanation of Read-Copy Update mechanism see -
33 /* Holdoff in nanoseconds for auto-expediting. */
38 /* Overflow-check frequency. N bits roughly says every 2**N grace periods. */
45 * 1: Convert at init_srcu_struct() time.
47 * 3: Decide at boot time based on system shape (default).
63 /* Number of CPUs to trigger init_srcu_struct()-time transition to big. */
71 /* Early-boot callback-management, so early that no lock is required! */
80 /* Wrappers for lock acquisition and release, see raw_spin_lock_rcu_node(). */
[all …]
/linux/kernel/sched/
H A Dfair.c1 // SPDX-License-Identifier: GPL-2.0
43 #include <linux/memory-tiers.h>
59 * The initial- and re-scaling of tunables is configurable
63 * SCHED_TUNABLESCALING_NONE - unscaled, always *1
64 * SCHED_TUNABLESCALING_LOG - scaled logarithmically, *1+ilog(ncpus)
65 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus
72 * Minimal preemption granularity for CPU-bound tasks:
94 return -cpu; in arch_asym_cpu_priority()
115 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool
116 * each time a cfs_rq requests quota.
[all …]
/linux/arch/x86/kvm/
H A Dx86.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Kernel-based Virtual Machine driver for Linux
16 * Ben-Ami Yassour <benami@il.ibm.com>
48 #include <linux/user-return-notifier.h>
62 #include <linux/entry-kvm.h>
109 ((struct kvm_vcpu *)(ctxt)->vcpu)
112 * - enable syscall per default because its emulated by KVM
113 * - enable LME and LMA per default on 64 bit KVM
146 *(((struct kvm_x86_ops *)0)->func));
149 #include <asm/kvm-x86-ops.h>
[all …]
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h143 * Physical framebuffer address location, 64-bit.
255 * @knee_threshold: Current x-position of ACE knee (u0.16).
275 * union dmub_addr - DMUB physical/virtual 64-bit address.
525 * union dmub_fw_meta_feature_bits - Static feature bits for pre-initialization
532 uint32_t all; /**< 32-bit access to status bits */
536 * struct dmub_fw_meta_info - metadata associated with fw binary
564 * union dmub_fw_meta - ensures that dmub_fw_meta_info remains 64 bytes
578 * dmub_trace_code_t - firmware trace code, 32-bits
583 * struct dmcub_trace_buf_entry - Firmware trace entry
587 uint32_t tick_count; /**< the tick count at time of trace */
[all …]
/linux/drivers/net/bonding/
H A Dbond_main.c1 // SPDX-License-Identifier: GPL-1.0+
20 * will be assigned at this time. The hw mac address will come from
97 /*---------------------------- Module parameters ----------------------------*/
147 MODULE_PARM_DESC(mode, "Mode of operation; 0 for balance-rr, "
148 "1 for active-backup, 2 for balance-xor, "
149 "3 for broadcast, 4 for 802.3ad, 5 for balance-tlb, "
150 "6 for balance-alb");
172 MODULE_PARM_DESC(xmit_hash_policy, "balance-alb, balance-tlb, balance-xor, 802.3ad hashing method; "
187 MODULE_PARM_DESC(fail_over_mac, "For active-backup, do not set all slaves to "
198 MODULE_PARM_DESC(packets_per_slave, "Packets to send per slave in balance-rr "
[all …]
/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <linux/io-pgtable.h>
27 #include <linux/pci-ats.h>
32 #include "arm-smmu-v3.h"
33 #include "../../dma-iommu.h"
38 "Disable MSI-based polling for CMD_SYNC completion.");
81 { ARM_SMMU_OPT_SKIP_PREFETCH, "hisilicon,broken-prefetch-cmd" },
82 { ARM_SMMU_OPT_PAGE0_REGS_ONLY, "cavium,cn9900-broken-page1-regspace"},
95 if (of_property_read_bool(smmu->dev->of_node, in parse_driver_options()
97 smmu->options |= arm_smmu_options[i].opt; in parse_driver_options()
[all …]
/linux/drivers/media/dvb-frontends/drx39xyj/
H A Ddrxj.c2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc.
52 /*-----------------------------------------------------------------------------
54 ----------------------------------------------------------------------------*/
75 #define DRX39XX_MAIN_FIRMWARE "dvb-fe-drxj-mc-1.0.8.fw"
201 /*-----------------------------------------------------------------------------
203 ----------------------------------------------------------------------------*/
205 /*-----------------------------------------------------------------------------
207 ----------------------------------------------------------------------------*/
209 #define DRXJ_WAKE_UP_KEY (demod->my_i2c_dev_addr->i2c_addr)
247 * \brief Time Window for MER and SER Measurement in Units of Segment duration.
[all …]