Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.10/drivers/gpu/drm/meson/
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 …]
/Linux-v5.10/drivers/macintosh/ams/
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-v5.10/sound/soc/codecs/
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 …]
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 …]
Dda9055.c1 // SPDX-License-Identifier: GPL-2.0-or-later
59 /* Input - Gain, Select and Filter Registers */
72 /* Output - Gain, Select and Filter Registers */
289 0x0, 0x10, TLV_DB_SCALE_ITEM(-5400, 0, 0),
290 /* -54dB to 15dB */
291 0x11, 0x3f, TLV_DB_SCALE_ITEM(-5400, 150, 0)
296 /* -78dB to 12dB */
297 0x08, 0x7f, TLV_DB_SCALE_ITEM(-7800, 75, 0)
306 static const DECLARE_TLV_DB_SCALE(mic_vol_tlv, -600, 600, 0);
307 static const DECLARE_TLV_DB_SCALE(mixin_gain_tlv, -450, 150, 0);
[all …]
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 …]
Dcs42xx8.c53 /* -127.5dB to 0dB with step of 0.5dB */
54 static const DECLARE_TLV_DB_SCALE(dac_tlv, -12750, 50, 1);
55 /* -64dB to 24dB with step of 0.5dB */
56 static const DECLARE_TLV_DB_SCALE(adc_tlv, -6400, 50, 0);
58 static const char *const cs42xx8_adc_single[] = { "Differential", "Single-Ended" };
83 CS42XX8_VOLAIN2, 0, -0x80, 0x30, 7, 0, adc_tlv),
85 CS42XX8_VOLAIN4, 0, -0x80, 0x30, 7, 0, adc_tlv),
86 SOC_DOUBLE("DAC1 Invert Switch", CS42XX8_DACINV, 0, 1, 1, 0),
87 SOC_DOUBLE("DAC2 Invert Switch", CS42XX8_DACINV, 2, 3, 1, 0),
88 SOC_DOUBLE("DAC3 Invert Switch", CS42XX8_DACINV, 4, 5, 1, 0),
[all …]
/Linux-v5.10/drivers/video/fbdev/
Dcyber2000fb.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1998-2000 Russell King
77 #define EXT_FUNC_CTL_EXTREGENBL 0x80 /* enable access to 0xbcxxx */
80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */
81 #define PCI_BM_CTL_BURST 0x02 /* enable burst */
82 #define PCI_BM_CTL_BACK2BACK 0x04 /* enable back to back */
199 #define EXT_CAP_MODE1_8BIT 0x01 /* enable 8bit capture mode */
226 #define EXT_LATCH1_VAFC_EN 0x01 /* enable VAFC */
250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */
251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */
[all …]
/Linux-v5.10/sound/isa/cs423x/
Dcs4236_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * -----
10 * -----
20 * D7-D5: version
21 * D4-D0: chip id
22 * 11101 - CS4235
23 * 01011 - CS4236B
24 * 01000 - CS4237B
25 * 01001 - CS4238B
26 * 11110 - CS4239
[all …]
/Linux-v5.10/drivers/irqchip/
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>
48 .compatible = "st,stih415-irq-syscfg",
52 .compatible = "st,stih416-irq-syscfg",
56 .compatible = "st,stih407-irq-syscfg",
60 .compatible = "st,stid127-irq-syscfg",
69 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate()
71 /* Set the device enable bit. */ in st_irq_xlate()
74 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/clock/ti/
Dautoidle.txt3 Binding status: Unstable - ABI compatibility may be broken in the future
9 or fixed-factor.
11 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
14 - reg : offset for the register controlling the autoidle
15 - ti,autoidle-shift : bit shift of the autoidle enable bit
16 - ti,invert-autoidle-bit : autoidle is enabled by setting the bit to 0
20 #clock-cells = <0>;
21 compatible = "ti,divider-clock";
23 ti,max-div = <31>;
24 ti,autoidle-shift = <8>;
[all …]
Dfixed-factor-clock.txt3 Binding status: Unstable - ABI compatibility may be broken in the future
8 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
12 - compatible : shall be "ti,fixed-factor-clock".
13 - #clock-cells : from common clock binding; shall be set to 0.
14 - ti,clock-div: fixed divider.
15 - ti,clock-mult: fixed multiplier.
16 - clocks: parent clock.
19 - ti,autoidle-shift: bit shift of the autoidle enable bit for the clock,
21 - reg: offset for the autoidle register of this clock, see [2]
22 - ti,invert-autoidle-bit: autoidle is enabled by setting the bit to 0, see [2]
[all …]
/Linux-v5.10/drivers/s390/net/
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-v5.10/Documentation/devicetree/bindings/interrupt-controller/
Dst,sti-irq-syscfg.txt2 -----------------------------------------------------------
9 - compatible : Should be set to one of:
10 "st,stih415-irq-syscfg"
11 "st,stih416-irq-syscfg"
12 "st,stih407-irq-syscfg"
13 "st,stid127-irq-syscfg"
14 - st,syscfg : Phandle to Cortex-A9 IRQ system config registers
15 - st,irq-device : Array of IRQs to enable - should be 2 in length
16 - st,fiq-device : Array of FIQs to enable - should be 2 in length
19 - st,invert-ext : External IRQs can be inverted at will. This property inverts
[all …]
/Linux-v5.10/sound/isa/
Dopl3sa2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for Yamaha OPL3-SA[2,3] soundcards
25 MODULE_SUPPORTED_DEVICE("{{Yamaha,YMF719E-S},"
31 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
33 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */ variable
35 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
48 MODULE_PARM_DESC(index, "Index value for OPL3-SA soundcard.");
50 MODULE_PARM_DESC(id, "ID string for OPL3-SA soundcard.");
51 module_param_array(enable, bool, NULL, 0444);
52 MODULE_PARM_DESC(enable, "Enable OPL3-SA soundcard.");
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/pwm/
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-v5.10/Documentation/devicetree/bindings/sound/
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 conerter control source selection.
39 0x00 - Control Port Value
[all …]
Dqcom,q6afe.txt7 - compatible:
10 Definition: must be "qcom,q6afe-v<MAJOR-NUMBER>.<MINOR-NUMBER>"
20 - compatible:
23 Definition: must be "qcom,q6afe-dais"
25 - #sound-dai-cells
30 - #address-cells
35 - #size-cells
43 - reg
48 - qcom,sd-lines
50 Value type: <prop-encoded-array>
[all …]
/Linux-v5.10/drivers/clk/qcom/
Dclk-branch.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/clk-provider.h>
14 #include "clk-branch.h"
20 if (!br->hwcg_reg) in clk_branch_in_hwcg_mode()
23 regmap_read(br->clkr.regmap, br->hwcg_reg, &val); in clk_branch_in_hwcg_mode()
25 return !!(val & BIT(br->hwcg_bit)); in clk_branch_in_hwcg_mode()
30 bool invert = (br->halt_check == BRANCH_HALT_ENABLE); in clk_branch_check_halt() local
33 regmap_read(br->clkr.regmap, br->halt_reg, &val); in clk_branch_check_halt()
35 val &= BIT(br->halt_bit); in clk_branch_check_halt()
36 if (invert) in clk_branch_check_halt()
[all …]
/Linux-v5.10/drivers/watchdog/
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-v5.10/sound/isa/es1688/
Des1688_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
28 for (i = 10000; i; i--) in snd_es1688_dsp_command()
43 for (i = 1000; i; i--) in snd_es1688_dsp_get_byte()
47 return -ENODEV; in snd_es1688_dsp_get_byte()
62 return -1; in snd_es1688_read()
64 return -1; in snd_es1688_read()
92 outb(3, ES1688P(chip, RESET)); /* valid only for ESS chips, SB -> 1 */ in snd_es1688_reset()
98 snd_printd("ess_reset at 0x%lx: failed!!!\n", chip->port); in snd_es1688_reset()
99 return -ENODEV; in snd_es1688_reset()
101 snd_es1688_dsp_command(chip, 0xc6); /* enable extended mode */ in snd_es1688_reset()
[all …]
/Linux-v5.10/arch/m68k/include/asm/
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-v5.10/Documentation/devicetree/bindings/input/
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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
37 Enables Hall-effect sensing on channels 6 and 7. In this case, keycodes
[all …]
/Linux-v5.10/arch/sh/boards/mach-microdev/
Dfdc37c93xapm.c1 // SPDX-License-Identifier: GPL-2.0
9 * SuperH SH4-202 MicroDev board support.
61 /* General-Purpose base address on CPU-board FPGA */
80 return -ENODEV; in smsc_superio_setup()
84 /* enable it */ in smsc_superio_setup()
86 /* enable the interrupts */ in smsc_superio_setup()
92 /* enable it */ in smsc_superio_setup()
98 /* enable the interrupts */ in smsc_superio_setup()
103 /* enable it */ in smsc_superio_setup()
109 /* enable the interrupts */ in smsc_superio_setup()
[all …]
/Linux-v5.10/sound/soc/meson/
Daxg-tdm-formatter.c1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
13 #include "axg-tdm-formatter.h"
33 unsigned int val, ch = ts->channels; in axg_tdm_formatter_set_channel_masks()
43 mask = ts->mask[i]; in axg_tdm_formatter_set_channel_masks()
49 ch -= 1; in axg_tdm_formatter_set_channel_masks()
63 return -EINVAL; in axg_tdm_formatter_set_channel_masks()
72 struct axg_tdm_stream *ts = formatter->stream; in axg_tdm_formatter_enable()
73 bool invert; in axg_tdm_formatter_enable() local
77 if (formatter->enabled) in axg_tdm_formatter_enable()
94 ret = reset_control_reset(formatter->reset); in axg_tdm_formatter_enable()
[all …]

12345678910>>...15