| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/iio/adc/ |
| D | ti-adc12138.txt | 4 - compatible: Should be one of 8 - reg: SPI chip select number for the device 9 - interrupts: Should contain interrupt for EOC (end of conversion) 10 - clocks: phandle to conversion clock input 11 - spi-max-frequency: Definision as per 12 Documentation/devicetree/bindings/spi/spi-bus.txt 13 - vref-p-supply: The regulator supply for positive analog voltage reference 16 - vref-n-supply: The regulator supply for negative analog voltage reference 17 (Note that this must not go below GND or exceed vref-p) 19 - ti,acquisition-time: The number of conversion clock periods for the S/H's [all …]
|
| /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-4.19/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/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 …]
|
| /kernel/linux/linux-4.19/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 | 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 */ 119 /* try to use a real-time interrupt while performing command */ 122 /* wake up on end-of-scan events */ 161 #define TRIG_TIME 0x00000008 /* trigger at time N ns */ 165 #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-4.19/tools/memory-model/ |
| D | README | 40 $ herd7 -conf linux-kernel.cfg litmus-tests/SB+fencembonceonces.litmus 54 Time SB+fencembonceonces 0.01 60 See "herd7 -help" or "herdtools7/doc/" for more information. 73 $ klitmus7 -o mymodules litmus-tests/SB+fencembonceonces.litmus 90 Time SB+fencembonceonces 0.16 96 And, as with "herd7", please see "klitmus7 -help" or "herdtools7/doc/" 105 Quick-reference guide to the Linux-kernel memory model. 111 Lists common memory-ordering patterns. 116 linux-kernel.bell 118 references, memory barriers, atomic read-modify-write operations, [all …]
|
| /kernel/linux/linux-4.19/drivers/media/dvb-frontends/ |
| D | stb0899_algo.c | 62 struct stb0899_internal *internal = &state->internal; 67 return stb0899_calc_srate(internal->master_clk, sfr); 83 dprintk(state->verbose, FE_DEBUG, 1, "-->"); in stb0899_set_srate() 115 * Compute the amount of time needed by the derotator to lock 117 * return: derotator time constant (ms) 134 struct stb0899_internal *internal = &state->internal; in stb0899_carr_width() 136 return (internal->srate + (internal->srate * internal->rolloff) / 100); in stb0899_carr_width() 145 struct stb0899_internal *internal = &state->internal; in stb0899_first_subrange() 146 struct stb0899_params *params = &state->params; in stb0899_first_subrange() 147 struct stb0899_config *config = state->config; 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-4.19/Documentation/RCU/Design/Memory-Ordering/ |
| D | Tree-RCU-Memory-Ordering.html | 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 4 <head><title>A Tour Through TREE_RCU's Grace-Period Memory Ordering</title> 5 <meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> 13 grace-period memory ordering guarantee is provided. 28 <p>RCU grace periods provide extremely strong memory-ordering guarantees 29 for non-idle non-offline code. 32 period that are within RCU read-side critical sections. 35 of that grace period that are within RCU read-side critical sections. 38 for which RCU-sched read-side critical sections include any region 41 an extremely small region of preemption-disabled code, one can think of [all …]
|
| /kernel/linux/linux-4.19/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> 22 #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/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 …]
|
| /kernel/linux/linux-4.19/drivers/iio/adc/ |
| D | max1118.c | 2 * MAX1117/MAX1118/MAX1119 8-bit, dual-channel ADCs driver 10 * Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX1117-MAX1119.pdf 16 * ------ --------- ----------- 17 * nCS --> CNVST 18 * SCK --> SCLK 19 * MISO <-- DOUT 20 * ------ --------- ----------- 78 * and low for a second time. in max1118_read() 82 .delay_usecs = 1, /* > CNVST Low Time 100 ns */ in max1118_read() 86 * The acquisition interval begins with the falling edge of in max1118_read() [all …]
|
| D | max1027.c | 226 dev_warn(&indio_dev->dev, "trigger mode already enabled"); in max1027_read_single_value() 227 return -EBUSY; in max1027_read_single_value() 230 /* Start acquisition on conversion register write */ in max1027_read_single_value() 231 st->reg = MAX1027_SETUP_REG | MAX1027_REF_MODE2 | MAX1027_CKS_MODE2; in max1027_read_single_value() 232 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value() 234 dev_err(&indio_dev->dev, in max1027_read_single_value() 240 st->reg = MAX1027_CONV_REG | MAX1027_CHAN(chan->channel) | in max1027_read_single_value() 242 if (chan->type == IIO_TEMP) in max1027_read_single_value() 243 st->reg |= MAX1027_TEMP; in max1027_read_single_value() 244 ret = spi_write(st->spi, &st->reg, 1); in max1027_read_single_value() [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-4.19/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 - 2018, 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-4.19/Documentation/virtual/kvm/ |
| D | locking.txt | 4 1. Acquisition Orders 5 --------------------- 7 The acquisition orders for mutexes are as follows: 9 - kvm->lock is taken outside vcpu->mutex 11 - kvm->lock is taken outside kvm->slots_lock and kvm->irq_lock 13 - kvm->slots_lock is taken outside kvm->irq_lock, though acquiring 16 On x86, vcpu->mutex is taken outside kvm->arch.hyperv.hv_lock. 22 ------------ 27 the mmu-lock on x86. Currently, the page fault can be fast in one of the 34 2. Write-Protection: The SPTE is present and the fault is [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 …]
|
| /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 …]
|