Searched +full:gpio1 +full:- +full:polarity +full:- +full:invert (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | cirrus,cs35l41.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - david.rhodes@cirrus.com 19 - cirrus,cs35l40 20 - cirrus,cs35l41 25 '#sound-dai-cells': 30 reset-gpios: 33 VA-supply: 36 VP-supply: [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | cs35l41.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l41.c -- CS35l41 ALSA SoC audio driver 5 // Copyright 2017-2021 Cirrus Logic, Inc. 23 #include <sound/soc-dapm.h> 164 return -EINVAL; in cs35l41_get_fs_mon_config_index() 169 1, 913, TLV_DB_MINMAX_ITEM(-10200, 1200)); 186 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs35l41_dsp_preload_ev() 192 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() 197 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev() 200 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev() [all …]
|
D | tlv320aic31xx.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2014-2017 Texas Instruments Incorporated - https://www.ti.com/ 10 * The TLV320AIC31xx series of audio codecs are low-power, highly integrated 12 * and mono/stereo Class-D speaker driver. 35 #include <dt-bindings/sound/tlv320aic31xx.h> 179 u8 ocmv; /* output common-mode voltage */ 310 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6350, 50, 0); 312 static const DECLARE_TLV_DB_SCALE(adc_cgain_tlv, -2000, 50, 0); 316 static const DECLARE_TLV_DB_SCALE(hp_vol_tlv, -6350, 50, 0); 317 static const DECLARE_TLV_DB_SCALE(sp_vol_tlv, -6350, 50, 0); [all …]
|
D | rt5640.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rt5640.c -- RT5640/RT5639 ALSA SoC audio codec driver 28 #include <sound/soc-dapm.h> 342 static const DECLARE_TLV_DB_SCALE(out_vol_tlv, -4650, 150, 0); 343 static const DECLARE_TLV_DB_MINMAX(dac_vol_tlv, -6562, 0); 344 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -3450, 150, 0); 345 static const DECLARE_TLV_DB_MINMAX(adc_vol_tlv, -1762, 3000); 453 * set_dmic_clk - Set parameter of dmic. 463 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() 467 rate = rt5640->sysclk / rl6231_get_pre_div(rt5640->regmap, in set_dmic_clk() [all …]
|
/Linux-v6.1/drivers/pinctrl/ |
D | pinctrl-k210.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/pinctrl/pinconf-generic.h> 19 #include <dt-bindings/pinctrl/k210-fpioa.h> 23 #include "pinctrl-utils.h" 47 #define K210_PC_OE_INV BIT(13) /* INVert Output Enable */ 49 #define K210_PC_DO_INV BIT(15) /* INVert final Data Output */ 56 #define K210_PC_IE_INV BIT(21) /* INVert Input Enable */ 57 #define K210_PC_DI_INV BIT(22) /* INVert Data Input */ 79 * @pins: 48 32-bits IO pin registers 130 * no pins 48-55). [all …]
|
/Linux-v6.1/drivers/comedi/drivers/ |
D | s626.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 2002-2004 Sensoray Co., Inc. 24 * Number of extended-capability 36 #define S626_RANGE_5V 0x10 /* +/-5V range */ 37 #define S626_RANGE_10V 0x00 /* +/-10V range */ 146 * GPIO3 = IRQ; GPIO1 = out. 148 #define S626_GPIO1_LO 0x00000000 /* GPIO1 set to LOW. */ 149 #define S626_GPIO1_HI 0x00001000 /* GPIO1 set to HIGH. */ 180 * Shut down all MC1-controlled [all …]
|
D | s626.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 10 * Copyright (C) 2002-2004 Sensoray Co., Inc. 68 * struct s626_private - Working data for s626 driver. 69 * @ai_cmd_running: non-zero if ai_cmd is running. 78 * @dacpol: image of DAC polarity register. 98 #define S626_INDXMASK(C) (1 << (((C) > 2) ? ((C) * 2 - 1) : ((C) * 2 + 4))) 110 writel(val, dev->mmio + reg); in s626_mc_enable() 116 writel(cmd << 16, dev->mmio + reg); in s626_mc_disable() 124 val = readl(dev->mmio + reg); in s626_mc_test() [all …]
|
/Linux-v6.1/drivers/media/dvb-frontends/drx39xyj/ |
D | drx_driver.h | 2 Copyright (c), 2004-2005,2007-2010 Trident Microsystems, Inc. 60 /*------------------------------------------------------------------------------ 62 ------------------------------------------------------------------------------*/ 69 * \retval -EIO Initialization failed. 78 * \retval -EIO Termination failed. 98 * \retval -EIO Failure. 99 * \retval -EINVAL Parameter 'wcount' is not zero but parameter 133 #define TUNER_MODE_SUB0 0x0001 /* for sub-mode (e.g. RF-AGC setting) */ 134 #define TUNER_MODE_SUB1 0x0002 /* for sub-mode (e.g. RF-AGC setting) */ 135 #define TUNER_MODE_SUB2 0x0004 /* for sub-mode (e.g. RF-AGC setting) */ [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | omap3-gta04.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Based on omap3-beagle-xm.dts 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 14 compatible = "ti,omap3-gta04", "ti,omap3630", "ti,omap36xx", "ti,omap3"; 18 cpu0-supply = <&vcc>; 28 stdout-path = &uart3; 34 /delete-property/ mmc2; 35 /delete-property/ mmc3; 39 compatible = "regulator-fixed"; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/nvidia/ |
D | tegra210-smaug.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/mfd/max77620.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 12 compatible = "google,smaug-rev8", "google,smaug-rev7", 13 "google,smaug-rev6", "google,smaug-rev5", 14 "google,smaug-rev4", "google,smaug-rev3", 15 "google,smaug-rev2", "google,smaug-rev1", 25 stdout-path = "serial0:115200n8"; [all …]
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_link.c | 1 /* Copyright 2008-2013 Broadcom Corporation 8 * at http://www.gnu.org/licenses/gpl-2.0.html (the "GPL"). 43 #define I2C_WA_PWR_ITER (I2C_WA_RETRY_CNT - 1) 205 (_phy)->def_md_devad, \ 211 (_phy)->def_md_devad, \ 239 * bnx2x_check_lfa - This function checks if link reinitialization is required, 251 struct bnx2x *bp = params->bp; in bnx2x_check_lfa() 254 REG_RD(bp, params->lfa_base + in bnx2x_check_lfa() 257 /* NOTE: must be first condition checked - in bnx2x_check_lfa() 262 REG_WR(bp, params->lfa_base + in bnx2x_check_lfa() [all …]
|