Searched +full:comparator +full:- +full:invert (Results 1 – 12 of 12) sorted by relevance
/Linux-v6.6/drivers/iio/adc/ |
D | envelope-detector.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Driver for an envelope detector using a DAC and a comparator 12 * signal by a binary search using the output of a comparator wired to 16 * input +------>-------|+ \ 18 * .-------. | }---. 20 * | dac|-->--|- / | 24 * | irq|------<-------' 26 * '-------' 59 bool invert; member 72 * (one-bit memory) for if the interrupt has triggered since last calling [all …]
|
/Linux-v6.6/Documentation/ABI/testing/ |
D | sysfs-bus-iio-adc-envelope-detector | 8 of a comparator wired to an interrupt pin. Like so:: 12 input +------>-------|+ \ 14 .-------. | }---. 16 | dac|-->--|- / | 20 | irq|------<-------' 22 '-------' 24 The boolean invert attribute (0/1) should be set when the 27 from below in this case and will also invert the result. 37 Number of milliseconds to wait for the comparator in each
|
/Linux-v6.6/Documentation/devicetree/bindings/net/can/ |
D | nxp,sja1000.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfgang Grandegger <wg@grandegger.com> 15 - enum: 16 - nxp,sja1000 17 - technologic,sja1000 18 - items: 19 - enum: 20 - renesas,r9a06g032-sja1000 # RZ/N1D [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/iio/addac/ |
D | adi,ad74115.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Cosmin Tanislav <cosmin.tanislav@analog.com> 13 The AD74115H is a single-channel software configurable input/output 17 chip solution with an SPI interface. The device features a 16-bit ADC and a 18 14-bit DAC. 25 - adi,ad74115h 30 spi-max-frequency: 33 spi-cpol: true [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/sound/ |
D | da7218.txt | 8 - compatible : Should be "dlg,da7217" or "dlg,da7218" 9 - reg: Specifies the I2C slave address 11 - VDD-supply: VDD power supply for the device 12 - VDDMIC-supply: VDDMIC power supply for the device 13 - VDDIO-supply: VDDIO power supply for the device 18 - interrupts: IRQ line info for DA7218 chip. 19 (See Documentation/devicetree/bindings/interrupt-controller/interrupts.txt for 21 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if 23 - wakeup-source: Flag to indicate this device can wake system (suspend/resume). 25 - clocks : phandle and clock specifier for codec MCLK. [all …]
|
/Linux-v6.6/include/linux/ |
D | wm97xx.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 62 #define WM97XX_SLT(i) ((i - 5) & 0x7) /* panel slot (5-11) */ 71 #define WM9712_45W 0x1000 /* set for 5-wire touchscreen */ 89 #define WM9705_BINV 0x0200 /* invert BUSY (pin47) output */ 96 #define WM9705_PDD(i) (i & 0x000f) /* pen detect comparator threshold */ 146 /*---------------- Return codes from sample reading functions ---------------*/ 160 * The wm97xx driver provides a private API for writing platform-specific 227 * Codec driver interface - allows mapping to WM9705/12/13 and newer codecs 250 /* accelerated touch readback - coords are transmited on AC97 link */ 260 /* pre and post sample - can be used to minimise any analog noise */
|
/Linux-v6.6/sound/soc/codecs/ |
D | cs42l42.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * cs42l42.c -- CS42L42 ALSA SoC audio driver 32 #include <sound/soc-dapm.h> 35 #include <dt-bindings/sound/cs42l42.h> 403 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true); 404 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true); 413 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put() 421 return -EINVAL; in cs42l42_slow_start_put() 451 SOC_SINGLE("ADC Invert Switch", CS42L42_ADC_CTL, 455 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv), [all …]
|
D | rt711.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt711.c -- rt711 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 89 struct regmap *regmap = rt711->regmap; in rt711_calibration() 92 mutex_lock(&rt711->calibrate_mutex); in rt711_calibration() 93 regmap_write(rt711->regmap, in rt711_calibration() 113 pr_err("%s, calibration time-out!\n", in rt711_calibration() 115 ret = -ETIMEDOUT; in rt711_calibration() 129 regmap_write(rt711->regmap, in rt711_calibration() 131 mutex_unlock(&rt711->calibrate_mutex); in rt711_calibration() [all …]
|
D | rt700.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // rt700.c -- rt700 ALSA SoC audio driver 24 #include <sound/soc-dapm.h> 66 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE1, &val80); in rt700_button_detect() 69 ret = rt700_index_read(rt700->regmap, RT700_IRQ_FLAG_TABLE2, &val81); in rt700_button_detect() 112 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 122 ret = rt700_index_read(rt700->regmap, in rt700_headset_detect() 128 ret = regmap_read(rt700->regmap, reg, &jack_status); in rt700_headset_detect() 137 rt700->jack_type = SND_JACK_HEADPHONE; in rt700_headset_detect() 140 rt700->jack_type = SND_JACK_HEADSET; in rt700_headset_detect() [all …]
|
D | wcd938x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. 21 #include <sound/soc-dapm.h> 24 #include "wcd-clsh-v2.h" 25 #include "wcd-mbhc-v2.h" 78 #define WCD938X_EAR_PA_GAIN_TLV(xname, reg, shift, max, invert, tlv_array) \ argument 85 .private_value = SOC_SINGLE_VALUE(reg, shift, max, invert, 0) } 212 static const SNDRV_CTL_TLVD_DECLARE_DB_MINMAX(ear_pa_gain, 600, -1800); 213 static const DECLARE_TLV_DB_SCALE(line_gain, -3000, 150, -3000); 369 struct regmap *rm = wcd938x->regmap; in wcd938x_io_init() [all …]
|
/Linux-v6.6/drivers/iio/addac/ |
D | ad74115.c | 1 // SPDX-License-Identifier: GPL-2.0 205 * Synchronize consecutive operations when doing a one-shot 387 [AD74115_ADC_RANGE_12V_BIPOLAR] = { -12000000, 12000000 }, 388 [AD74115_ADC_RANGE_2_5V_BIPOLAR] = { -2500000, 2500000 }, 389 [AD74115_ADC_RANGE_2_5V_NEG] = { -2500000, 0 }, 392 [AD74115_ADC_RANGE_104MV_BIPOLAR] = { -104000, 104000 }, 407 return -EINVAL; in _ad74115_find_tbl_index() 429 ad74115_format_reg_write(reg, val, st->reg_tx_buf); in ad74115_reg_write() 431 return spi_write(st->spi, st->reg_tx_buf, AD74115_FRAME_SIZE); in ad74115_reg_write() 436 struct device *dev = &st->spi->dev; in ad74115_crc_check() [all …]
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_reg.h | 3 * Copyright (c) 2007-2013 Broadcom Corporation 13 * R - Read only 14 * RC - Clear on read 15 * RW - Read/Write 16 * ST - Statistics register (clear on read) 17 * W - Write only 18 * WB - Wide bus register - the size is over 32 bits and it should be 20 * WR - Write Clear (write 1 to clear the bit) 32 /* [RW 1] Initiate the ATC array - reset all the valid bits */ 56 * BRB1_IND_FREE_LIST_PRS_CRDT+2 initialize parser initial credit. Warning - [all …]
|