Home
last modified time | relevance | path

Searched +full:invert +full:- +full:enable (Results 1 – 25 of 347) sorted by relevance

12345678910>>...14

/linux/drivers/gpu/drm/meson/
H A Dmeson_dw_hdmi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * Bit 15-10: RW Reserved. Default 1 starting from G12A
33 * Bit 31 RW free_clk_en: 0=Enable clock gating for power saving; 1= Disable
34 * Bit 12 RW i2s_ws_inv:1=Invert i2s_ws; 0=No invert. Default 0.
35 * Bit 11 RW i2s_clk_inv: 1=Invert i2s_clk; 0=No invert. Default 0.
36 * Bit 10 RW spdif_clk_inv: 1=Invert spdif_clk; 0=No invert. Default 0.
37 * Bit 9 RW tmds_clk_inv: 1=Invert tmds_clk; 0=No invert. Default 0.
38 * Bit 8 RW pixel_clk_inv: 1=Invert pixel_clk; 0=No invert. Default 0.
39 * Bit 7 RW hdcp22_skpclk_en: starting from G12A, 1=enable; 0=disable
40 * Bit 6 RW hdcp22_esmclk_en: starting from G12A, 1=enable; 0=disable
[all …]
H A Dmeson_dw_mipi_dsi.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
11 /* Top-level registers */
33 * 1=Enable IP's edpihalt signal to suspend VencL;
35 * [2] RW clock_freerun: Apply to auto-clock gate only. Default 0.
36 * 0=Default, use auto-clock gating to save power;
37 * 1=use free-run clock, disable auto-clock gating, for debug mode.
39 * have auto-clock gating. 1=Enable pixclk. Default 0.
41 * have auto-clock gating. 1=Enable sysclk. Default 0.
50 * 0=16-bit RGB565 config 1;
51 * 1=16-bit RGB565 config 2;
[all …]
/linux/drivers/macintosh/ams/
H A Dams-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)
20 MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
22 static bool invert; variable
23 module_param(invert, bool, S_IWUSR | S_IRUGO);
24 MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");
36 x -= ams_info.xcalib; in ams_idev_poll()
37 y -= ams_info.ycalib; in ams_idev_poll()
38 z -= ams_info.zcalib; in ams_idev_poll()
40 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll()
[all …]
/linux/sound/soc/codecs/
H A Dtda7419.c1 // SPDX-License-Identifier: GPL-2.0-only
131 unsigned int invert:1; member
136 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo()
146 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info()
148 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info()
149 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info()
150 uinfo->value.integer.min = tvc->min; in tda7419_vol_info()
151 uinfo->value.integer.max = tvc->max; in tda7419_vol_info()
158 unsigned int invert) in tda7419_vol_get_value() argument
162 if (invert) in tda7419_vol_get_value()
[all …]
H A Dcs530x.c1 // SPDX-License-Identifier: GPL-2.0
28 "vdd-a",
29 "vdd-io",
112 struct regmap *regmap = cs530x->regmap; in cs530x_put_volsw_vu()
130 static const DECLARE_TLV_DB_SCALE(in_vol_tlv, -1270, 50, 0);
133 "Min Phase Slow Roll-off",
134 "Min Phase Fast Roll-off",
135 "Linear Phase Slow Roll-off",
136 "Linear Phase Fast Roll-off",
196 SOC_SINGLE("ADC1 Invert Switch", CS530X_IN_INV, CS530X_IN1_INV_SHIFT, 1, 0),
[all …]
H A Dmax98926.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98926.c -- ALSA SoC MAX98926 driver
4 * Copyright 2013-15 Maxim Integrated Products
76 { 0x36, 0x00 }, /* Block Enable */
78 { 0x38, 0x00 }, /* Global Enable */
122 SND_SOC_DAPM_DAC("Amp Enable", NULL, MAX98926_BLOCK_ENABLE,
124 SND_SOC_DAPM_SUPPLY("Global Enable", MAX98926_GLOBAL_ENABLE,
126 SND_SOC_DAPM_SUPPLY("VI Enable", MAX98926_BLOCK_ENABLE,
130 SND_SOC_DAPM_PGA("BST Enable", MAX98926_BLOCK_ENABLE,
152 {"VI Enable", NULL, "DAI_OUT"},
[all …]
H A Dmax98925.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max98925.c -- ALSA SoC Stereo MAX98925 driver
4 * Copyright 2013-15 Maxim Integrated Products
79 { 0x36, 0x00 }, /* Block Enable */
81 { 0x38, 0x00 }, /* Global Enable */
105 regmap_update_bits(max98925->regmap, in max98925_dac_event()
113 regmap_update_bits(max98925->regmap, in max98925_dac_event()
129 SND_SOC_DAPM_DAC_E("Amp Enable", NULL, MAX98925_BLOCK_ENABLE,
132 SND_SOC_DAPM_SUPPLY("Global Enable", MAX98925_GLOBAL_ENABLE,
148 {"Amp Enable", NULL, "Rc Filter MUX"},
[all …]
/linux/sound/isa/cs423x/
H A Dcs4236_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * -----
378 CS4236_SINGLE(xname,xindex,reg,shift,mask,invert) global() argument
384 CS4236_SINGLE_TLV(xname,xindex,reg,shift,mask,invert,xtlv) global() argument
410 int invert = (kcontrol->private_value >> 24) & 0xff; snd_cs4236_get_single() local
427 int invert = (kcontrol->private_value >> 24) & 0xff; snd_cs4236_put_single() local
443 CS4236_SINGLEC(xname,xindex,reg,shift,mask,invert) global() argument
456 int invert = (kcontrol->private_value >> 24) & 0xff; snd_cs4236_get_singlec() local
473 int invert = (kcontrol->private_value >> 24) & 0xff; snd_cs4236_put_singlec() local
489 CS4236_DOUBLE(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert) global() argument
496 CS4236_DOUBLE_TLV(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert,xtlv) global() argument
525 int invert = (kcontrol->private_value >> 22) & 1; snd_cs4236_get_double() local
547 int invert = (kcontrol->private_value >> 22) & 1; snd_cs4236_put_double() local
576 CS4236_DOUBLE1(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert) global() argument
583 CS4236_DOUBLE1_TLV(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert,xtlv) global() argument
601 int invert = (kcontrol->private_value >> 22) & 1; snd_cs4236_get_double1() local
623 int invert = (kcontrol->private_value >> 22) & 1; snd_cs4236_put_double1() local
955 unsigned short enable, val; snd_cs4236_put_iec958_switch() local
[all...]
/linux/Documentation/devicetree/bindings/input/
H A Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
H A Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 - $ref: input.yaml#
16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
17 additional Hall-effect and inductive sensing capabilities.
24 - azoteq,iqs269a
25 - azoteq,iqs269a-00
26 - azoteq,iqs269a-d0
[all …]
/linux/drivers/irqchip/
H A Dirq-st.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * This is a re-write of Christophe Kerello's PMU driver.
10 #include <dt-bindings/interrupt-controller/irq-st.h>
45 .compatible = "st,stih407-irq-syscfg",
54 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate()
56 /* Set the device enable bit. */ in st_irq_xlate()
59 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate()
62 ddata->config |= ST_A9_IRQ_EN_EXT_1; in st_irq_xlate()
65 ddata->config |= ST_A9_IRQ_EN_EXT_2; in st_irq_xlate()
68 ddata->config |= ST_A9_IRQ_EN_CTI_0; in st_irq_xlate()
[all …]
/linux/sound/isa/
H A Dopl3sa2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Yamaha OPL3-SA[2,3] soundcards
26 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
28 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */ variable
30 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS -
322 OPL3SA2_SINGLE(xname,xindex,reg,shift,mask,invert) global() argument
327 OPL3SA2_SINGLE_TLV(xname,xindex,reg,shift,mask,invert,xtlv) global() argument
343 int invert = (kcontrol->private_value >> 24) & 0xff; snd_opl3sa2_get_single() local
360 int invert = (kcontrol->private_value >> 24) & 0xff; snd_opl3sa2_put_single() local
377 OPL3SA2_DOUBLE(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert) global() argument
382 OPL3SA2_DOUBLE_TLV(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert,xtlv) global() argument
400 int invert = (kcontrol->private_value >> 22) & 1; snd_opl3sa2_get_double() local
422 int invert = (kcontrol->private_value >> 22) & 1; snd_opl3sa2_put_double() local
[all...]
/linux/drivers/s390/net/
H A Dqeth_l3_sys.c1 // SPDX-License-Identifier: GPL-2.0
24 if ((proto == QETH_PROT_IPV4 && !in4_pton(buf, -1, addr, -1, &end)) || in qeth_l3_string_to_ipaddr()
25 (proto == QETH_PROT_IPV6 && !in6_pton(buf, -1, addr, -1, &end))) in qeth_l3_string_to_ipaddr()
26 return -EINVAL; in qeth_l3_string_to_ipaddr()
33 switch (route->type) { in qeth_l3_dev_route_show()
39 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show()
44 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show()
49 if (card->info.broadcast_capable == QETH_BROADCAST_WITHOUT_ECHO) in qeth_l3_dev_route_show()
63 return qeth_l3_dev_route_show(card, &card->options.route4, buf); in qeth_l3_dev_route4_show()
70 enum qeth_routing_types old_route_type = route->type; in qeth_l3_dev_route_store()
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dqcom,q6dsp-lpass-ports.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/qcom,q6dsp-lpass-ports.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
18 - qcom,q6afe-dais
20 '#sound-dai-cells':
23 '#address-cells':
26 '#size-cells':
31 '^dai@[0-9]+$':
[all …]
H A Dcs35l36.txt5 - compatible : "cirrus,cs35l36"
7 - reg : the I2C address of the device for I2C
9 - VA-supply, VP-supply : power supplies for the device,
13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost
18 - cirrus,boost-peak-milliamp : Boost-converter peak current limit in mA.
24 - cirrus,boost-ind-nanohenry : Inductor estimation LBST reference value.
32 - cirrus,multi-amp-mode : Boolean to determine if there are more than
33 one amplifier in the system. If more than one it is best to Hi-Z the ASP
36 - cirrus,boost-ctl-select : Boost converter control source selection.
39 0x00 - Control Port Value
[all …]
H A Dcirrus,cs42l43.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - patches@opensource.cirrus.com
21 - $ref: dai-common.yaml#
26 - cirrus,cs42l43
31 vdd-p-supply:
35 vdd-a-supply:
39 vdd-d-supply:
43 vdd-io-supply:
[all …]
/linux/include/sound/
H A Dsoc-jack.h1 /* SPDX-License-Identifier: GPL-2.0
3 * soc-jack.h
12 * struct snd_soc_jack_pin - Describes a pin to update based on jack detection
16 * @invert: if non-zero then pin is enabled when status is not reported
23 bool invert; member
27 * struct snd_soc_jack_zone - Describes voltage zones of jack detection
45 * struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
53 * @invert: report presence in low state
55 * @wake: enable as wake source
65 int invert; member
/linux/drivers/watchdog/
H A Dsmsc37b787_wdt.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * any of this software. This material is provided "AS-IS" in
12 * (C) Copyright 2003-2006 Sven Anders <anders@anduras.de>
15 * 2003 - Created version 1.0 for Linux 2.4.x.
16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE
38 * For an example userspace keep-alive daemon, see:
60 /* enable support for minutes as units? */
86 /* -- Low level function ----------------------------------------*/
124 /* -- Medium level functions ------------------------------------*/
128 /* -- General Purpose I/O Bit 1.2 -- in gpio_bit12()
[all …]
/linux/Documentation/devicetree/bindings/pwm/
H A Dnxp,pca9685-pwm.txt1 NXP PCA9685 16-channel 12-bit PWM LED controller
5 - compatible: "nxp,pca9685-pwm"
6 - #pwm-cells: Should be 2. See pwm.yaml in this directory for a description of
12 - invert (bool): boolean to enable inverted logic
13 - open-drain (bool): boolean to configure outputs with open-drain structure;
14 if omitted use totem-pole structure
22 compatible = "nxp,pca9685-pwm";
23 #pwm-cells = <2>;
25 invert;
26 open-drain;
/linux/sound/isa/es1688/
H A Des1688_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 for (i = 10000; i; i--) in snd_es1688_dsp_command()
33 dev_dbg(chip->card->dev, "%s: timeout (0x%x)\n", __func__, val); in snd_es1688_dsp_command()
41 for (i = 1000; i; i- in snd_es1688_dsp_get_byte()
185 snd_es1688_init(struct snd_es1688 * chip,int enable) snd_es1688_init() argument
757 ES1688_SINGLE(xname,xindex,reg,shift,mask,invert) global() argument
781 int invert = (kcontrol->private_value >> 24) & 0xff; snd_es1688_get_single() local
798 int invert = (kcontrol->private_value >> 24) & 0xff; snd_es1688_put_single() local
816 ES1688_DOUBLE(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert) global() argument
842 int invert = (kcontrol->private_value >> 22) & 1; snd_es1688_get_double() local
876 int invert = (kcontrol->private_value >> 22) & 1; snd_es1688_put_double() local
[all...]
/linux/arch/m68k/include/asm/
H A Dmcfwdebug.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 * mcfdebug.h -- ColdFire Debug Module support.
33 #define MCFDEBUG_TDR_EBL1 0x00002000 /* Enable breakpoint level 1 */
34 #define MCFDEBUG_TDR_EBL2 0x20000000 /* Enable breakpoint level 2 */
35 #define MCFDEBUG_TDR_EDLW1 0x00001000 /* Enable data BP longword */
37 #define MCFDEBUG_TDR_EDWL1 0x00000800 /* Enable data BP lower word */
39 #define MCFDEBUG_TDR_EDWU1 0x00000400 /* Enable data BP upper word */
41 #define MCFDEBUG_TDR_EDLL1 0x00000200 /* Enable data BP low low byte */
43 #define MCFDEBUG_TDR_EDLM1 0x00000100 /* Enable data BP low mid byte */
45 #define MCFDEBUG_TDR_EDUM1 0x00000080 /* Enable data BP up mid byte */
[all …]
/linux/sound/pci/
H A Dfm801.c1 // SPDX-License-Identifier: GPL-2.0-or-later
23 #include <media/drv-intf/tea575x.h>
30 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
32 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ variable
34 * Enable TEA575
843 FM801_SINGLE(xname,reg,shift,mask,invert) global() argument
867 int invert = (kcontrol->private_value >> 24) & 0xff; snd_fm801_get_single() local
883 int invert = (kcontrol->private_value >> 24) & 0xff; snd_fm801_put_single() local
892 FM801_DOUBLE(xname,reg,shift_left,shift_right,mask,invert) global() argument
896 FM801_DOUBLE_TLV(xname,reg,shift_left,shift_right,mask,invert,xtlv) global() argument
924 int invert = (kcontrol->private_value >> 24) & 0xff; snd_fm801_get_double() local
946 int invert = (kcontrol->private_value >> 24) & 0xff; snd_fm801_put_double() local
[all...]
H A Dsonicvibes.c1 // SPDX-License-Identifier: GPL-2.0-or-later
18 #include <linux/dma-mapping.h>
37 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
39 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ variable
48 module_param_array(enable, boo
197 unsigned char enable; global() member
927 SONICVIBES_SINGLE(xname,xindex,reg,shift,mask,invert) global() argument
950 int invert = (kcontrol->private_value >> 24) & 0xff; snd_sonicvibes_get_single() local
966 int invert = (kcontrol->private_value >> 24) & 0xff; snd_sonicvibes_put_single() local
983 SONICVIBES_DOUBLE(xname,xindex,left_reg,right_reg,shift_left,shift_right,mask,invert) global() argument
1008 int invert = (kcontrol->private_value >> 22) & 1; snd_sonicvibes_get_double() local
1029 int invert = (kcontrol->private_value >> 22) & 1; snd_sonicvibes_put_double() local
[all...]
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dcanaan,k210-fpioa.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/canaan,k210-fpioa.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Damien Le Moal <dlemoal@kernel.org>
16 a per-pin basis.
20 const: canaan,k210-fpioa
29 - description: Controller reference clock source
30 - description: APB interface clock source
32 clock-names:
[all …]
/linux/drivers/media/rc/
H A Dwinbond-cir.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * winbond-cir.c - Driver for the Consumer IR functionality of Winbond
12 * Copyright (C) 2009 - 2011 David Härdeman <david@hardeman.nu>
26 * o Wake-On-CIR functionality
44 #include <media/rc-core.h>
46 #define DRVNAME "winbond-cir"
48 /* CEIR Wake-Up Registers, relative to data->wbase */
51 #define WBCIR_REG_WCEIR_EV_EN 0x05 /* CEIR Receiver Event Enable */
60 /* CEIR Enhanced Functionality Registers, relative to data->ebase */
67 /* SP3 Banked Registers, relative to data->sbase */
[all …]

12345678910>>...14