Home
last modified time | relevance | path

Searched +full:gpio2 +full:- +full:polarity +full:- +full:invert (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/sound/
Dcirrus,cs35l41.yaml1 # 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/
Dcs35l41.c1 // 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 …]
/Linux-v6.1/drivers/pinctrl/
Dpinctrl-k210.c1 // 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/
Ds626.h1 /* 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 */
117 #define S626_RPS_GPIO2 0x00080000 /* RPS GPIO2 */
163 * GPIO2 input pin: 0=AdcBusy,
180 * Shut down all MC1-controlled
231 #define S626_P_RPS0_TOUT 0x00D4 /* RPS0 time-out. */
[all …]
Ds626.c1 // 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/
Ddrx_driver.h2 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/
Domap3-gta04.dtsi1 // 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/
Dtegra210-smaug.dts1 // 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/media/i2c/cx25840/
Dcx25840-core.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* cx25840 - Conexant CX25840 audio/video decoder driver
10 * - cleanup/rewrite for V4L2 API (2005)
36 #include <media/v4l2-common.h>
37 #include <media/drv-intf/cx25840.h>
39 #include "cx25840-core.h"
73 /* ----------------------------------------------------------------------- */
107 msgs[0].addr = client->addr; in cx25840_read()
113 msgs[1].addr = client->addr; in cx25840_read()
118 if (i2c_transfer(client->adapter, msgs, 2) < 2) in cx25840_read()
[all …]
/Linux-v6.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.c1 /* 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 …]