| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stefan Popa <stefan.popa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 32 clock-names: 34 - const: mclk 40 '#address-cells': [all …]
|
| D | adi,ad4130.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Cosmin Tanislav <cosmin.tanislav@analog.com> 15 https://www.analog.com/media/en/technical-documentation/data-sheets/AD4130-8.pdf 20 - adi,ad4130 29 clock-names: 31 - const: mclk 36 interrupt-names: 42 - int [all …]
|
| D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 STM32 ADC is a successive approximation analog-to-digital converter. 11 It has several multiplexed input channels. Conversions can be performed 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@foss.st.com> 27 - st,stm32f4-adc-core [all …]
|
| D | adi,max11410.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Ibrahim Tilki <Ibrahim.Tilki@analog.com> 21 - adi,max11410 30 interrupt-names: 34 - enum: [gpio0, gpio1] 35 - const: gpio1 37 '#address-cells': 40 '#size-cells': [all …]
|
| D | adi,ad7292.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 AD7292 10-Bit Monitor and Control System 10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com> 13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs, 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf 22 - adi,ad7292 27 vref-supply: 31 spi-cpha: true [all …]
|
| D | adc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IIO Common Properties for ADC Channels 10 - Jonathan Cameron <jic23@kernel.org> 13 A few properties are defined in a common way ADC channels. 17 pattern: "^channel(@[0-9a-f]+)?$" 32 diff-channels: 33 $ref: /schemas/types.yaml#/definitions/uint32-array 42 settling-time-us: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/adc/ |
| D | adi,ad7124.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Stefan Popa <stefan.popa@analog.com> 16 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7124-8.pdf 21 - adi,ad7124-4 22 - adi,ad7124-8 32 clock-names: 34 - const: mclk 40 '#address-cells': [all …]
|
| D | adc.txt | 4 - bipolar : Boolean, if set the channel is used in bipolar mode. 5 - diff-channels : Differential channels muxed for this ADC. The first value 15 diff-channels = <0 1>; 20 diff-channels = <2 3>;
|
| D | st,stm32-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#" 5 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 10 STM32 ADC is a successive approximation analog-to-digital converter. 11 It has several multiplexed input channels. Conversions can be performed 13 stored in a left-aligned or right-aligned 32-bit data register. 17 voltage goes beyond the user-defined, higher or lower thresholds. 22 - Fabrice Gasnier <fabrice.gasnier@st.com> 27 - st,stm32f4-adc-core [all …]
|
| D | adi,ad7292.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 AD7292 10-Bit Monitor and Control System 10 - Marcelo Schmitt <marcelo.schmitt1@gmail.com> 13 Analog Devices AD7292 10-Bit Monitor and Control System with ADC, DACs, 17 https://www.analog.com/media/en/technical-documentation/data-sheets/ad7292.pdf 22 - adi,ad7292 27 vref-supply: 31 spi-cpha: true [all …]
|
| /kernel/linux/linux-6.6/include/linux/iio/ |
| D | events.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* The industrial I/O - event passing to userspace 4 * Copyright (c) 2008-2011 Jonathan Cameron 13 * IIO_EVENT_CODE() - create event identifier 15 * @diff: Whether the event is for an differential channel or not. 19 * @chan: Channel number for non-differential channels. 20 * @chan1: First channel number for differential channels. 21 * @chan2: Second channel number for differential channels. 24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument 26 (((u64)type << 56) | ((u64)diff << 55) | \ [all …]
|
| /kernel/linux/linux-5.10/include/linux/iio/ |
| D | events.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* The industrial I/O - event passing to userspace 4 * Copyright (c) 2008-2011 Jonathan Cameron 13 * IIO_EVENT_CODE() - create event identifier 15 * @diff: Whether the event is for an differential channel or not. 19 * @chan: Channel number for non-differential channels. 20 * @chan1: First channel number for differential channels. 21 * @chan2: Second channel number for differential channels. 24 #define IIO_EVENT_CODE(chan_type, diff, modifier, direction, \ argument 26 (((u64)type << 56) | ((u64)diff << 55) | \ [all …]
|
| /kernel/linux/linux-6.6/sound/core/ |
| D | pcm_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Abramo Bagnara <abramo@alsa-project.org> 43 delta = new_ptr - ptr; in update_silence_vars() 47 delta += runtime->boundary; in update_silence_vars() 48 if ((snd_pcm_uframes_t)delta < runtime->silence_filled) in update_silence_vars() 49 runtime->silence_filled -= delta; in update_silence_vars() 51 runtime->silence_filled = 0; in update_silence_vars() 52 runtime->silence_start = new_ptr; in update_silence_vars() 57 * runtime->silence_start: starting pointer to silence area 58 * runtime->silence_filled: size filled with silence [all …]
|
| /kernel/linux/linux-6.6/drivers/iio/adc/ |
| D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 12 #include <linux/dma-mapping.h> 16 #include <linux/iio/timer/stm32-lptim-trigger.h> 17 #include <linux/iio/timer/stm32-timer-trigger.h> 26 #include <linux/nvmem-consumer.h> 31 #include "stm32-adc-core.h" 39 #define STM32_ADC_CH_MAX 20 /* max number of channels */ 58 /* extsel - trigger mux selection value */ 84 STM32_ADC_INT_CH_NONE = -1, [all …]
|
| /kernel/linux/linux-5.10/sound/core/ |
| D | pcm_lib.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Abramo Bagnara <abramo@alsa-project.org> 38 * runtime->silence_start: starting pointer to silence area 39 * runtime->silence_filled: size filled with silence 40 * runtime->silence_threshold: threshold from application 41 * runtime->silence_size: maximal size from application 43 * when runtime->silence_size >= runtime->boundary - fill processed area with silence immediately 47 struct snd_pcm_runtime *runtime = substream->runtime; in snd_pcm_playback_silence() 51 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence() 53 snd_pcm_uframes_t appl_ptr = READ_ONCE(runtime->control->appl_ptr); in snd_pcm_playback_silence() [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/alsa/ |
| D | pcm-test.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include "alsa-local.h" 66 timestamp_t now, diff; in timestamp_diff_ms() local 68 if (tstamp->tv_nsec > now.tv_nsec) { in timestamp_diff_ms() 69 diff.tv_sec = now.tv_sec - tstamp->tv_sec - 1; in timestamp_diff_ms() 70 diff.tv_nsec = (now.tv_nsec + 1000000000L) - tstamp->tv_nsec; in timestamp_diff_ms() 72 diff.tv_sec = now.tv_sec - tstamp->tv_sec; in timestamp_diff_ms() 73 diff.tv_nsec = now.tv_nsec - tstamp->tv_nsec; in timestamp_diff_ms() 75 return (diff.tv_sec * 1000) + ((diff.tv_nsec + 500000L) / 1000000L); in timestamp_diff_ms() 89 return -1; in device_from_id() [all …]
|
| /kernel/linux/linux-5.10/drivers/iio/adc/ |
| D | stm32-adc.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 11 #include <linux/dma-mapping.h> 15 #include <linux/iio/timer/stm32-lptim-trigger.h> 16 #include <linux/iio/timer/stm32-timer-trigger.h> 29 #include "stm32-adc-core.h" 37 #define STM32_ADC_CH_MAX 20 /* max number of channels */ 55 /* extsel - trigger mux selection value */ 81 * struct stm32_adc_trig_info - ADC trigger info 91 * struct stm32_adc_calib - optional adc calibration data [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 30 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 31 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 32 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 45 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 49 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 55 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 58 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0, 85 "{VIN1P, VIN1M}[DIFF]", [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | pcm186x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015-2017 Texas Instruments Incorporated - https://www.ti.com 29 "avdd", /* Analog power supply. Connect to 3.3-V supply. */ 30 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 31 "iovdd", /* I/O power supply. Connect to 3.3-V or 1.8-V. */ 44 static const DECLARE_TLV_DB_SCALE(pcm186x_pga_tlv, -1200, 50, 0); 48 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 54 PCM186X_PGA_VAL_CH1_R, 0, -24, 80, 7, 0, 57 PCM186X_PGA_VAL_CH2_R, 0, -24, 80, 7, 0, 84 "{VIN1P, VIN1M}[DIFF]", [all …]
|
| /kernel/linux/linux-5.10/drivers/dma/ |
| D | dmatest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 41 "Maximum number of channels to use (default: all)"); 51 "dmatest 0-memcpy 1-memset (default: 0)"); 66 "Pass -1 for infinite timeout"); 80 static int alignment = -1; 82 …M_DESC(alignment, "Custom data address alignment taken as 2^(alignment) (default: not used (-1))"); 93 * struct dmatest_params - test parameters. 98 * @max_channels: maximum number of channels to use 102 * @timeout: transfer timeout in msec, -1 for infinite timeout [all …]
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | dmatest.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/dma-mapping.h> 40 "Maximum number of channels to use (default: all)"); 50 "dmatest 0-memcpy 1-memset (default: 0)"); 65 "Pass -1 for infinite timeout"); 79 static int alignment = -1; 81 …M_DESC(alignment, "Custom data address alignment taken as 2^(alignment) (default: not used (-1))"); 92 * struct dmatest_params - test parameters. 97 * @max_channels: maximum number of channels to use 101 * @timeout: transfer timeout in msec, -1 for infinite timeout [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mux/ |
| D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.txt 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 32 mux: mux-controller@50 { 35 #mux-control-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mux/ |
| D | adi,adg792a.txt | 4 - compatible : "adi,adg792a" or "adi,adg792g" 5 - #mux-control-cells : <0> if parallel (the three muxes are bound together 8 * Standard mux-controller bindings as described in mux-controller.yaml 11 - gpio-controller : if present, #gpio-cells below is required. 12 - #gpio-cells : should be <2> 13 - First cell is the GPO line number, i.e. 0 or 1 14 - Second cell is used to specify active high (0) 18 - idle-state : if present, array of states that the mux controllers will have 32 mux: mux-controller@50 { 35 #mux-control-cells = <1>; [all …]
|
| /kernel/linux/patches/linux-5.10/yangfan_patch/ |
| D | sound.patch | 1 diff --git a/sound/Makefile b/sound/Makefile 3 --- a/sound/Makefile 5 @@ -5,7 +5,8 @@ 6 obj-$(CONFIG_SOUND) += soundcore.o 7 obj-$(CONFIG_DMASOUND) += oss/dmasound/ 8 obj-$(CONFIG_SND) += core/ i2c/ drivers/ isa/ pci/ ppc/ arm/ sh/ synth/ usb/ \ 9 - firewire/ sparc/ spi/ parisc/ pcmcia/ mips/ soc/ atmel/ hda/ x86/ xen/ 12 obj-$(CONFIG_SND_AOA) += aoa/ 15 diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c 17 --- a/sound/drivers/aloop.c [all …]
|
| /kernel/linux/linux-6.6/net/rxrpc/ |
| D | conn_client.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Client connection-specific management code. 13 * (2) DONT_REUSE - The connection should be discarded as soon as possible and 31 #include "ar-internal.h" 39 atomic_inc(&bundle->active); in rxrpc_activate_bundle() 48 idr_remove(&local->conn_ids, conn->proto.cid >> RXRPC_CIDSHIFT); in rxrpc_put_client_connection_id() 59 if (!idr_is_empty(&local->conn_ids)) { in rxrpc_destroy_client_conn_ids() 60 idr_for_each_entry(&local->conn_ids, conn, id) { in rxrpc_destroy_client_conn_ids() 62 conn, refcount_read(&conn->ref)); in rxrpc_destroy_client_conn_ids() 67 idr_destroy(&local->conn_ids); in rxrpc_destroy_client_conn_ids() [all …]
|