| /Linux-v5.15/Documentation/devicetree/bindings/iio/afe/ |
| D | current-sense-amplifier.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/current-sense-amplifier.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Current Sense Amplifier 10 - Peter Rosin <peda@axentia.se> 13 When an io-channel measures the output voltage from a current sense 14 amplifier, the interesting measurement is almost always the current 15 through the sense resistor, not the voltage output. This binding 16 describes such a current sense circuit. [all …]
|
| /Linux-v5.15/drivers/iio/adc/ |
| D | max9611.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Maxim max9611/max9612 high side current sense amplifier with 6 * 12-bit ADC interface. 12 * This driver supports input common-mode voltage, current-sense 13 * amplifier with programmable gains and die temperature reading from 16 * Op-amp, analog comparator, and watchdog functionalities are not 49 * max9611 current sense amplifier voltage output: 57 * The complete formula to calculate current sense voltage is: 58 * (((adc_read >> 4) - offset) / ((1 / LSB) * 10^-3) 72 * (((adc_read >> 4) * 1000) - offset) / (1 / 14 * 1000) [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 bool "ST-Ericsson AB8500 GPADC driver" 29 Say yes here to build support for Analog Devices AD7091R-5 ADC. 32 tristate "Analog Devices AD7124 and similar sigma-delta ADCs driver" 36 Say yes here to build support for Analog Devices AD7124-4 and AD7124-8 100 tristate "Analog Devices AD7476 1-channel ADCs driver and other similar devices from AD and TI" 126 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 137 ad7605-4, ad7606, ad7606-6, ad7606-4 analog to digital converters (ADC). 148 Say yes here to build support for Analog Devices AD7766, AD7766-1, 149 AD7766-2, AD7767, AD7767-1, AD7767-2 SPI analog to digital converters. [all …]
|
| /Linux-v5.15/Documentation/hwmon/ |
| D | max16065.rst | 11 Addresses scanned: - 15 http://datasheets.maxim-ic.com/en/ds/MAX16065-MAX16066.pdf 21 Addresses scanned: - 25 http://datasheets.maxim-ic.com/en/ds/MAX16067.pdf 31 Addresses scanned: - 35 http://datasheets.maxim-ic.com/en/ds/MAX16068.pdf 41 Addresses scanned: - 45 http://datasheets.maxim-ic.com/en/ds/MAX16070-MAX16071.pdf 47 Author: Guenter Roeck <linux@roeck-us.net> 51 ----------- [all …]
|
| /Linux-v5.15/sound/soc/codecs/ |
| D | ssm4567.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * SSM4567 amplifier audio driver 137 /* The datasheet states that soft reset register is read-only, in ssm4567_writeable_reg() 138 * but logically it is write-only. */ in ssm4567_writeable_reg() 158 static const DECLARE_TLV_DB_MINMAX_MUTE(ssm4567_vol_tlv, -7125, 2400); 173 SND_SOC_DAPM_SWITCH("Amplifier Boost", SSM4567_REG_POWER_CTRL, 3, 1, 176 SND_SOC_DAPM_SIGGEN("Sense"), 178 SND_SOC_DAPM_PGA("Current Sense", SSM4567_REG_POWER_CTRL, 4, 1, NULL, 0), 179 SND_SOC_DAPM_PGA("Voltage Sense", SSM4567_REG_POWER_CTRL, 5, 1, NULL, 0), 180 SND_SOC_DAPM_PGA("VBAT Sense", SSM4567_REG_POWER_CTRL, 6, 1, NULL, 0), [all …]
|
| D | max98373.c | 1 // SPDX-License-Identifier: GPL-2.0 23 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in max98373_dac_event() 28 regmap_update_bits(max98373->regmap, in max98373_dac_event() 34 regmap_update_bits(max98373->regmap, in max98373_dac_event() 38 max98373->tdm_mode = false; in max98373_dac_event() 70 SND_SOC_DAPM_AIF_OUT("Voltage Sense", "HiFi Capture", 0, 72 SND_SOC_DAPM_AIF_OUT("Current Sense", "HiFi Capture", 0, 74 SND_SOC_DAPM_AIF_OUT("Speaker FB Sense", "HiFi Capture", 0, 76 SND_SOC_DAPM_SWITCH("VI Sense", SND_SOC_NOPM, 0, 0, 78 SND_SOC_DAPM_SWITCH("SpkFB Sense", SND_SOC_NOPM, 0, 0, [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/sound/ |
| D | tas2562.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The TAS2562 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 19 Specifications about the audio amplifier can be found at: 28 - ti,tas2562 29 - ti,tas2563 30 - ti,tas2564 [all …]
|
| D | tas2764.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Dan Murphy <dmurphy@ti.com> 14 The TAS2764 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2764 29 reset-gpios: 33 shutdown-gpios: 40 ti,imon-slot-no: [all …]
|
| D | tas2770.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2019-20 Texas Instruments Incorporated 4 --- 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Shi Fu <shifu0704@thundersoft.com> 14 The TAS2770 is a mono, digital input Class-D audio amplifier optimized for 16 Integrated speaker voltage and current sense provides for 22 - ti,tas2770 29 reset-gpio: 33 shutdown-gpios: [all …]
|
| D | max98373.txt | 1 Maxim Integrated MAX98373 Speaker Amplifier 7 - compatible : "maxim,max98373" 9 - reg : the I2C address of the device. 13 - maxim,vmon-slot-no : slot number used to send voltage information 18 - maxim,imon-slot-no : slot number used to send current information 21 - maxim,spkfb-slot-no : slot number used to send speaker feedback information 24 - maxim,interleave-mode : For cases where a single combined channel 25 for the I/V sense data is not sufficient, the device can also be configured 27 In this configuration, the current and voltage data will be frame interleaved 36 maxim,vmon-slot-no = <0>; [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/iio/adc/ |
| D | maxim,max9611.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Maxim MAX9611 and similar current sense amplifiers with integrated ADCs 10 - Jacopo Mondi <jacopo@jmondi.org> 13 These devices combine a high-side current sense amplifier with a 12 bit ADC. 19 - maxim,max9611 20 - maxim,max9612 25 shunt-resistor-micro-ohms: 28 RS- inputs, across which the current is measured. Value needed to compute [all …]
|
| /Linux-v5.15/drivers/iio/afe/ |
| D | iio-rescale.c | 1 // SPDX-License-Identifier: GPL-2.0 47 if (rescale->chan_processed) in rescale_read_raw() 53 return iio_read_channel_processed(rescale->source, val); in rescale_read_raw() 55 return iio_read_channel_raw(rescale->source, val); in rescale_read_raw() 58 if (rescale->chan_processed) { in rescale_read_raw() 60 * Processed channels are scaled 1-to-1 in rescale_read_raw() 66 ret = iio_read_channel_scale(rescale->source, val, val2); in rescale_read_raw() 70 *val *= rescale->numerator; in rescale_read_raw() 71 *val2 *= rescale->denominator; in rescale_read_raw() 74 *val *= rescale->numerator; in rescale_read_raw() [all …]
|
| /Linux-v5.15/include/sound/ac97/ |
| D | regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ 33 /* range 0x28-0x3a - AUDIO AC'97 2.0 extensions */ 44 /* range 0x3c-0x58 - MODEM */ 59 /* range 0x5a-0x7b - Vendor Specific */ 62 /* range 0x60-0x6f (page 1) - extended codec registers */ 68 #define AC97_SENSE_INFO 0x6a /* Sense Details */ 108 #define AC97_BC_16BIT_DAC 0x0000 /* 16-bit DAC resolution */ 109 #define AC97_BC_18BIT_DAC 0x0040 /* 18-bit DAC resolution */ 110 #define AC97_BC_20BIT_DAC 0x0080 /* 20-bit DAC resolution */ 112 #define AC97_BC_16BIT_ADC 0x0000 /* 16-bit ADC resolution */ [all …]
|
| /Linux-v5.15/drivers/hwmon/pmbus/ |
| D | mp2975.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Hardware monitoring driver for MPS Multi-phase Digital VR Controllers 85 return -ENODATA; in mp2975_read_byte_data() 104 return 250 + (val - 1) * 5; in mp2975_vid2direct() 108 return 500 + (val - 1) * 10; in mp2975_vid2direct() 112 return 200 + (val - 1) * 10; in mp2975_vid2direct() 115 return -EINVAL; in mp2975_vid2direct() 137 * - Kcs is the DrMOS current sense gain of power stage, which is in mp2975_read_phase() 138 * obtained from the register MP2975_MFR_VR_CONFIG1, bits 13-12 with in mp2975_read_phase() 139 * the following selection of DrMOS (data->curr_sense_gain[page]): in mp2975_read_phase() [all …]
|
| /Linux-v5.15/arch/m68k/mac/ |
| D | macboing.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Mac bong noise generator. Note - we ought to put a boingy noise 6 * ---------------------------------------------------------------------- 10 * Juergen Mellinger (juergen.mellinger@t-online.de) 27 * (hint: interpolate or hardwire [0 -> Pi/2[, it's symmetric) 31 0, -39, -75, -103, -121, -127, -121, -103, -75, -39 44 static unsigned long mac_bell_phase; /* 0..2*Pi -> 0..0x800 (wavetable size) */ 75 * this makes no sense here, because we have to set the default sample in mac_init_asc() 78 switch ( macintosh_config->ident ) in mac_init_asc() 106 * current location of the Apple Sound Chip--ASC--in other Macs.) The in mac_init_asc() [all …]
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| D | ste-ux500-samsung-janice.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy S Advance GT-I9070 also known as Janice. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8500.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
| D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 13 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 15 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 16 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 32 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; 45 cpu0-supply = <&vcc>; 50 compatible = "gpio-leds"; [all …]
|
| /Linux-v5.15/include/sound/ |
| D | hda_verbs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * HD-audio codec verbs 59 /* f10-f1a: GPIO */ 162 #define AC_WCAP_IN_AMP (1<<1) /* AMP-in present */ 163 #define AC_WCAP_OUT_AMP (1<<2) /* AMP-out present */ 164 #define AC_WCAP_AMP_OVRD (1<<3) /* AMP-parameter override */ 252 #define AC_PINCAP_IMP_SENSE (1<<0) /* impedance sense capable */ 264 * in HD-audio specification 275 #define AC_PINCAP_VREF_HIZ (1<<0) /* Hi-Z */ 281 /* Amplifier capabilities */ [all …]
|
| /Linux-v5.15/drivers/net/wireless/ath/ath5k/ |
| D | reg.h | 2 * Copyright (c) 2006-2008 Nick Kossifidis <mickflemm@gmail.com> 3 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 4 * Copyright (c) 2007-2008 Michael Taylor <mike.taylor@apprion.com> 28 * 5210 - http://nova.stanford.edu/~bbaas/ps/isscc2002_slides.pdf 30 * 5211 - http://www.hotchips.org/archives/hc14/3_Tue/16_mcfarland.pdf 33 * Atheros's ART program (Atheros Radio Test), on ath9k, on legacy-hal 42 * AR5210-Specific TXDP registers 46 #define AR5K_NOQCU_TXDP0 0x0000 /* Queue 0 - data */ 47 #define AR5K_NOQCU_TXDP1 0x0004 /* Queue 1 - beacons */ 70 #define AR5K_CFG_SWTD 0x00000001 /* Byte-swap TX descriptor (for big endian archs) */ [all …]
|
| D | phy.c | 2 * Copyright (c) 2004-2007 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2007-2008 Jiri Slaby <jirislaby@gmail.com> 5 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 41 * Here we handle the low-level functions related to baseband 47 * - Channel setting/switching 49 * - Automatic Gain Control (AGC) calibration 51 * - Noise Floor calibration 53 * - I/Q imbalance calibration (QAM correction) 55 * - Calibration due to thermal changes (gain_F) [all …]
|
| /Linux-v5.15/sound/pci/ac97/ |
| D | ac97_patch.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 33 err = snd_ctl_add(ac97->bus->card, snd_ac97_cnew(&controls[idx], ac97)); in patch_build_controls() 49 kctl = snd_ctl_find_id(ac97->bus->card, &sid); in reset_tlv() 50 if (kctl && kctl->tlv.p) in reset_tlv() 51 kctl->tlv.p = tlv; in reset_tlv() 60 mutex_lock(&ac97->page_mutex); in ac97_update_bits_page() 65 mutex_unlock(&ac97->page_mutex); /* unlock paging */ in ac97_update_bits_page() 70 * shared line-in/mic controls 83 ucontrol->value.enumerated.item[0] = ac97->indep_surround; in ac97_surround_jack_mode_get() 90 unsigned char indep = !!ucontrol->value.enumerated.item[0]; in ac97_surround_jack_mode_put() [all …]
|
| /Linux-v5.15/Documentation/sound/ |
| D | alsa-configuration.rst | 2 Advanced Linux Sound Architecture - Driver Configuration guide 38 ---------- 47 limiting card index for auto-loading (1-8); 49 For auto-loading more than one card, specify this option 50 together with snd-card-X aliases. 63 Module snd-pcm-oss 64 ------------------ 86 regarding opening the device. When this option is non-zero, 90 Module snd-rawmidi 91 ------------------ [all …]
|
| /Linux-v5.15/drivers/net/ethernet/sfc/ |
| D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 54 /* The current version of the MCDI protocol. 71 * | | \--- Response 72 * | \------- Error [all …]
|
| /Linux-v5.15/sound/pci/hda/ |
| D | patch_ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID) 134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) 154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID) 163 * X-bass. 182 int params; /* number of default non-on/off params */ 223 { .name = "X-Bass", [all …]
|
| /Linux-v5.15/ |
| D | MAINTAINERS | 6 trivial patch so apply some common sense. 9 ------------------------- 30 ``diff -u`` to make the patch easy to merge. Be prepared to get your 40 See Documentation/process/coding-style.rst for guidance here. 46 See Documentation/process/submitting-patches.rst for details. 57 include a Signed-off-by: line. The current version of this 59 Documentation/process/submitting-patches.rst. 70 that the bug would present a short-term risk to other users if it 76 Documentation/admin-guide/security-bugs.rst for details. 81 --------------------------------------------------- [all …]
|