/linux/net/sched/ |
H A D | em_ipt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 static int check_match(struct net *net, struct em_ipt_match *im, int mdata_len) in check_match() argument 52 mtpar.hook_mask = 1 << im->hook; in check_match() 53 mtpar.family = im->match->family; in check_match() 54 mtpar.match = im->match; in check_match() 56 mtpar.matchinfo = (void *)im->match_data; in check_match() 64 return -EINVAL; in policy_validate_match_data() 69 return -EINVAL; in policy_validate_match_data() 79 return -EINVAL; in addrtype_validate_match_data() 105 for (m = em_ipt_xt_matches; m->match_name; m++) { in get_xt_match() [all …]
|
/linux/fs/nfs/ |
H A D | nfs4idmap.c | 45 #include <linux/key-type.h> 46 #include <keys/user-type.h> 47 #include <keys/request_key_auth-type.h> 78 if (idmap && idmap->user_ns) in idmap_userns() 79 return idmap->user_ns; in idmap_userns() 84 * nfs_fattr_init_names - initialise the nfs_fattr owner_name/group_name fields 93 fattr->owner_name = owner_name; in nfs_fattr_init_names() 94 fattr->group_name = group_name; in nfs_fattr_init_names() 99 fattr->valid &= ~NFS_ATTR_FATTR_OWNER_NAME; in nfs_fattr_free_owner_name() 100 kfree(fattr->owner_name->data); in nfs_fattr_free_owner_name() [all …]
|
/linux/drivers/scsi/bfa/ |
H A D | bfad_im.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 12 * bfad_im.c Linux driver IM module. 21 BFA_TRC_FILE(LDRV, IM); 52 memcpy(cmnd->sense_buffer, sns_info, sns_len); in bfa_cb_ioim_done() 59 (scsi_bufflen(cmnd) - residue) < in bfa_cb_ioim_done() 60 cmnd->underflow) { in bfa_cb_ioim_done() 65 cmnd->result = host_status << 16 | scsi_status; in bfa_cb_ioim_done() [all …]
|
H A D | bfad_im.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 4 * Copyright (c) 2014- QLogic Corporation. 8 * Linux driver for QLogic BR-series Fibre Channel Host Bus Adapter. 47 * struct bfad_cmd_priv - private data per SCSI command. 86 return im_portp->p; in bfad_get_im_port() 107 struct bfad_im_s *im; member 142 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \ 143 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \ 145 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \ [all …]
|
/linux/drivers/irqchip/ |
H A D | irq-tb10x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 44 uint32_t im, mod, pol; in tb10x_irq_set_type() local 46 im = data->mask; in tb10x_irq_set_type() 50 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type() 51 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type() 55 pol ^= im; in tb10x_irq_set_type() 58 mod ^= im; in tb10x_irq_set_type() 64 mod ^= im; in tb10x_irq_set_type() 65 pol ^= im; in tb10x_irq_set_type() 72 __func__, data->irq); in tb10x_irq_set_type() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9003_calib.c | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 18 #include "hw-ops.h" 44 switch (currCal->calData->calType) { in ar9003_hw_setup_calibration() 52 currCal->calData->calCountMax); in ar9003_hw_setup_calibration() 58 /* Kick-off cal */ in ar9003_hw_setup_calibration() 77 struct ath9k_hw_cal_data *caldata = ah->caldata; in ar9003_hw_per_calibration() 78 const struct ath9k_percal_data *cur_caldata = currCal->calData; in ar9003_hw_per_calibration() 81 if (currCal->calState == CAL_RUNNING) { in ar9003_hw_per_calibration() 89 cur_caldata->calCollect(ah); in ar9003_hw_per_calibration() 90 ah->cal_samples++; in ar9003_hw_per_calibration() [all …]
|
/linux/arch/powerpc/platforms/83xx/ |
H A D | mpc837x_rdb.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 void __iomem *im; in mpc837x_rdb_sd_cfg() local 25 im = ioremap(get_immrbase(), 0x1000); in mpc837x_rdb_sd_cfg() 26 if (!im) { in mpc837x_rdb_sd_cfg() 35 clrsetbits_be32(im + MPC83XX_SICRL_OFFS, MPC837X_SICRL_USBB_MASK, in mpc837x_rdb_sd_cfg() 37 clrsetbits_be32(im + MPC83XX_SICRH_OFFS, MPC837X_SICRH_SPI_MASK, in mpc837x_rdb_sd_cfg() 39 iounmap(im); in mpc837x_rdb_sd_cfg()
|
/linux/arch/mips/lantiq/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 /* register definitions - internal irqs */ 32 /* register definitions - external irqs */ 75 return -1; in ltq_eiu_get_irq() 80 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_disable_irq() 81 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local 89 ltq_icu_w32(vpe, im, in ltq_disable_irq() 90 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq() 98 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_mask_and_ack_irq() 99 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local [all …]
|
/linux/drivers/clk/versatile/ |
H A D | clk-impd1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Clock driver for the ARM Integrator/IM-PD1 board 4 * Copyright (C) 2012-2013 Linus Walleij 6 #include <linux/clk-provider.h> 16 #include "clk-icst.h" 23 * There are two VCO's on the IM-PD1 67 struct clk *clk = ERR_PTR(-EINVAL); in integrator_impd1_clk_spawn() 68 const char *name = np->name; in integrator_impd1_clk_spawn() 75 pr_err("no regmap for syscon IM-PD1 ICST clock parent\n"); in integrator_impd1_clk_spawn() 79 if (of_device_is_compatible(np, "arm,impd1-vco1")) { in integrator_impd1_clk_spawn() [all …]
|
/linux/net/ipv6/ |
H A D | mcast.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 14 * yoshfuji : fix format of router-alert option 17 * <draft-ietf-magma-mld-source-05.txt>. 19 * - Ignore Queries for invalid addresses. 20 * - MLD for link-local addresses. 22 * - MLDv2 support 115 rcu_dereference_protected(e, lockdep_is_held(&(idev)->mc_lock)) 121 for (pmc = sock_dereference((np)->ipv6_mc_list, sk); \ 123 pmc = sock_dereference(pmc->next, sk)) 126 for (pmc = rcu_dereference((np)->ipv6_mc_list); \ [all …]
|
/linux/arch/arm/boot/dts/arm/ |
H A D | integratorap-im-pd1.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 * with the IM-PD1 example logical module mounted. 10 model = "ARM Integrator/AP with IM-PD1"; 11 compatible = "arm,integrator-ap"; 13 reserved-memory { 14 #address-cells = <1>; 15 #size-cells = <1>; 19 /* 1 MB of designated video RAM on the IM-PD1 */ 20 compatible = "shared-dma-pool"; 22 no-map; [all …]
|
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 2 dtb-$(CONFIG_ARCH_INTEGRATOR) += \ 4 integratorap-im-pd1.dtb \ 6 dtb-$(CONFIG_ARCH_MPS2) += \ 7 mps2-an385.dtb \ 8 mps2-an399.dtb 9 dtb-$(CONFIG_ARCH_REALVIEW) += \ 10 arm-realview-pb1176.dtb \ 11 arm-realview-pb11mp.dtb \ 12 arm-realview-eb.dtb \ [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
H A D | multi-inno,mi0283qt.txt | 1 Multi-Inno MI0283QT display panel 4 - compatible: "multi-inno,mi0283qt". 7 all mandatory properties described in ../spi/spi-bus.txt must be specified. 10 - dc-gpios: D/C pin. The presence/absence of this GPIO determines 11 the panel interface mode (IM[3:0] pins): 12 - present: IM=x110 4-wire 8-bit data serial interface 13 - absent: IM=x101 3-wire 9-bit data serial interface 14 - reset-gpios: Reset pin 15 - power-supply: A regulator node for the supply voltage. 16 - backlight: phandle of the backlight device attached to the panel [all …]
|
/linux/net/sunrpc/ |
H A D | svcauth_unix.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 * are always nobody (-2). i.e. we do the same IP address checks for 48 kfree(dom->name); in svcauth_unix_domain_release_rcu() 54 call_rcu(&dom->rcu_head, svcauth_unix_domain_release_rcu); in svcauth_unix_domain_release() 65 if (new && rv != &new->h) in unix_domain_find() 66 svcauth_unix_domain_release(&new->h); in unix_domain_find() 68 if (rv->flavour != &svcauth_unix) { in unix_domain_find() 78 kref_init(&new->h.ref); in unix_domain_find() 79 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find() 80 if (new->h.name == NULL) { in unix_domain_find() [all …]
|
/linux/drivers/gpu/drm/pl111/ |
H A D | pl111_versatile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This is based on code and know-how in the previous frame buffer 6 * driver in drivers/video/fbdev/amba-clcd.c: 46 .compatible = "arm,core-module-integrator", 50 .compatible = "arm,versatile-sysreg", 54 .compatible = "arm,realview-eb-syscon", 58 .compatible = "arm,realview-pb1176-syscon", 62 .compatible = "arm,realview-pb11mp-syscon", 66 .compatible = "arm,realview-pba8-syscon", 70 .compatible = "arm,realview-pbx-syscon", [all …]
|
/linux/drivers/input/serio/ |
H A D | hp_sdc.c | 2 * HP i8042-based System Device Controller driver. 31 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2 32 * Helge Deller's original hilkbd.c port for PA-RISC. 55 * The i8042 write index and the values in the 4-byte input buffer 75 /* Machine-specific abstraction */ 78 # include <asm/parisc-device.h> 92 MODULE_DESCRIPTION("HP i8042-based SDC Driver"); 193 curr->seq[curr->idx++] = status; in hp_sdc_take() 194 curr->seq[curr->idx++] = data; in hp_sdc_take() 195 hp_sdc.rqty -= 2; in hp_sdc_take() [all …]
|
/linux/arch/arm/mach-versatile/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 52 bool "Include support for Integrator/IM-PD1" 60 The IM-PD1 is an add-on logic module for the Integrator which 62 The IM-PD1 can be found on the Integrator/PP2 platform. 77 bool "Integrator/CM922T-XA10 core module" 83 bool "Integrator/CM926EJ-S core module" 107 bool "Integrator/CM1026EJ-S core module" 113 bool "Integrator/CM1136JF-S core module" 129 bool "Integrator/CT926 (ARM926EJ-S) core tile" 135 bool "Integrator/CTB36 (ARM1136JF-S) core tile" [all …]
|
/linux/arch/arm/mach-ux500/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010-2013 5 * ST-Ericsson. 11 #include <linux/irqchip/arm-gic.h> 15 #include <linux/platform_data/arm-ux500-pm.h> 111 u32 it, im; in prcmu_pending_irq() local 114 for (i = 0; i < PRCMU_GIC_NUMBER_REGS - 1; i++) { in prcmu_pending_irq() 116 im = readl(PRCM_ARMITMSK31TO0 + i * 4); in prcmu_pending_irq() 117 if (it & im) in prcmu_pending_irq() 146 for (i = 0; i < PRCMU_GIC_NUMBER_REGS - 1; i++) { in prcmu_copy_gic_settings() [all …]
|
/linux/arch/arc/mm/ |
H A D | cache.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 6 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 55 p_slc->sz_k = 128 << slc_cfg.sz; in read_decode_cache_bcr_arcv2() 56 l2_line_sz = p_slc->line_len = (slc_cfg.lsz == 0) ? 128 : 64; in read_decode_cache_bcr_arcv2() 57 n += scnprintf(buf + n, len - n, in read_decode_cache_bcr_arcv2() 59 p_slc->sz_k, p_slc->line_len, IS_USED_RUN(slc_enable)); in read_decode_cache_bcr_arcv2() 88 /* HS 3.0 has limit and strict-ordering fields */ in read_decode_cache_bcr_arcv2() 90 perip_end = (vol.limit << 28) - 1; in read_decode_cache_bcr_arcv2() 93 n += scnprintf(buf + n, len - n, "Peripherals\t: %#lx%s%s\n", in read_decode_cache_bcr_arcv2() [all …]
|
/linux/Documentation/admin-guide/media/ |
H A D | gspca-cardlist.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 - gspca_main: main driver 9 - gspca\_\ *driver*: subdriver module with *driver* as follows 19 spca501 040a:0002 Kodak DVC-325 24 spca500 041e:400a Creative PC-CAM 300 25 sunplus 041e:400b Creative PC-CAM 600 26 sunplus 041e:4012 PC-Cam350 41 sq930x 041e:4038 Creative Joy-IT 48 ov519 041e:4052 Creative Live! VISTA IM 49 zc3xx 041e:4053 Creative Live!Cam Video IM [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc2947.rst | 1 Kernel drivers ltc2947-i2c and ltc2947-spi 10 Addresses scanned: - 14 https://www.analog.com/media/en/technical-documentation/data-sheets/LTC2947.pdf 37 The following attributes are supported. Limits are read-write, reset_history 38 is write-only and all the other attributes are read-only. 41 in0_input VP-VM voltage (mV). 49 in0_label Channel label (VP-VM) 61 curr1_input IP-IM Sense current (mA) 69 curr1_label Channel label (IP-IM)
|
/linux/sound/pci/ali5451/ |
H A D | ali5451.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * -- 11 * -- 21 #include <linux/dma-mapping.h> 141 #define ALI_REG(codec, x) ((codec)->port + x) 185 int count; /* runtime->period_size */ 187 /* --- */ 295 dev_dbg(codec->card->dev, "ali_codec_ready: codec is not ready.\n"); in snd_ali_codec_ready() 296 return -EIO; in snd_ali_codec_ready() 316 dev_err(codec->card->dev, "ali_stimer_read: stimer is not ready.\n"); in snd_ali_stimer_ready() [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | maxim,ds2760.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 13 The ds2760 is a w1 slave device and must hence have its sub-node in 17 - $ref: power-supply.yaml# 23 maxim,pmod-enabled: 29 maxim,cache-time-ms: 31 Time im milliseconds to cache the data for. 35 rated-capacity-microamp-hours: [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-pch.c | 1 // SPDX-License-Identifier: GPL-2.0 47 OKISEMI_ML7223m_IOH, /* LAPIS Semiconductor ML7223 IOH PCIe Bus-m */ 48 OKISEMI_ML7223n_IOH /* LAPIS Semiconductor ML7223 IOH PCIe Bus-n */ 59 * struct pch_gpio_reg_data - The register store data. 67 * (Only ML7223 Bus-n) 80 * struct pch_gpio - GPIO private data structure. 108 spin_lock_irqsave(&chip->spinlock, flags); in pch_gpio_set() 109 reg_val = ioread32(&chip->reg->po); in pch_gpio_set() 115 iowrite32(reg_val, &chip->reg->po); in pch_gpio_set() 116 spin_unlock_irqrestore(&chip->spinlock, flags); in pch_gpio_set() [all …]
|
/linux/arch/s390/net/ |
H A D | bpf_jit_comp.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * - HAVE_MARCH_Z196_FEATURES: laal, laalg 8 * - HAVE_MARCH_Z10_FEATURES: msfi, cgrj, clgrj 9 * - HAVE_MARCH_Z9_109_FEATURES: alfi, llilf, clfi, oilf, nilf 10 * - 64BIT 31 #include <asm/nospec-branch.h> 33 #include <asm/text-patching.h> 45 int lit32_start; /* Start of 32-bit literal pool */ 46 int lit32; /* Current position in 32-bit literal pool */ 47 int lit64_start; /* Start of 64-bit literal pool */ [all …]
|