/openbmc/linux/net/netfilter/ |
H A 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 …]
|
H A 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() 51 struct nft_set_ext *ext; in nft_dynset_new() local [all …]
|
H A 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 …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A 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 …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | dapm.rst | 11 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 …]
|
/openbmc/linux/sound/soc/codecs/ |
H A 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 …]
|
/openbmc/linux/drivers/irqchip/ |
H A 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 …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/phy/ |
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/ |
H A 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 …]
|
/openbmc/u-boot/drivers/video/ |
H A D | mvebu_lcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 113 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers() 114 const struct mbus_dram_window *cs = dram->cs + i; in mvebu_lcd_conf_mbus_registers() 115 writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) | in mvebu_lcd_conf_mbus_registers() 116 (dram->mbus_dram_target_id << 4) | 1, in mvebu_lcd_conf_mbus_registers() 119 writel(cs->base & 0xffff0000, regs + MVEBU_LCD_WIN_BASE(i)); in mvebu_lcd_conf_mbus_registers() 128 int x = lcd_info->x_res; in mvebu_lcd_register_init() 129 int y = lcd_info->y_res; in mvebu_lcd_register_init() 144 * end (currently 1GB-64MB but also may be 2GB-64MB). in mvebu_lcd_register_init() 147 writel(lcd_info->fb_base, regs + MVEBU_LCD_CFG_GRA_START_ADDR0); in mvebu_lcd_register_init() [all …]
|
/openbmc/linux/sound/soc/fsl/ |
H A D | imx-es8328.c | 1 // 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 …]
|
/openbmc/linux/drivers/media/pci/cx23885/ |
H A 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 …]
|
/openbmc/linux/sound/soc/ti/ |
H A 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 21 #include <linux/platform_data/asoc-ti-mcbsp.h> 23 #include <asm/mach-types.h> 25 #include "omap-mcbsp.h" 29 RX51_JACK_TVOUT, /* tv-out with stereo output */ 47 struct snd_soc_card *card = dapm->card; in rx51_ext_control() 67 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() 69 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() [all …]
|
/openbmc/linux/sound/sparc/ |
H A 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 …]
|
/openbmc/linux/sound/isa/cs423x/ |
H A 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 …]
|
/openbmc/u-boot/arch/x86/dts/ |
H A D | chromebook_link.dts | 1 /dts-v1/; 3 #include <dt-bindings/gpio/x86-gpio.h> 4 #include <dt-bindings/sound/azalia.h> 16 compatible = "google,link", "intel,celeron-ivybridge"; 29 #address-cells = <1>; 30 #size-cells = <0>; 34 compatible = "intel,core-gen3"; 36 intel,apic-id = <0>; 41 compatible = "intel,core-gen3"; 43 intel,apic-id = <1>; [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_client.robot | 4 ... command. IPMI raw command will use dbus-send command 16 ${dbusHostIpmicmd1}= dbus-send --system ${OPENBMC_BASE_URI}HostIpmi/1 22 ${IPMI_INBAND_CMD}= ipmitool -C ${IPMI_CIPHER_LEVEL} -N ${IPMI_TIMEOUT} -p ${IPMI_PORT} 23 ${HOST}= -H 40 # -C=3, -I=lanplus, etc.). Currently, only 64 # -C=3, -I=lanplus, etc.). Currently, only 93 ... ${IPMITOOL_PATH} -I dbus ${command} return_stdout=True 100 [Documentation] Run the raw IPMI command in-band. 123 [Documentation] Run the standard IPMI command in-band. 156 # "-vvv"), it will be pre-pended to this [all …]
|
/openbmc/linux/include/uapi/sound/ |
H A 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 …]
|
/openbmc/linux/sound/soc/intel/boards/ |
H A 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 …]
|
/openbmc/linux/sound/pci/ |
H A 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 …]
|
/openbmc/qemu/tcg/aarch64/ |
H A D | tcg-target.c.inc | 10 * See the COPYING file in the top-level directory for details. 28 /* We're going to re-use TCGType in setting of the SF bit, which controls 67 /* V8 - V15 are call-saved, and skipped. */ 96 ptrdiff_t offset = target - src_rx; 110 ptrdiff_t offset = target - src_rx; 122 ptrdiff_t offset = target - src_rx; 159 /* Match a constant valid for addition (12-bit, optionally shifted). */ 182 val += val & -val; 183 return (val & (val - 1)) == 0; 186 /* Return true if v16 is a valid 16-bit shifted immediate. */ [all …]
|
/openbmc/linux/drivers/video/fbdev/riva/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A 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 …]
|
/openbmc/linux/sound/isa/wss/ |
H A 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 …]
|