Home
last modified time | relevance | path

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

123

/linux/net/netfilter/
H A 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 …]
H A 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()
52 struct nft_set_ext *ext; in nft_dynset_new() local
[all …]
H A 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 …]
/linux/drivers/video/fbdev/
H A 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 …]
/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()
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 …]
/linux/drivers/media/dvb-frontends/
H A 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 …]
/linux/Documentation/devicetree/bindings/phy/
H A 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 …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A 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 …]
/linux/sound/soc/fsl/
H A Dimx-es8328.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include "imx-audmux.h"
30 .name = "headset-gpio",
32 .invert = 0,
51 struct imx_es8328_data *data = container_of(rtd->card, in imx_es8328_dai_init()
55 if (data->jack_gpiod) { in imx_es8328_dai_init()
57 ret = snd_soc_card_jack_new_pins(rtd->card, "Headphone", in imx_es8328_dai_init()
65 headset_jack_gpios[0].desc = data->jack_gpiod; in imx_es8328_dai_init()
78 SND_SOC_DAPM_REGULATOR_SUPPLY("audio-amp", 1, 0),
88 struct device_node *np = pdev->dev.of_node; in imx_es8328_probe()
[all …]
/linux/drivers/media/pci/cx23885/
H A Dcimax2.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * CIMax2(R) SP2 driver in conjunction with NetUp Dual DVB-S2 CI card
20 bits 31-16
21 +-----------+
23 +-----------+
25 +-------+-------+-------+-------+-------+-------+-------+-------+
27 +-------+-------+-------+-------+-------+-------+-------+-------+
29 +-------+-------+-------+-------+-------+-------+-------+-------+
31 +-------+-------+-------+-------+-------+-------+-------+-------+
106 return -1; in netup_read_i2c()
[all …]
/linux/sound/sparc/
H A Dcs4231.c1 // SPDX-License-Identifier: GPL-2.0-only
41 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
121 * now.... -DaveM
125 #include <sound/cs4231-regs.h>
128 #define CS4231U(chip, x) ((chip)->port + ((c_d_c_CS4231##x) << 2))
142 /* Defines for SBUS DMA-routines */
157 #define APC_XINT_ENA 0x80000 /* General ext int. enable */
158 #define APC_XINT_PLAY 0x40000 /* Playback ext intr */
159 #define APC_XINT_CAPT 0x20000 /* Capture ext intr */
160 #define APC_XINT_GENL 0x10000 /* Error ext intr */
[all …]
/linux/sound/isa/cs423x/
H A 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/include/uapi/sound/
H A Dasoc.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
3 * uapi/sound/asoc.h -- ALSA SoC Firmware Controls and DAPM
38 /* individual kcontrol info types - can be mixed with other types */
49 /* individual widget kcontrol info types - can be mixed with other types */
56 /* DAPM widget types - add new items to the end */
116 /* vendor block IDs - please add new vendor types to end */
273 * Genericl Operations IDs, for binding Kcontrol or Bytes ext ops
275 * Bytes ext ops need get/put.
336 __le32 id; /* unique ID - - used to match */
363 * File block representation for manifest :-
[all …]
/linux/sound/soc/intel/boards/
H A Dcht_bsw_max98090_ti.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cht-bsw-max98090.c - ASoc Machine driver for Intel Cherryview-based
24 #include <sound/soc-acpi.h>
27 #include "../atom/sst-atom-controls.h"
45 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control()
46 struct snd_soc_card *card = dapm->card; in platform_clock_control()
52 if (ctx->quirks & QUIRK_PMC_PLT_CLK_0) in platform_clock_control()
57 dev_err(card->dev, "Codec dai not found; Unable to set platform clock\n"); in platform_clock_control()
58 return -EIO; in platform_clock_control()
62 ret = clk_prepare_enable(ctx->mclk); in platform_clock_control()
[all …]
/linux/sound/pci/
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 */
61 #define SV_REG(sonic, x) ((sonic)->enh_port + SV_REG_##x)
64 #define SV_ENHANCED 0x01 /* audio mode select - enhanced mode */
68 #define SV_INTA 0x20 /* INTA driving - should be always 1 */
71 #define SV_DMAA_MASK 0x01 /* mask DMA-A interrupt */
72 #define SV_DMAC_MASK 0x04 /* mask DMA-C interrupt */
73 #define SV_SPEC_MASK 0x08 /* special interrupt mask - should be always masked */
77 #define SV_DMAA_IRQ 0x01 /* DMA-A interrupt */
[all …]
H A Dcmipci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for C-Media CMI8338 and 8738 PCI soundcards.
31 MODULE_DESCRIPTION("C-Media CMI8x38 PCI");
38 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
41 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)] = 1};
42 static long fm_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1};
43 static bool soft_ac3[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS-1)]=1};
49 MODULE_PARM_DESC(index, "Index value for C-Media PCI soundcard.");
51 MODULE_PARM_DESC(id, "ID string for C-Media PCI soundcard.");
53 MODULE_PARM_DESC(enable, "Enable C-Media PCI soundcard.");
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5250-snow-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/clock/maxim,max77686.h>
10 #include <dt-bindings/interrupt-controller/irq.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/sound/samsung-i2s.h>
30 stdout-path = "serial3:115200n8";
33 gpio-keys {
34 compatible = "gpio-keys";
35 pinctrl-names = "default";
[all …]
/linux/sound/isa/wss/
H A Dwss_lib.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * - sometimes record brokes playback with WSS portion of
8 * Yamaha OPL3-SA3 chip
9 * - CS4231 (GUS MAX) - still trouble with occasional noises
10 * - broken initialization?
77 0x00, /* 00/00 - lic */
78 0x00, /* 01/01 - ric */
79 0x9f, /* 02/02 - la1ic */
80 0x9f, /* 03/03 - ra1ic */
81 0x9f, /* 04/04 - la2ic */
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra124-nyan.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/input/input.h>
3 #include <dt-bindings/thermal/thermal.h>
14 stdout-path = "serial0:115200n8";
20 * missing a unit-address. However, the bootloader on these Chromebook
22 * Adding the unit-address causes the bootloader to create a /memory
34 /delete-node/ memory@80000000;
40 vdd-supply = <&vdd_3v3_hdmi>;
41 pll-supply = <&vdd_hdmi_pll>;
42 hdmi-supply = <&vdd_5v0_hdmi>;
[all …]
/linux/arch/powerpc/boot/dts/
H A Dcanyonlands.dts4 * Copyright 2008-2009 DENX Software Engineering, Stefan Roese <sr@denx.de>
11 /dts-v1/;
14 #address-cells = <2>;
15 #size-cells = <1>;
18 dcr-parent = <&{/cpus/cpu@0}>;
28 #address-cells = <1>;
29 #size-cells = <0>;
35 clock-frequency = <0>; /* Filled in by U-Boot */
36 timebase-frequency = <0>; /* Filled in by U-Boot */
37 i-cache-line-size = <32>;
[all …]
H A Dglacier.dts4 * Copyright 2008-2010 DENX Software Engineering, Stefan Roese <sr@denx.de>
11 /dts-v1/;
14 #address-cells = <2>;
15 #size-cells = <1>;
18 dcr-parent = <&{/cpus/cpu@0}>;
30 #address-cells = <1>;
31 #size-cells = <0>;
37 clock-frequency = <0>; /* Filled in by U-Boot */
38 timebase-frequency = <0>; /* Filled in by U-Boot */
39 i-cache-line-size = <32>;
[all …]
/linux/include/media/drv-intf/
H A Dsaa7146.h1 /* SPDX-License-Identifier: GPL-2.0 */
5 #include <linux/delay.h> /* for delay-stuff */
7 #include <linux/pci.h> /* for pci-config-stuff, vendor ids etc. */
16 #include <media/v4l2-device.h>
17 #include <media/v4l2-ctrls.h>
22 #define saa7146_write(sxy,adr,dat) writel((dat),(sxy->mem+(adr)))
23 #define saa7146_read(sxy,adr) readl(sxy->mem+(adr))
76 struct saa7146_extension *ext; member
107 u32 irq_mask; /* mask to indicate, which irq-events are handled by the extension */
129 u32 revision; /* chip revision; needed for bug-workarounds*/
[all …]
/linux/drivers/media/i2c/
H A Dmt9t112.c1 // SPDX-License-Identifier: GPL-2.0
14 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net>
20 * v4l-utils compliance tools will report errors.
30 #include <linux/v4l2-mediabus.h>
34 #include <media/v4l2-common.h>
35 #include <media/v4l2-image-sizes.h>
36 #include <media/v4l2-subdev.h>
158 msg[0].addr = client->addr; in __mt9t112_reg_read()
163 msg[1].addr = client->addr; in __mt9t112_reg_read()
172 ret = i2c_transfer(client->adapter, msg, 2); in __mt9t112_reg_read()
[all …]
/linux/net/netfilter/ipset/
H A Dip_set_core.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (C) 2000-2002 Joakim Axelsson <gozem@linux.nu>
4 * Copyright (C) 2003-2013 Jozsef Kadlecsik <kadlec@netfilter.org>
57 rcu_dereference_protected((inst)->ip_set_list, \
60 (inst)->is_deleted)
64 rcu_dereference_raw((inst)->ip_set_list)[id]
94 if (STRNCMP(type->name, name) && in find_set_type()
95 (type->family == family || in find_set_type()
96 type->family == NFPROTO_UNSPEC) && in find_set_type()
97 revision >= type->revision_min && in find_set_type()
[all …]
/linux/drivers/hwmon/
H A Dadm1031.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * adm1031.c - Part of lm_sensors, Linux kernel modules for hardware
17 #include <linux/hwmon-sysfs.h>
43 #define ADM1031_CONF1_PWM_INVERT 0x08 /* PWM Invert */
110 struct i2c_client *client = data->client; in adm1031_update_device()
114 mutex_lock(&data->update_lock); in adm1031_update_device()
116 next_update = data->last_updated in adm1031_update_device()
117 + msecs_to_jiffies(data->update_interval); in adm1031_update_device()
118 if (time_after(jiffies, next_update) || !data->valid) { in adm1031_update_device()
120 dev_dbg(&client->dev, "Starting adm1031 update\n"); in adm1031_update_device()
[all …]

123