Home
last modified time | relevance | path

Searched +full:im +full:- (Results 1 – 25 of 78) sorted by relevance

1234

/linux/net/sched/
H A Dem_ipt.c1 // 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/net/ipv4/
H A Digmp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
30 * Chih-Jen Chang : Tried to revise IGMP to Version 2
31 * Tsu-Sheng Tsao E-mail: chihjenc@scf.usc.edu and tsusheng@scf.usc.edu
33 * ipmulti-3.5 source code.
34 * Chih-Jen Chang : Added the igmp_get_mrouter_info and
35 * Tsu-Sheng Tsao igmp_set_mrouter_info to keep track of
37 * Chih-Jen Chang : Added the max_resp_time parameter to
38 * Tsu-Sheng Tsao igmp_heard_query(). Using this parameter
41 * Chih-Jen Chang : Added a timer to revert to IGMP V2 router
42 * Tsu-Sheng Tsao if the specified time expired.
[all …]
H A Digmp_internal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 const struct ip_mc_list *im,
/linux/kernel/bpf/
H A Dtrampoline.c1 // SPDX-License-Identifier: GPL-2.0-only
37 struct bpf_trampoline *tr = ops->private; in bpf_tramp_ftrace_ops_func()
42 * tr->mutex is already locked. in bpf_tramp_ftrace_ops_func()
44 lockdep_assert_held_once(&tr->mutex); in bpf_tramp_ftrace_ops_func()
47 * -EAGAIN to register_ftrace_direct(). Then we can in bpf_tramp_ftrace_ops_func()
51 if ((tr->flags & BPF_TRAMP_F_CALL_ORIG) && in bpf_tramp_ftrace_ops_func()
52 !(tr->flag in bpf_tramp_ftrace_ops_func()
258 bpf_tramp_image_free(struct bpf_tramp_image * im) bpf_tramp_image_free() argument
269 struct bpf_tramp_image *im; __bpf_tramp_image_put_deferred() local
278 struct bpf_tramp_image *im; __bpf_tramp_image_put_rcu() local
288 struct bpf_tramp_image *im; __bpf_tramp_image_release() local
297 struct bpf_tramp_image *im; __bpf_tramp_image_put_rcu_tasks() local
308 bpf_tramp_image_put(struct bpf_tramp_image * im) bpf_tramp_image_put() argument
358 struct bpf_tramp_image *im; bpf_tramp_image_alloc() local
400 struct bpf_tramp_image *im; bpf_trampoline_update() local
1096 arch_prepare_bpf_trampoline(struct bpf_tramp_image * im,void * image,void * image_end,const struct btf_func_model * m,u32 flags,struct bpf_tramp_links * tlinks,void * func_addr) arch_prepare_bpf_trampoline() argument
[all...]
/linux/fs/nfs/
H A Dnfs4idmap.c45 #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/fs/f2fs/
H A Dcheckpoint.c1 // SPDX-License-Identifier: GPL-2.0
104 return ERR_PTR(-EIO); in __get_meta_folio()
123 if (PTR_ERR(folio) == -EIO && in f2fs_get_meta_folio_retry()
151 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
186 blkaddr < SM_I(sbi)->ssa_blkaddr)) in __f2fs_is_valid_blkaddr()
190 if (unlikely(blkaddr >= SIT_I(sbi)->sit_base_addr || in __f2fs_is_valid_blkaddr()
272 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
281 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
322 return blkno - start; in f2fs_ra_meta_pages()
388 if (wbc->sync_mode != WB_SYNC_ALL && in f2fs_write_meta_pages()
[all …]
/linux/net/ipv6/
H A Danycast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
51 rcu_dereference_protected(a, lockdep_is_held(&(idev)->lock))
77 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in ipv6_sock_ac_join()
78 return -EPERM; in ipv6_sock_ac_join()
80 return -EINVAL; in ipv6_sock_ac_join()
86 err = -EINVA in ipv6_sock_ac_join()
541 struct ifacaddr6 *im = NULL; ac6_get_first() local
556 ac6_get_next(struct seq_file * seq,struct ifacaddr6 * im) ac6_get_next() argument
576 struct ifacaddr6 *im = ac6_get_first(seq); ac6_get_idx() local
592 struct ifacaddr6 *im = ac6_get_next(seq, v); ac6_seq_next() local
606 struct ifacaddr6 *im = (struct ifacaddr6 *)v; ac6_seq_show() local
[all...]
H A Dmcast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
14 * yoshfuji : fix format of router-alert option
17 * <draft-ietf-magma-mld-sourc
736 mld_add_delrec(struct inet6_dev * idev,struct ifmcaddr6 * im) mld_add_delrec() argument
775 mld_del_delrec(struct inet6_dev * idev,struct ifmcaddr6 * im) mld_del_delrec() argument
2912 struct ifmcaddr6 *im = NULL; igmp6_mc_get_first() local
2932 igmp6_mc_get_next(struct seq_file * seq,struct ifmcaddr6 * im) igmp6_mc_get_next() argument
2953 struct ifmcaddr6 *im = igmp6_mc_get_first(seq); igmp6_mc_get_idx() local
2969 struct ifmcaddr6 *im = igmp6_mc_get_next(seq, v); igmp6_mc_seq_next() local
2988 struct ifmcaddr6 *im = (struct ifmcaddr6 *)v; igmp6_mc_seq_show() local
3012 struct ifmcaddr6 *im; global() member
3020 struct ifmcaddr6 *im = NULL; igmp6_mcf_get_first() local
[all...]
/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c2 * 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 Dmpc837x_rdb.c1 // 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/drivers/irqchip/
H A Dirq-tb10x.c1 // SPDX-License-Identifier: GPL-2.0-only
44 uint32_t mod, pol, im = data->mask; in tb10x_irq_set_type() local
46 guard(raw_spinlock)(&gc->lock); in tb10x_irq_set_type()
48 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
49 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type()
53 pol ^= im; in tb10x_irq_set_type()
56 mod ^= im; in tb10x_irq_set_type()
62 mod ^= im; in tb10x_irq_set_type()
63 pol ^= im; in tb10x_irq_set_type()
68 pr_err("%s: Cannot assign multiple trigger modes to IRQ %d.\n", __func__, data->irq); in tb10x_irq_set_type()
[all …]
/linux/drivers/clk/versatile/
H A Dclk-impd1.c1 // 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/arch/arm/boot/dts/arm/
H A Dintegratorap-im-pd1.dts1 // 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 …]
/linux/Documentation/devicetree/bindings/display/
H A Dmulti-inno,mi0283qt.txt1 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/drivers/tty/serial/
H A Damba-pl011.c1 // SPDX-License-Identifier: GPL-2.0+
9 * Copyright (C) 2010 ST-Ericsson SA
11 * This is a generic driver for ARM AMBA-type serial ports. They
12 * have a lot of 16550-like features, but are not register compatible.
35 #include <linux/dma-mapping.h>
82 /* The size of the array - must be last */
266 unsigned int im; /* interrupt mask */ member
268 unsigned int fifosize; /* vendor-specific */
269 unsigned int fixed_baud; /* vendor-set fixed baud rate */
292 return uap->reg_offset[reg]; in pl011_reg_to_offset()
[all …]
/linux/drivers/scsi/bfa/
H A Dbfad_im.h1 /* 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/net/sunrpc/
H A Dsvcauth_unix.c1 // 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/i2c/busses/
H A Di2c-sprd.c4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
95 writel(count, i2c_dev->base + I2C_COUNT); in sprd_i2c_set_count()
100 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
103 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
105 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
110 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
112 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
117 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
119 writel(tmp & ~I2C_RX_ACK, i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
124 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_irq()
[all …]
/linux/arch/arm/mach-versatile/
H A DKconfig1 # 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 Dpm.c1 // 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/Documentation/hwmon/
H A Dltc2947.rst1 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/arch/arc/mm/
H A Dcache.c1 // 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 Dgspca-cardlist.rst1 .. 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/arch/powerpc/net/
H A Dbpf_jit_comp.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <asm/asm-compat.h>
21 #include <asm/text-patching.h>
48 " .size dummy_tramp, .-dummy_tramp ;"
57 * Out-of-line stub: in bpf_jit_build_fentry_stubs()
63 ool_stub_idx = ctx->idx; in bpf_jit_build_fentry_stubs()
68 WARN_ON_ONCE(!is_offset_in_branch_range(4 - (long)ctx->idx * 4)); in bpf_jit_build_fentry_stubs()
69 EMIT(PPC_RAW_BRANCH(4 - (long)ctx->idx * 4)); in bpf_jit_build_fentry_stubs()
77 * ld r12, -8-SZL(r12) in bpf_jit_build_fentry_stubs()
83 *((unsigned long *)&image[ctx->idx]) = (unsigned long)dummy_tramp; in bpf_jit_build_fentry_stubs()
[all …]
/linux/sound/pci/ali5451/
H A Dali5451.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * --
11 * --
21 #include <linux/dma-mappin
1829 struct snd_ali_image *im = &chip->image; ali_suspend() local
1868 struct snd_ali_image *im = &chip->image; ali_resume() local
[all...]

1234