| /linux/Documentation/devicetree/bindings/iio/adc/ |
| H A 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 vref-p-supply: 37 vref-n-supply: [all …]
|
| H A 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/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | adi,ad7879.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices AD7879(-1)/AD7889(-1) touchscreen interface (SPI/I2C) 10 - Frank Li <Frank.Li@nxp.com> 16 for I2C slave, use "adi,ad7879-1" 18 - adi,ad7879 19 - adi,ad7879-1 27 touchscreen-max-pressure: 31 adi,resistance-plate-x: [all …]
|
| /linux/include/linux/comedi/ |
| H A 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 …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A 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 …]
|
| /linux/tools/memory-model/ |
| H A D | README | 49 ---------- [all...] |
| /linux/drivers/iio/adc/ |
| H A D | ad7944.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 #include <linux/iio/buffer-dmaengine.h> 33 /* Normal mode max conversion time (t_{CONV}). */ 35 /* TURBO mode max conversion time (t_{CONV}). */ 40 /* datasheet calls this "4-wire mode" */ 42 /* datasheet calls this "3-wire mode" (not related to SPI_3WIRE!) */ 48 /* maps adi,spi-mode property value to enum */ 67 /* Chip-specific timing specifications. */ 73 /* Indicates TURBO is hard-wired to be always enabled. */ 91 /* quite time before CNV rising edge */ [all …]
|
| H A 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 …]
|
| H A D | ad7280a.c | 1 // SPDX-License-Identifier: GPL-2.0 129 #define AD7280A_NUM_CH (AD7280A_AUX_ADC_6_REG - \ 135 (c) - AD7280A_CELLS_PER_DEV) 143 /* 5-bit device address is sent LSB first */ 203 unsigned char crc = ad7280_calc_crc8(st->crc_tab, val >> 10); in ad7280_check_crc() 206 return -EIO; in ad7280_check_crc() 215 * conversion delays and acquisition time options it may take up to 250us, in 221 if (st->readback_delay_us < 50) in ad7280_delay() 222 udelay(st->readback_delay_us); in ad7280_delay() 231 .tx_buf = &st->tx, in __ad7280_read32() [all …]
|
| /linux/Documentation/RCU/Design/Memory-Ordering/ |
| H A 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 …]
|
| /linux/tools/thermal/thermometer/ |
| H A D | thermometer.8 | 2 # SPDX-License-Identifier: GPL-2.0 4 \fBthermometer\fP - A thermal profiling tool 15 possible the overhead while doing the temperature acquisition in order 44 The \fB-h, --help\fP option shows a short usage help 46 The \fB-o <dir>, --output <dir>\fP option defines the output directory to put the 49 The \fB-c <config>, --config <config>\fP option specifies the configuration file to use 51 The \fB-d <seconds>, --duration <seconds>\fP option specifies the duration of the capture 53 The \fB-l <loglevel>, --loglevel <loglevel>\fP option sets the loglevel [DEBUG,INFO,NOTICE,WARN,ERR… 55 The \fB-p <string>, --postfix <string>\fP option appends \fBstring\fP at the end of the capture fil… 57 The \fB-s, --syslog\fP option sets the output to syslog, default is \fBstdout\fP [all …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-apalis-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 /delete-node/ stmpe811@41; 8 compatible = "adi,ad7879-1"; 10 pinctrl-names = "default"; 11 pinctrl-0 = <&pinctrl_touch_int>; 13 interrupt-parent = <&gpio4>; 14 touchscreen-max-pressure = <4096>; 15 adi,resistance-plate-x = <120>; 16 adi,first-conversion-delay = /bits/ 8 <3>; 17 adi,acquisition-time = /bits/ 8 <1>; [all …]
|
| H A D | imx6qdl-colibri-v1.2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 /delete-node/ stmpe811@41; 8 compatible = "adi,ad7879-1"; 10 pinctrl-names = "default"; 11 pinctrl-0 = <&pinctrl_touch_int>; 13 interrupt-parent = <&gpio6>; 14 touchscreen-max-pressure = <4096>; 15 adi,resistance-plate-x = <120>; 16 adi,first-conversion-delay = /bits/ 8 <3>; 17 adi,acquisition-time = /bits/ 8 <1>; [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A 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 - 2025, Intel Corp. 109 * PARAMETERS: context - From thread interface, not used 136 * Send a unit to the global lock semaphore. The actual acquisition in acpi_ev_global_lock_handler() 156 * PARAMETERS: timeout - Max time to wait for the lock, in millisec. 169 * allows only one thread to acquire the HW Global Lock at a time, and makes 183 * Only one thread can acquire the GL at a time, the global_lock_mutex in acpi_ev_acquire_global_lock() 187 acpi_ex_system_wait_mutex(acpi_gbl_global_lock_mutex->mutex. in acpi_ev_acquire_global_lock() 199 * regardless of where the acquisition request originated. in acpi_ev_acquire_global_lock() [all …]
|
| /linux/include/uapi/linux/ |
| H A 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 */ 162 #define TRIG_TIME 0x00000008 /* trigger at time N ns */ 166 #define TRIG_INT 0x00000080 /* trigger on comedi-internal signal N */ [all …]
|
| /linux/drivers/iio/common/ssp_sensors/ |
| H A D | ssp_dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 55 .name = "ssp-accelerometer", 58 .name = "ssp-gyroscope", 64 gpiod_set_value(data->mcu_reset_gpiod, 0); in ssp_toggle_mcu_reset_gpio() 66 gpiod_set_value(data->mcu_reset_gpiod, 1); in ssp_toggle_mcu_reset_gpio() 75 if (data->available_sensors & BIT(i)) { in ssp_sync_available_sensors() 76 ret = ssp_enable_sensor(data, i, data->delay_buf[i]); in ssp_sync_available_sensors() 78 dev_err(&data->spi->dev, in ssp_sync_available_sensors() 86 data->mcu_dump_mode); in ssp_sync_available_sensors() 88 dev_err(&data->spi->dev, in ssp_sync_available_sensors() [all …]
|
| H A 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/drivers/comedi/ |
| H A 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 81 tristate "SSV Embedded Systems DIL/Net-PC support" 85 Enable support for SSV Embedded Systems DIL/Net-PC 106 tristate "Advantech PCL-711/711b and ADlink ACL-8112 ISA card support" [all …]
|
| /linux/Documentation/admin-guide/ |
| H A 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 …]
|
| /linux/drivers/comedi/drivers/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| /linux/tools/memory-model/Documentation/ |
| H A 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 …]
|
| /linux/Documentation/RCU/ |
| H A 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 49 them -- even x86 allows later loads to be reordered to precede [all …]
|
| /linux/Documentation/locking/ |
| H A 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 …]
|