/linux-6.12.1/net/netfilter/ |
D | nft_lookup.c | 1 // 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 …]
|
D | nft_dynset.c | 1 // 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 …]
|
D | nft_connlimit.c | 1 /* 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-6.12.1/drivers/video/fbdev/ |
D | cyber2000fb.h | 1 /* 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-6.12.1/sound/soc/codecs/ |
D | cpcap.c | 1 // 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 …]
|
/linux-6.12.1/Documentation/sound/soc/ |
D | dapm.rst | 11 management frameworks and, as such, can easily co-exist with them. 32 The graph for the STM32MP1-DK1 sound card is shown in picture: 34 .. kernel-figure:: dapm-graph.svg 139 (Widgets are defined in include/sound/soc-dapm.h) 142 There are convenience macros defined in soc-dapm.h that can be used to quickly 145 Most widgets have a name, register, shift and invert. Some widgets have extra 150 --------------------- 159 SND_SOC_DAPM_DAC(name, stream name, reg, shift, invert), 160 SND_SOC_DAPM_AIF_IN(name, stream, slot, reg, shift, invert) 179 ------------------- [all …]
|
/linux-6.12.1/drivers/irqchip/ |
D | irq-st.c | 1 // 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-6.12.1/drivers/media/dvb-frontends/ |
D | sp2.c | 1 // 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-6.12.1/Documentation/devicetree/bindings/phy/ |
D | phy-miphy28lp.txt | 8 - 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-6.12.1/Documentation/devicetree/bindings/interrupt-controller/ |
D | st,stih407-irq-syscfg.yaml | 1 # 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-6.12.1/sound/soc/fsl/ |
D | imx-es8328.c | 1 // 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-6.12.1/drivers/media/pci/cx23885/ |
D | cimax2.c | 1 // 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-6.12.1/sound/soc/ti/ |
D | rx51.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * rx51.c -- SoC audio for Nokia RX-51 5 * Copyright (C) 2008 - 2009 Nokia Corporation 20 #include <linux/platform_data/asoc-ti-mcbsp.h> 22 #include <asm/mach-types.h> 24 #include "omap-mcbsp.h" 28 RX51_JACK_TVOUT, /* tv-out with stereo output */ 45 struct snd_soc_card *card = dapm->card; in rx51_ext_control() 65 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() 67 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() [all …]
|
/linux-6.12.1/sound/sparc/ |
D | cs4231.c | 1 // 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-6.12.1/sound/isa/cs423x/ |
D | cs4236_lib.c | 1 // 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-6.12.1/include/uapi/sound/ |
D | asoc.h | 1 /* 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-6.12.1/sound/soc/intel/boards/ |
D | cht_bsw_max98090_ti.c | 1 // 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-6.12.1/sound/pci/ |
D | sonicvibes.c | 1 // 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 …]
|
/linux-6.12.1/drivers/video/fbdev/riva/ |
D | fbdev.c | 2 * linux/drivers/video/riva/fbdev.c - nVidia RIVA 128/TNT/TNT2 fb driver 6 * Copyright 1999-2000 Jeff Garzik 56 /* ------------------------------------------------------------------------- * 60 * ------------------------------------------------------------------------- */ 91 /* ------------------------------------------------------------------------- * 95 * ------------------------------------------------------------------------- */ 99 /* ------------------------------------------------------------------------- * 103 * ------------------------------------------------------------------------- */ 195 /* ------------------------------------------------------------------------- * 199 * ------------------------------------------------------------------------- */ [all …]
|
/linux-6.12.1/arch/arm/boot/dts/samsung/ |
D | exynos5250-snow-common.dtsi | 1 // 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-6.12.1/sound/isa/wss/ |
D | wss_lib.c | 1 // 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-6.12.1/arch/arm/boot/dts/nvidia/ |
D | tegra124-nyan.dtsi | 1 // 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-6.12.1/arch/powerpc/boot/dts/ |
D | canyonlands.dts | 4 * 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 …]
|
/linux-6.12.1/include/media/drv-intf/ |
D | saa7146.h | 1 /* 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-6.12.1/net/netfilter/ipset/ |
D | ip_set_core.c | 1 // 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 …]
|