Home
last modified time | relevance | path

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

12345678910>>...29

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/gpu/drm/meson/
Dmeson_dw_hdmi.h42 * Bit 12 RW i2s_ws_inv:1=Invert i2s_ws; 0=No invert. Default 0.
43 * Bit 11 RW i2s_clk_inv: 1=Invert i2s_clk; 0=No invert. Default 0.
44 * Bit 10 RW spdif_clk_inv: 1=Invert spdif_clk; 0=No invert. Default 0.
45 * Bit 9 RW tmds_clk_inv: 1=Invert tmds_clk; 0=No invert. Default 0.
46 * Bit 8 RW pixel_clk_inv: 1=Invert pixel_clk; 0=No invert. Default 0.
47 * Bit 4 RW cec_clk_en: 1=enable cec_clk; 0=disable. Default 0.
48 * Bit 3 RW i2s_clk_en: 1=enable i2s_clk; 0=disable. Default 0.
49 * Bit 2 RW spdif_clk_en: 1=enable spdif_clk; 0=disable. Default 0.
50 * Bit 1 RW tmds_clk_en: 1=enable tmds_clk; 0=disable. Default 0.
51 * Bit 0 RW pixel_clk_en: 1=enable pixel_clk; 0=disable. Default 0.
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/macintosh/ams/
Dams-input.c5 * Copyright (C) 2006 Michael Hanselmann (linux-kernel@hansmi.ch)
24 MODULE_PARM_DESC(joystick, "Enable the input class device on module load");
26 static bool invert; variable
27 module_param(invert, bool, S_IWUSR | S_IRUGO);
28 MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");
34 struct input_dev *idev = dev->input; in ams_idev_poll()
41 x -= ams_info.xcalib; in ams_idev_poll()
42 y -= ams_info.ycalib; in ams_idev_poll()
43 z -= ams_info.zcalib; in ams_idev_poll()
45 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll()
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/sound/soc/codecs/
Dtda7419.c139 unsigned int invert:1; member
144 if (tvc->reg == tvc->rreg) in tda7419_vol_is_stereo()
154 (struct tda7419_vol_control *)kcontrol->private_value; in tda7419_vol_info()
156 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in tda7419_vol_info()
157 uinfo->count = tda7419_vol_is_stereo(tvc) ? 2 : 1; in tda7419_vol_info()
158 uinfo->value.integer.min = tvc->min; in tda7419_vol_info()
159 uinfo->value.integer.max = tvc->max; in tda7419_vol_info()
166 unsigned int invert) in tda7419_vol_get_value() argument
170 if (invert) in tda7419_vol_get_value()
171 val = 0 - val; in tda7419_vol_get_value()
[all …]
Dmax98926.c2 * max98926.c -- ALSA SoC MAX98926 driver
3 * Copyright 2013-15 Maxim Integrated Products
87 { 0x36, 0x00 }, /* Block Enable */
89 { 0x38, 0x00 }, /* Global Enable */
133 SND_SOC_DAPM_DAC("Amp Enable", NULL, MAX98926_BLOCK_ENABLE,
135 SND_SOC_DAPM_SUPPLY("Global Enable", MAX98926_GLOBAL_ENABLE,
137 SND_SOC_DAPM_SUPPLY("VI Enable", MAX98926_BLOCK_ENABLE,
141 SND_SOC_DAPM_PGA("BST Enable", MAX98926_BLOCK_ENABLE,
163 {"VI Enable", NULL, "DAI_OUT"},
164 {"DAI Sel", "Left", "VI Enable"},
[all …]
/kernel/linux/linux-4.19/drivers/video/fbdev/
Dcyber2000fb.h4 * Copyright (C) 1998-2000 Russell King
80 #define EXT_FUNC_CTL_EXTREGENBL 0x80 /* enable access to 0xbcxxx */
83 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */
84 #define PCI_BM_CTL_BURST 0x02 /* enable burst */
85 #define PCI_BM_CTL_BACK2BACK 0x04 /* enable back to back */
202 #define EXT_CAP_MODE1_8BIT 0x01 /* enable 8bit capture mode */
229 #define EXT_LATCH1_VAFC_EN 0x01 /* enable VAFC */
253 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */
254 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */
255 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/sound/isa/cs423x/
Dcs4236_lib.c6 * -----
9 * -----
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
34 * D7-D5: version
35 * D4-D0: chip id
36 * 11101 - CS4235
37 * 01011 - CS4236B
38 * 01000 - CS4237B
39 * 01001 - CS4238B
40 * 11110 - CS4239
[all …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-st.c6 * This is a re-write of Christophe Kerello's PMU driver.
13 #include <dt-bindings/interrupt-controller/irq-st.h>
51 .compatible = "st,stih415-irq-syscfg",
55 .compatible = "st,stih416-irq-syscfg",
59 .compatible = "st,stih407-irq-syscfg",
63 .compatible = "st,stid127-irq-syscfg",
72 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); in st_irq_xlate()
74 /* Set the device enable bit. */ in st_irq_xlate()
77 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate()
80 ddata->config |= ST_A9_IRQ_EN_EXT_1; in st_irq_xlate()
[all …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/sound/isa/
Dopl3sa2.c2 * Driver for Yamaha OPL3-SA[2,3] soundcards
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 MODULE_SUPPORTED_DEVICE("{{Yamaha,YMF719E-S},"
46 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_ISAPNP; /* Enable this card */ variable
50 static bool isapnp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
63 MODULE_PARM_DESC(index, "Index value for OPL3-SA soundcard.");
65 MODULE_PARM_DESC(id, "ID string for OPL3-SA soundcard.");
66 module_param_array(enable, bool, NULL, 0444);
67 MODULE_PARM_DESC(enable, "Enable OPL3-SA soundcard.");
[all …]
/kernel/linux/linux-4.19/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.txt 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;
/kernel/linux/linux-5.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;
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/
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 …]

12345678910>>...29