| /linux/net/netfilter/ |
| 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() 34 .net = read_pnet(&priv->set->net), in nft_dynset_expr_setup() 35 .family = priv->set->table->family, in nft_dynset_expr_setup() 40 for (i = 0; i < priv->num_exprs; i++) { in nft_dynset_expr_setup() 41 expr = nft_setelem_expr_at(elem_expr, elem_expr->size); in nft_dynset_expr_setup() 42 if (nft_expr_clone(expr, priv->expr_array[i], GFP_ATOMIC) < 0) in nft_dynset_expr_setup() 45 elem_expr->size += priv->expr_array[i]->ops->size; in nft_dynset_expr_setup() [all …]
|
| /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 …]
|
| /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 …]
|
| H A D | drxd_hard.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1 5 * Copyright (C) 2003-2007 Micronas 21 #define DRX_FW_FILENAME_A2 "drxd-a2-1.1.fw" 22 #define DRX_FW_FILENAME_B1 "drxd-b1-1.1.fw" 194 return -1; in i2c_write() 211 return -1; in i2c_read() 227 u8 adr = state->config.demod_address; in Read16() 232 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16() 233 return -1; in Read16() [all …]
|
| /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 …]
|
| /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 …]
|
| /linux/sound/soc/fsl/ |
| H A 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/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 …]
|
| /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 …]
|
| /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-ato [all...] |
| /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 …]
|
| H A D | exynos5420-peach-pit.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pit-rev16", [all …]
|
| H A D | exynos5800-peach-pi.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 12 #include <dt-bindings/clock/maxim,max77802.h> 13 #include <dt-bindings/regulator/maxim,max77802.h> 14 #include <dt-bindings/sound/samsung-i2s.h> 16 #include "exynos5420-cpus.dtsi" 21 compatible = "google,pi-rev16", [all …]
|
| /linux/arch/powerpc/boot/dts/ |
| H A 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 …]
|
| H A D | glacier.dts | 4 * 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 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/net/netfilter/ipset/ |
| H A 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 …]
|
| /linux/drivers/hwmon/ |
| H A D | adm1031.c | 1 // 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 …]
|
| /linux/sound/pci/ |
| H A D | cmipci.c | 1 // 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/drivers/comedi/drivers/ |
| H A D | cb_pcidas.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001-2003 Ivan Martinez <imr@oersted.dtu.dk> 10 * COMEDI - Linux Control and Measurement Device Interface 11 * Copyright (C) 1997-8 David A. Schleef <ds@schleef.org> 16 * Description: MeasurementComputing PCI-DAS series 18 * Devices: [Measurement Computing] PCI-DAS1602/16 (cb_pcidas), 19 * PCI-DAS1602/16jr, PCI-DAS1602/12, PCI-DAS1200, PCI-DAS1200jr, 20 * PCI-DAS1000, PCI-DAS1001, PCI_DAS1002 23 * Updated: 2003-3-11 36 * (i.e. 4-5-6-7, 2-3-4,...), and must all have the same [all …]
|
| /linux/drivers/phy/st/ |
| H A D | phy-miphy28lp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <dt-bindings/phy/phy.h> 171 * 0: 30MHz crystal clk - 1: 100MHz ext clk routed through MiPHY1 173 * 1: 30MHz crystal clk - 0: 100MHz ext clk routed through MiPHY1 233 static char *PHY_TYPE_name[] = { "sata-up", "pcie-up", "", "usb3-up" }; 362 void __iomem *base = miphy_phy->base; in miphy28lp_set_reset() 373 /* Bringing the MIPHY-CPU registers out of reset */ in miphy28lp_set_reset() 374 if (miphy_phy->type == PHY_TYPE_PCIE) { in miphy28lp_set_reset() 386 void __iomem *base = miphy_phy->base; in miphy28lp_pll_calibration() 391 writeb_relaxed(pll_ratio->clk_ref, base + MIPHY_PLL_CLKREF_FREQ); in miphy28lp_pll_calibration() [all …]
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124-venice2.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 29 vdd-supply = <&vdd_3v3_hdmi>; 30 pll-supply = <&vdd_hdmi_pll>; 31 hdmi-supply = <&vdd_5v0_hdmi>; 33 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 34 nvidia,hpd-gpio = 41 avdd-io-hdmi-dp-supply = <&vdd_1v05_run>; [all …]
|
| H A D | tegra20-ventana.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 7 #include "tegra20-cpu-opp.dtsi" 8 #include "tegra20-cpu-opp-microvolt.dtsi" 21 stdout-path = "serial0:115200n8"; 40 vdd-supply = <&hdmi_vdd_reg>; 41 pll-supply = <&hdmi_pll_reg>; 43 nvidia,ddc-i2c-bus = <&hdmi_ddc>; [all …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra132-norrin.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 18 stdout-path = "serial0:115200n8"; 30 vdd-supply = <&vdd_3v3_hdmi>; 31 pll-supply = <&vdd_hdmi_pll>; 32 hdmi-supply = <&vdd_5v0_hdmi>; 34 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 35 nvidia,hpd-gpio = 42 avdd-io-hdmi-dp-supply = <&vdd_3v3_hdmi>; [all …]
|
| /linux/sound/soc/stm/ |
| H A D | stm32_sai_sub.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016, STMicroelectronics - All Rights Reserved 10 #include <linux/clk-provider.h> 41 #define STM_SAI_IS_PLAYBACK(ip) ((ip)->dir == SNDRV_PCM_STREAM_PLAYBACK) 42 #define STM_SAI_IS_CAPTURE(ip) ((ip)->dir == SNDRV_PCM_STREAM_CAPTURE) 47 #define STM_SAI_IS_SUB_A(x) ((x)->id == STM_SAI_A_ID) 53 #define STM_SAI_PROTOCOL_IS_SPDIF(ip) ((ip)->spdif) 54 #define STM_SAI_HAS_SPDIF(x) ((x)->pdata->conf.has_spdif_pdm) 55 #define STM_SAI_HAS_PDM(x) ((x)->pdata->conf.has_spdif_pdm) 56 #define STM_SAI_HAS_EXT_SYNC(x) (!STM_SAI_IS_F4((x)->pdata)) [all …]
|