/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
D | ti,adc12138.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Texas Instruments ADC12138 and similar self-calibrating ADCs 10 - Akinobu Mita <akinobu.mita@gmail.com> 19 - ti,adc12130 20 - ti,adc12132 21 - ti,adc12138 34 spi-max-frequency: true 36 vref-p-supply: [all …]
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | ad7879.txt | 1 * Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C) 4 - compatible : for SPI slave, use "adi,ad7879" 5 for I2C slave, use "adi,ad7879-1" 6 - reg : SPI chipselect/I2C slave address 7 See spi-bus.txt for more SPI slave properties 8 - interrupts : touch controller interrupt 9 - touchscreen-max-pressure : maximum reported pressure 10 - adi,resistance-plate-x : total resistance of X-plate (for pressure 13 - touchscreen-swapped-x-y : X and Y axis are swapped (boolean) 14 - adi,first-conversion-delay : 0-12: In 128us steps (starting with 128us) [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/ |
D | comedidev.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 * header file for kernel-only structures, variables, and constants 6 * COMEDI - Linux Control and Measurement Device Interface 7 * Copyright (C) 1997-2000 David A. Schleef <ds@schleef.org> 13 #include <linux/dma-mapping.h> 29 * struct comedi_subdevice - Working data for a COMEDI subdevice 35 * the low-level driver.) 37 * low-level driver.) 39 * the COMEDI core and user application. (Initialized by the low-level 42 * asynchronous acquisition commands. (Optionally initialized by the [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 tristate "Data acquisition support (comedi)" 5 Enable support for a wide range of data acquisition devices 23 running at 10 kHz has of 2-4 seconds of buffer. 32 channels running at 100 kHz has 2-4 seconds of buffer. 41 the questions about misc non-hardware comedi drivers. 62 generate sample waveforms on systems that don't have data acquisition 80 tristate "SSV Embedded Systems DIL/Net-PC support" 83 Enable support for SSV Embedded Systems DIL/Net-PC 102 tristate "Advantech PCL-711/711b and ADlink ACL-8112 ISA card support" [all …]
|
D | comedi.h | 1 /* SPDX-License-Identifier: LGPL-2.0+ */ 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 */ 162 #define TRIG_TIME 0x00000008 /* trigger at time N ns */ 166 #define TRIG_INT 0x00000080 /* trigger on comedi-internal signal N */ [all …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stb0899_algo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 50 struct stb0899_internal *internal = &state->internal; 55 return stb0899_calc_srate(internal->master_clk, sfr); 71 dprintk(state->verbose, FE_DEBUG, 1, "-->"); in stb0899_set_srate() 103 * Compute the amount of time needed by the derotator to lock 105 * return: derotator time constant (ms) 122 struct stb0899_internal *internal = &state->internal; in stb0899_carr_width() 124 return (internal->srate + (internal->srate * internal->rolloff) / 100); in stb0899_carr_width() 133 struct stb0899_internal *internal = &state->internal; in stb0899_first_subrange() 134 struct stb0899_params *params = &state->params; in stb0899_first_subrange() [all …]
|
/kernel/linux/linux-5.10/tools/memory-model/ |
D | README | 49 ---------------------------- 53 ------------ ---------- 54 -- 4.18 7.48 -- 55 4.15 -- 4.19 7.49 -- 56 4.20 -- 5.5 7.54 -- 57 5.6 -- 7.56 -- 68 tests is available in tools/memory-model/Documentation/litmus-tests.txt. 70 Example litmus tests may be found in the Linux-kernel source tree: 72 tools/memory-model/litmus-tests/ 73 Documentation/litmus-tests/ [all …]
|
/kernel/linux/linux-5.10/Documentation/RCU/Design/Memory-Ordering/ |
D | Tree-RCU-Memory-Ordering.rst | 2 A Tour Through TREE_RCU's Grace-Period Memory Ordering 13 grace-period memory ordering guarantee is provided. 18 RCU grace periods provide extremely strong memory-ordering guarantees 19 for non-idle non-offline code. 22 period that are within RCU read-side critical sections. 25 of that grace period that are within RCU read-side critical sections. 27 Note well that RCU-sched read-side critical sections include any region 30 an extremely small region of preemption-disabled code, one can think of 37 a linked RCU-protected data structure, and phase two frees that element. 39 phase-one update (in the common case, removal) must not witness state [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
D | i2c-mux-pca9541.c | 6 * Author: Guenter Roeck <linux@roeck-us.net> 11 * Copyright (c) 2008-2009 Rodolfo Giometti <giometti@linux.it> 12 * Copyright (c) 2008-2009 Eurotech S.p.A. <info@eurotech.it> 23 #include <linux/i2c-mux.h> 36 * single-channel I2C bus multiplexer. 40 * that only one of the masters is instantiated at any given time. 68 #define ARB2_TIMEOUT (HZ / 4) /* 250 ms until acquisition failure */ 97 * as they will try to lock the adapter a second time. 101 struct i2c_adapter *adap = client->adapter; in pca9541_reg_write() 104 return __i2c_smbus_xfer(adap, client->addr, client->flags, in pca9541_reg_write() [all …]
|
/kernel/linux/linux-5.10/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 * ------ --------- ----------- 76 * and low for a second time. in max1118_read() 80 .delay = { /* > CNVST Low Time 100 ns */ in max1118_read() [all …]
|
D | max1027.c | 1 // SPDX-License-Identifier: GPL-2.0-only 247 dev_warn(&indio_dev->dev, "trigger mode already enabled"); in max1027_read_single_value() 248 return -EBUSY; in max1027_read_single_value() 251 /* Start acquisition on conversion register write */ in max1027_read_single_value() 252 st->reg = MAX1027_SETUP_REG | MAX1027_REF_MODE2 | MAX1027_CKS_MODE2; in max1027_read_single_value() 253 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value() 255 dev_err(&indio_dev->dev, in max1027_read_single_value() 261 st->reg = MAX1027_CONV_REG | MAX1027_CHAN(chan->channel) | in max1027_read_single_value() 263 if (chan->type == IIO_TEMP) in max1027_read_single_value() 264 st->reg |= MAX1027_TEMP; in max1027_read_single_value() [all …]
|
D | ti-adc12138.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * ADC12130/ADC12132/ADC12138 12-bit plus sign ADC driver 48 /* The number of cclk periods for the S/H's acquisition time */ 131 .tx_buf = adc->tx_buf, in adc12138_mode_programming() 132 .rx_buf = adc->rx_buf, in adc12138_mode_programming() 138 if (adc->id != adc12138) in adc12138_mode_programming() 141 adc->tx_buf[0] = mode; in adc12138_mode_programming() 143 ret = spi_sync_transfer(adc->spi, &xfer, 1); in adc12138_mode_programming() 147 memcpy(rx_buf, adc->rx_buf, len); in adc12138_mode_programming() 171 u8 mode = (ch_to_mux[channel->channel] << 4) | in __adc12138_start_conv() [all …]
|
/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
D | evglock.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: evglock - Global Lock support 6 * Copyright (C) 2000 - 2020, Intel Corp. 105 * PARAMETERS: context - From thread interface, not used 132 * Send a unit to the global lock semaphore. The actual acquisition in acpi_ev_global_lock_handler() 152 * PARAMETERS: timeout - Max time to wait for the lock, in millisec. 165 * allows only one thread to acquire the HW Global Lock at a time, and makes 179 * Only one thread can acquire the GL at a time, the global_lock_mutex in acpi_ev_acquire_global_lock() 183 acpi_ex_system_wait_mutex(acpi_gbl_global_lock_mutex->mutex. in acpi_ev_acquire_global_lock() 195 * regardless of where the acquisition request originated. in acpi_ev_acquire_global_lock() [all …]
|
/kernel/linux/linux-5.10/drivers/iio/common/ssp_sensors/ |
D | ssp_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 54 .name = "ssp-accelerometer", 57 .name = "ssp-gyroscope", 63 gpiod_set_value(data->mcu_reset_gpiod, 0); in ssp_toggle_mcu_reset_gpio() 65 gpiod_set_value(data->mcu_reset_gpiod, 1); in ssp_toggle_mcu_reset_gpio() 74 if (data->available_sensors & BIT(i)) { in ssp_sync_available_sensors() 75 ret = ssp_enable_sensor(data, i, data->delay_buf[i]); in ssp_sync_available_sensors() 77 dev_err(&data->spi->dev, in ssp_sync_available_sensors() 85 data->mcu_dump_mode); in ssp_sync_available_sensors() 87 dev_err(&data->spi->dev, in ssp_sync_available_sensors() [all …]
|
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
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
D | selftest_engine_pm.c | 2 * SPDX-License-Identifier: GPL-2.0 23 * Check that if an engine supports busy-stats, they tell the truth. in live_engine_busy_stats() 27 return -ENOMEM; in live_engine_busy_stats() 42 err = -EBUSY; in live_engine_busy_stats() 48 ENGINE_TRACE(engine, "measuring idle time\n"); in live_engine_busy_stats() 57 engine->name, in live_engine_busy_stats() 60 err = -EINVAL; in live_engine_busy_stats() 66 engine->kernel_context, in live_engine_busy_stats() 75 intel_gt_set_wedged(engine->gt); in live_engine_busy_stats() 76 err = -ETIME; in live_engine_busy_stats() [all …]
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | rtc.rst | 2 Real Time Clock (RTC) Drivers for Linux 5 When Linux developers talk about a "Real Time Clock", they usually mean 6 something that tracks wall clock time and is battery backed so that it 8 the local time zone or daylight savings time -- unless they dual boot 9 with MS-Windows -- but will instead be set to Coordinated Universal Time 10 (UTC, formerly "Greenwich Mean Time"). 12 The newest non-PC hardware tends to just count seconds, like the time(2) 13 system call reports, but RTCs also very commonly represent time using 14 the Gregorian calendar and 24 hour time, as reported by gmtime(3). 16 Linux has two largely-compatible userspace RTC API families you may [all …]
|
/kernel/linux/linux-5.10/Documentation/locking/ |
D | mutex-design.rst | 10 ----------------- 18 of advantages, including simpler interfaces, and at that time smaller 24 -------------- 28 (->owner) to keep track of the lock state during its lifetime. Field owner 32 if waiter list is non-empty). In its most basic form it also includes a 33 wait-queue and a spinlock that serializes access to it. Furthermore, 34 CONFIG_MUTEX_SPIN_ON_OWNER=y systems use a spinner MCS lock (->osq), described 45 (ii) midpath: aka optimistic spinning, tries to spin for acquisition 52 The MCS lock (proposed by Mellor-Crummey and Scott) is a simple spinlock 55 cacheline bouncing that common test-and-set spinlock implementations [all …]
|
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ |
D | ni_at_a2150.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Comedi driver for National Instruments AT-A2150 boards 6 * COMEDI - Linux Control and Measurement Device Interface 12 * Description: National Instruments AT-A2150 15 * Devices: [National Instruments] AT-A2150C (at_a2150c), AT-2150S (at_a2150s) 18 * [0] - I/O port base address 19 * [1] - IRQ (optional, required for timed conversions) 20 * [2] - DMA (optional, required for timed conversions) 30 * 320360.pdf AT-A2150 User Manual 33 * - analog level triggering [all …]
|
D | amplc_pci224.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * COMEDI - Linux Control and Measurement Device Interface 22 * - ao_insn read/write 23 * - ao_do_cmd mode with the following sources: 25 * - start_src TRIG_INT TRIG_EXT 26 * - scan_begin_src TRIG_TIMER TRIG_EXT 27 * - convert_src TRIG_NOW 28 * - scan_end_src TRIG_COUNT 29 * - stop_src TRIG_COUNT TRIG_EXT TRIG_NONE 44 * Output range selection - PCI224: [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 …]
|
/kernel/linux/linux-5.10/Documentation/RCU/ |
D | checklist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 over a rather long period of time, but improvements are always welcome! 14 0. Is RCU being applied to a read-mostly situation? If the data 15 structure is updated more than about 10% of the time, then you 18 tool for the job. Yes, RCU does reduce read-side overhead by 19 increasing write-side overhead, which is exactly why normal uses 27 Yet another exception is where the low real-time latency of RCU's 28 read-side primitives is critically important. 33 counter-intuitive situation where rcu_read_lock() and 40 RCU does allow -readers- to run (almost) naked, but -writers- must [all …]
|
D | UP.rst | 11 work a surprising amount of the time, it is a very bad idea in general. 16 -------------------------- 18 Suppose that an RCU-based algorithm scans a linked list containing 20 this same list in softirq context. Suppose that the process-context scan 33 Example 2: Function-Call Fatality 34 --------------------------------- 40 Suppose that an RCU-based algorithm again scans a linked list containing 49 all RCU read-side critical sections currently executing have completed. 57 ---------------------------- 62 be self-deadlock. [all …]
|
/kernel/linux/linux-5.10/tools/memory-model/Documentation/ |
D | litmus-tests.txt | 1 Linux-Kernel Memory Model Litmus Tests 4 This file describes the LKMM litmus-test format by example, describes 9 A formal kernel memory-ordering model (part 2) 20 tool, please see tools/memory-model/README. 23 Copy-Pasta 30 tools/memory-model/litmus-tests/ 31 Documentation/litmus-tests/ 40 The -l and -L arguments to "git grep" can be quite helpful in identifying 43 good understanding of the litmus-test format. 50 with a small example of the message-passing pattern and moving on to [all …]
|
/kernel/linux/linux-5.10/Documentation/virt/kvm/ |
D | locking.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 1. Acquisition Orders 8 --------------------- 10 The acquisition orders for mutexes are as follows: 12 - kvm->lock is taken outside vcpu->mutex 14 - kvm->lock is taken outside kvm->slots_lock and kvm->irq_lock 16 - kvm->slots_lock is taken outside kvm->irq_lock, though acquiring 19 On x86, vcpu->mutex is taken outside kvm->arch.hyperv.hv_lock. 25 ------------ 30 the mmu-lock on x86. Currently, the page fault can be fast in one of the [all …]
|