Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-6.6/net/netfilter/
Dnft_lookup.c1 // SPDX-License-Identifier: GPL-2.0-only
23 bool invert; member
29 const u32 *key, const struct nft_set_ext **ext) in nft_set_do_lookup() argument
31 if (set->ops == &nft_set_hash_fast_type.ops) in nft_set_do_lookup()
32 return nft_hash_lookup_fast(net, set, key, ext); in nft_set_do_lookup()
33 if (set->ops == &nft_set_hash_type.ops) in nft_set_do_lookup()
34 return nft_hash_lookup(net, set, key, ext); in nft_set_do_lookup()
36 if (set->ops == &nft_set_rhash_type.ops) in nft_set_do_lookup()
37 return nft_rhash_lookup(net, set, key, ext); in nft_set_do_lookup()
39 if (set->ops == &nft_set_bitmap_type.ops) in nft_set_do_lookup()
[all …]
Dnft_dynset.c1 // SPDX-License-Identifier: GPL-2.0-only
21 bool invert; member
30 const struct nft_set_ext *ext) in nft_dynset_expr_setup() argument
32 struct nft_set_elem_expr *elem_expr = nft_set_ext_expr(ext); in nft_dynset_expr_setup()
36 for (i = 0; i < priv->num_exprs; i++) { in nft_dynset_expr_setup()
37 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup()
38 if (nft_expr_clone(expr, priv->expr_array[i], GFP_ATOMIC) < 0) in nft_dynset_expr_setup()
39 return -1; in nft_dynset_expr_setup()
41 elem_expr->size += priv->expr_array[i]->ops->size; in nft_dynset_expr_setup()
51 struct nft_set_ext *ext; in nft_dynset_new() local
[all …]
Dnft_connlimit.c1 /* SPDX-License-Identifier: GPL-2.0 */
19 bool invert; member
25 const struct nft_set_ext *ext) in nft_connlimit_do_eval() argument
36 ct = nf_ct_get(pkt->skb, &ctinfo); in nft_connlimit_do_eval()
38 tuple_ptr = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in nft_connlimit_do_eval()
40 } else if (!nf_ct_get_tuplepr(pkt->skb, skb_network_offset(pkt->skb), in nft_connlimit_do_eval()
42 regs->verdict.code = NF_DROP; in nft_connlimit_do_eval()
46 if (nf_conncount_add(nft_net(pkt), priv->list, tuple_ptr, zone)) { in nft_connlimit_do_eval()
47 regs->verdict.code = NF_DROP; in nft_connlimit_do_eval()
51 count = priv->list->count; in nft_connlimit_do_eval()
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dnft_lookup.c1 // SPDX-License-Identifier: GPL-2.0-only
22 bool invert; member
31 const struct nft_set *set = priv->set; in nft_lookup_eval()
32 const struct nft_set_ext *ext = NULL; in nft_lookup_eval() local
35 found = set->ops->lookup(nft_net(pkt), set, &regs->data[priv->sreg], in nft_lookup_eval()
36 &ext) ^ priv->invert; in nft_lookup_eval()
38 regs->verdict.code = NFT_BREAK; in nft_lookup_eval()
42 if (ext) { in nft_lookup_eval()
43 if (set->flags & NFT_SET_MAP) in nft_lookup_eval()
44 nft_data_copy(&regs->data[priv->dreg], in nft_lookup_eval()
[all …]
Dnft_dynset.c1 // SPDX-License-Identifier: GPL-2.0-only
24 bool invert; member
34 struct nft_set_ext *ext; in nft_dynset_new() local
38 if (!atomic_add_unless(&set->nelems, 1, set->size)) in nft_dynset_new()
41 timeout = priv->timeout ? : set->timeout; in nft_dynset_new()
42 elem = nft_set_elem_init(set, &priv->tmpl, in nft_dynset_new()
43 &regs->data[priv->sreg_key], NULL, in nft_dynset_new()
44 &regs->data[priv->sreg_data], in nft_dynset_new()
49 ext = nft_set_elem_ext(set, elem); in nft_dynset_new()
50 if (priv->expr != NULL && in nft_dynset_new()
[all …]
Dnft_connlimit.c1 /* SPDX-License-Identifier: GPL-2.0 */
19 bool invert; member
25 const struct nft_set_ext *ext) in nft_connlimit_do_eval() argument
36 ct = nf_ct_get(pkt->skb, &ctinfo); in nft_connlimit_do_eval()
38 tuple_ptr = &ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple; in nft_connlimit_do_eval()
40 } else if (!nf_ct_get_tuplepr(pkt->skb, skb_network_offset(pkt->skb), in nft_connlimit_do_eval()
42 regs->verdict.code = NF_DROP; in nft_connlimit_do_eval()
46 if (nf_conncount_add(nft_net(pkt), &priv->list, tuple_ptr, zone)) { in nft_connlimit_do_eval()
47 regs->verdict.code = NF_DROP; in nft_connlimit_do_eval()
51 count = priv->list.count; in nft_connlimit_do_eval()
[all …]
/kernel/linux/linux-6.6/drivers/video/fbdev/
Dcyber2000fb.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 1998-2000 Russell King
80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */
246 #define EXT_MEM_START 0xc0 /* ext start address 21 bits */
248 #define EXT_SRC_WIDTH 0xc3 /* ext offset phase 10 bits */
250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */
251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */
252 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */
253 #define EXT_Y_END 0xcb /* ext->screen, 16 bits */
256 #define EXT_DDA_X_INIT 0xd1 /* ext->screen 16 bits */
[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
80 #define PCI_BM_CTL_ENABLE 0x01 /* enable bus-master */
246 #define EXT_MEM_START 0xc0 /* ext start address 21 bits */
248 #define EXT_SRC_WIDTH 0xc3 /* ext offset phase 10 bits */
250 #define EXT_X_START 0xc5 /* ext->screen, 16 bits */
251 #define EXT_X_END 0xc7 /* ext->screen, 16 bits */
252 #define EXT_Y_START 0xc9 /* ext->screen, 16 bits */
253 #define EXT_Y_END 0xcb /* ext->screen, 16 bits */
256 #define EXT_DDA_X_INIT 0xd1 /* ext->screen 16 bits */
[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/sound/soc/pxa/
Dz2.c1 // SPDX-License-Identifier: GPL-2.0-only
23 #include <asm/mach-types.h>
29 #include "pxa2xx-i2s.h"
84 .pin = "Ext Spk",
86 .invert = 1
94 .name = "hsdet-gpio",
97 .invert = 1,
105 SND_SOC_DAPM_SPK("Ext Spk", NULL),
118 /* ext speaker connected to LOUT2, ROUT2 */
119 {"Ext Spk", NULL, "ROUT2"},
[all …]
/kernel/linux/linux-6.6/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
60 Audio DAPM widgets fall into a number of types:-
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
133 Most widgets have a name, register, shift and invert. Some widgets have extra
138 ---------------------
144 Stream widgets have the following format:-
147 SND_SOC_DAPM_DAC(name, stream name, reg, shift, invert),
148 SND_SOC_DAPM_AIF_IN(name, stream, slot, reg, shift, invert)
167 -------------------
[all …]
/kernel/linux/linux-5.10/Documentation/sound/soc/
Ddapm.rst11 such, can easily co-exist with the other PM systems.
60 Audio DAPM widgets fall into a number of types:-
127 (Widgets are defined in include/sound/soc-dapm.h)
130 There are convenience macros defined in soc-dapm.h that can be used to quickly
133 Most widgets have a name, register, shift and invert. Some widgets have extra
138 ---------------------
144 Stream widgets have the following format:-
147 SND_SOC_DAPM_DAC(name, stream name, reg, shift, invert),
148 SND_SOC_DAPM_AIF_IN(name, stream, slot, reg, shift, invert)
167 -------------------
[all …]
/kernel/linux/linux-5.10/sound/soc/codecs/
Dcpcap.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017 - 2018 Sebastian Reichel <sre@kernel.org>
8 * Copyright (C) 2007 - 2009 Motorola, Inc.
14 #include <linux/mfd/motorola-cpcap.h>
19 /* Register 513 CPCAP_REG_CC --- CODEC */
37 /* Register 514 CPCAP_REG_CDI --- CODEC Digital Audio Interface */
54 /* Register 515 CPCAP_REG_SDAC --- Stereo DAC */
68 /* Register 516 CPCAP_REG_SDACDI --- Stereo DAC Digital Audio Interface */
84 /* Register 517 CPCAP_REG_TXI --- TX Interface */
102 /* Register 518 CPCAP_REG_TXMP --- Mic Gain */
[all …]
/kernel/linux/linux-6.6/sound/soc/codecs/
Dcpcap.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017 - 2018 Sebastian Reichel <sre@kernel.org>
8 * Copyright (C) 2007 - 2009 Motorola, Inc.
14 #include <linux/mfd/motorola-cpcap.h>
19 /* Register 512 CPCAP_REG_VAUDIOC --- Audio Regulator and Bias Voltage */
27 /* Register 513 CPCAP_REG_CC --- CODEC */
45 /* Register 514 CPCAP_REG_CDI --- CODEC Digital Audio Interface */
62 /* Register 515 CPCAP_REG_SDAC --- Stereo DAC */
76 /* Register 516 CPCAP_REG_SDACDI --- Stereo DAC Digital Audio Interface */
92 /* Register 517 CPCAP_REG_TXI --- TX Interface */
[all …]
/kernel/linux/linux-6.6/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>
45 .compatible = "st,stih407-irq-syscfg",
54 struct st_irq_syscfg *ddata = dev_get_drvdata(&pdev->dev); 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()
71 ddata->config |= ST_A9_IRQ_EN_CTI_1; in st_irq_xlate()
[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()
74 ddata->config |= ST_A9_IRQ_EN_EXT_0; in st_irq_xlate()
77 ddata->config |= ST_A9_IRQ_EN_EXT_1; in st_irq_xlate()
[all …]
/kernel/linux/linux-6.6/drivers/media/dvb-frontends/
Dsp2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * DVB-S2 CI card (cimax2) with following copyrights:
20 struct i2c_client *client = s->client; in sp2_read_i2c()
21 struct i2c_adapter *adap = client->adapter; in sp2_read_i2c()
24 .addr = client->addr, in sp2_read_i2c()
29 .addr = client->addr, in sp2_read_i2c()
39 dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n", in sp2_read_i2c()
44 return -EIO; in sp2_read_i2c()
47 dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %02x\n", in sp2_read_i2c()
48 client->addr, reg, buf[0]); in sp2_read_i2c()
[all …]
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Dsp2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * DVB-S2 CI card (cimax2) with following copyrights:
20 struct i2c_client *client = s->client; in sp2_read_i2c()
21 struct i2c_adapter *adap = client->adapter; in sp2_read_i2c()
24 .addr = client->addr, in sp2_read_i2c()
29 .addr = client->addr, in sp2_read_i2c()
39 dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n", in sp2_read_i2c()
44 return -EIO; in sp2_read_i2c()
47 dev_dbg(&s->client->dev, "addr=0x%04x, reg = 0x%02x, data = %02x\n", in sp2_read_i2c()
48 client->addr, reg, buf[0]); in sp2_read_i2c()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/
Dphy-miphy28lp.txt8 - compatible : Should be "st,miphy28lp-phy".
9 - st,syscfg : Should be a phandle of the system configuration register group
12 Required nodes : A sub-node is required for each channel the controller
14 'reg' and 'reg-names' properties are used inside these
19 - #phy-cells : Should be 1 (See second example)
21 - PHY_TYPE_SATA
22 - PHY_TYPE_PCI
23 - PHY_TYPE_USB3
24 - reg : Address and length of the register set for the device.
25 - reg-names : The names of the register addresses corresponding to the registers
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/phy/
Dphy-miphy28lp.txt8 - compatible : Should be "st,miphy28lp-phy".
9 - st,syscfg : Should be a phandle of the system configuration register group
12 Required nodes : A sub-node is required for each channel the controller
14 'reg' and 'reg-names' properties are used inside these
19 - #phy-cells : Should be 1 (See second example)
21 - PHY_TYPE_SATA
22 - PHY_TYPE_PCI
23 - PHY_TYPE_USB3
24 - reg : Address and length of the register set for the device.
25 - reg-names : The names of the register addresses corresponding to the registers
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dst,stih407-irq-syscfg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/st,stih407-irq-syscfg.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Patrice Chotard <patrice.chotard@foss.st.com>
19 const: st,stih407-irq-syscfg
22 description: Phandle to Cortex-A9 IRQ system config registers
25 st,irq-device:
27 $ref: /schemas/types.yaml#/definitions/uint32-array
29 - description: Enable the IRQ of the channel one.
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Dh1940_uda1380.c1 // SPDX-License-Identifier: GPL-2.0+
3 // h1940_uda1380.c - ALSA SoC Audio Layer
5 // Copyright (c) 2010 Arnaud Patard <arnaud.patard@rtp-net.org>
8 // Based on version from Arnaud Patard <arnaud.patard@rtp-net.org>
17 #include "regs-iis.h"
18 #include "s3c24xx-i2s.h"
43 .invert = 1,
49 .name = "hp-gpio",
51 .invert = 1,
58 struct snd_pcm_runtime *runtime = substream->runtime; in h1940_startup()
[all …]
Drx1950_uda1380.c1 // SPDX-License-Identifier: GPL-2.0+
3 // rx1950.c - ALSA SoC Audio Layer
21 #include "regs-iis.h"
22 #include "s3c24xx-i2s.h"
52 .invert = 1,
58 .name = "hp-gpio",
60 .invert = 1,
70 /* s3c24xx digital audio interface glue - connects codec <--> CPU */
72 DAILINK_COMP_ARRAY(COMP_CPU("s3c24xx-iis")),
73 DAILINK_COMP_ARRAY(COMP_CODEC("uda1380-codec.0-001a",
[all …]
/kernel/linux/linux-5.10/sound/soc/fsl/
Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include "imx-audmux.h"
31 .gpio = -1,
32 .name = "headset-gpio",
34 .invert = 0,
43 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
48 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init()
49 ret = snd_soc_card_jack_new(rtd->card, "Headphone", in imx_es8328_dai_init()
55 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init()
68 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
[all …]
/kernel/linux/linux-6.6/sound/soc/fsl/
Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include "imx-audmux.h"
31 .gpio = -1,
32 .name = "headset-gpio",
34 .invert = 0,
53 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
58 if (gpio_is_valid(data->jack_gpio)) { in imx_es8328_dai_init()
59 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init()
67 headset_jack_gpios[0].gpio = data->jack_gpio; in imx_es8328_dai_init()
80 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
[all …]

123456