/Linux-v6.6/Documentation/devicetree/bindings/iio/adc/ |
D | adi,ad7280a.yaml | 1 # 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-v6.6/drivers/iio/adc/ |
D | max1118.c | 1 // 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 …]
|
D | ad7280a.c | 1 // SPDX-License-Identifier: GPL-2.0 128 #define AD7280A_NUM_CH (AD7280A_AUX_ADC_6_REG - \ 134 (c) - AD7280A_CELLS_PER_DEV) 142 /* 5-bit device address is sent LSB first */ 202 unsigned char crc = ad7280_calc_crc8(st->crc_tab, val >> 10); in ad7280_check_crc() 205 return -EIO; in ad7280_check_crc() 214 * conversion delays and acquisition time options it may take up to 250us, in 220 if (st->readback_delay_us < 50) in ad7280_delay() 221 udelay(st->readback_delay_us); in ad7280_delay() 230 .tx_buf = &st->tx, in __ad7280_read32() [all …]
|
/Linux-v6.6/drivers/comedi/drivers/ |
D | addi_apci_3120.c | 1 // 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 …]
|
D | comedi_8254.c | 1 // 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. 31 * comedi_device dev->pacer and will be freed by the comedi core during 42 * I8254_MODE1 Hardware retriggerable one-shot 73 * Typically the pacer clock is created by cascading two of the 16-bit counters 74 * to create a 32-bit rate generator (I8254_MODE2). These functions are 79 * ns timing. 83 * clock (in ns). [all …]
|
D | quatech_daqp_cs.c | 1 // 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 …]
|
D | das1800.c | 1 // 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 …]
|
D | ni_labpc_common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001-2003 Frank Mori Hess <fmhess@users.sourceforge.net> 83 return inb(dev->iobase + reg); in labpc_inb() 89 outb(byte, dev->iobase + reg); in labpc_outb() 94 return readb(dev->mmio + reg); in labpc_readb() 100 writeb(byte, dev->mmio + reg); in labpc_writeb() 105 struct labpc_private *devpriv = dev->private; in labpc_cancel() 108 spin_lock_irqsave(&dev->spinlock, flags); in labpc_cancel() 109 devpriv->cmd2 &= ~(CMD2_SWTRIG | CMD2_HWTRIG | CMD2_PRETRIG); in labpc_cancel() 110 devpriv->write_byte(dev, devpriv->cmd2, CMD2_REG); in labpc_cancel() [all …]
|
D | amplc_dio200.c | 1 // 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 …]
|
D | amplc_dio200_pci.c | 1 // 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 …]
|
D | s626.c | 1 // 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 …]
|
D | adl_pci9118.c | 1 // 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 …]
|
D | cb_pcidas64.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * This is a driver for the ComputerBoards/MeasurementComputing PCI-DAS 13 * his pci-das6402 driver, and source code for working QNX pci-6402 18 * John Sims, for much testing and feedback on pcidas-4020 support. 20 * COMEDI - Linux Control and Measurement Device Interface 21 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 26 * Description: MeasurementComputing PCI-DAS64xx, 60XX, and 4020 series 31 * Devices: [Measurement Computing] PCI-DAS6402/16 (cb_pcidas64), 32 * PCI-DAS6402/12, PCI-DAS64/M1/16, PCI-DAS64/M2/16, 33 * PCI-DAS64/M3/16, PCI-DAS6402/16/JR, PCI-DAS64/M1/16/JR, [all …]
|
D | amplc_pci230.c | 1 // 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-v6.6/drivers/iio/common/ssp_sensors/ |
D | ssp.h | 1 /* 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-v6.6/include/uapi/linux/ |
D | comedi.h | 1 /* 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-v6.6/drivers/gpu/drm/i915/gt/ |
D | selftest_engine_pm.c | 1 // 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-v6.6/Documentation/filesystems/ |
D | xfs-online-fsck-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Heading 3 uses "----" 25 - To help kernel distributors understand exactly what the XFS online fsck 28 - To help people reading the code to familiarize themselves with the relevant 31 - To help developers maintaining the system by capturing the reasons 59 - Provide a hierarchy of names through which application programs can associate 60 arbitrary blobs of data for any length of time, 62 - Virtualize physical storage media across those names, and 64 - Retrieve the named data blobs at any time. 66 - Examine resource usage. [all …]
|
/Linux-v6.6/kernel/rcu/ |
D | refscale.c | 1 // SPDX-License-Identifier: GPL-2.0+ 41 #define SCALE_FLAG "-ref-scale: " 78 "Holdoff time before test start (s)"); 83 // Number of readers, with -1 defaulting to about 75% of the CPUs. 84 torture_param(int, nreaders, -1, "Number of readers, -1 for 75% of CPUs."); 88 torture_param(int, readdelay, 0, "Read-side delay in nanoseconds."); 150 for (i = nloops; i >= 0; i--) { in ref_rcu_read_section() 160 for (i = nloops; i >= 0; i--) { in ref_rcu_delay_section() 188 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_read_section() 199 for (i = nloops; i >= 0; i--) { in srcu_ref_scale_delay_section() [all …]
|
D | srcutree.c | 1 // 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-v6.6/Documentation/kernel-hacking/ |
D | locking.rst | 37 +------------------------------------+------------------------------------+ 41 +------------------------------------+------------------------------------+ 43 +------------------------------------+------------------------------------+ 45 +------------------------------------+------------------------------------+ 47 +------------------------------------+------------------------------------+ 49 +------------------------------------+------------------------------------+ 51 +------------------------------------+------------------------------------+ 57 +------------------------------------+------------------------------------+ 61 +------------------------------------+------------------------------------+ 63 +------------------------------------+------------------------------------+ [all …]
|
/Linux-v6.6/fs/gfs2/ |
D | glock.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. 4 * Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. 100 struct lm_lockname *wait_name = wait_glock->name; in glock_wake_function() 103 if (wake_name->ln_sbd != wait_name->ln_sbd || in glock_wake_function() 104 wake_name->ln_number != wait_name->ln_number || in glock_wake_function() 105 wake_name->ln_type != wait_name->ln_type) in glock_wake_function() 118 * wake_up_glock - Wake up waiters on a glock 123 wait_queue_head_t *wq = glock_waitqueue(&gl->gl_name); in wake_up_glock() 126 __wake_up(wq, TASK_NORMAL, 1, &gl->gl_name); in wake_up_glock() [all …]
|
/Linux-v6.6/kernel/sched/ |
D | fair.c | 1 // SPDX-License-Identifier: GPL-2.0 43 #include <linux/memory-tiers.h> 61 * The initial- and re-scaling of tunables is configurable 65 * SCHED_TUNABLESCALING_NONE - unscaled, always *1 66 * SCHED_TUNABLESCALING_LOG - scaled logarithmical, *1+ilog(ncpus) 67 * SCHED_TUNABLESCALING_LINEAR - scaled linear, *ncpus 74 * Minimal preemption granularity for CPU-bound tasks: 108 return -cpu; in arch_asym_cpu_priority() 129 * Amount of runtime to allocate from global (tg) to local (per-cfs_rq) pool 130 * each time a cfs_rq requests quota. [all …]
|
/Linux-v6.6/arch/x86/kvm/ |
D | x86.c | 1 // 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> 103 ((struct kvm_vcpu *)(ctxt)->vcpu) 106 * - enable syscall per default because its emulated by KVM 107 * - enable LME and LMA per default on 64 bit KVM 140 *(((struct kvm_x86_ops *)0)->func)); 143 #include <asm/kvm-x86-ops.h> [all …]
|
/Linux-v6.6/drivers/net/bonding/ |
D | bond_main.c | 1 // 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 …]
|