Home
last modified time | relevance | path

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

1234

/Linux-v5.10/net/sched/
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-v5.10/net/ipv4/
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 …]
/Linux-v5.10/fs/f2fs/
Dcheckpoint.c1 // SPDX-License-Identifier: GPL-2.0
92 if (unlikely(page->mapping != mapping)) { in __get_meta_page()
99 return ERR_PTR(-EIO); in __get_meta_page()
118 if (PTR_ERR(page) == -EIO && in f2fs_get_meta_page_retry()
146 exist = f2fs_test_bit(offset, se->cur_valid_map); in __is_bitmap_valid()
168 blkaddr < SM_I(sbi)->ssa_blkaddr)) in f2fs_is_valid_blkaddr()
172 if (unlikely(blkaddr >= SIT_I(sbi)->sit_base_addr || in f2fs_is_valid_blkaddr()
231 for (; nrpages-- > 0; blkno++) { in f2fs_ra_meta_pages()
239 NAT_BLOCK_OFFSET(NM_I(sbi)->max_nid))) in f2fs_ra_meta_pages()
279 return blkno - start; in f2fs_ra_meta_pages()
[all …]
/Linux-v5.10/fs/nfs/
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-v5.10/drivers/scsi/bfa/
Dbfad_im.c1 // 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 …]
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.
70 return im_portp->p; in bfad_get_im_port()
91 struct bfad_im_s *im; member
127 spin_lock_irqsave(&(_drv)->bfad_aen_spinlock, _flags); \
128 bfa_q_deq(&(_drv)->free_aen_q, &(_entry)); \
130 list_add_tail(&(_entry)->qe, &(_drv)->active_aen_q); \
131 spin_unlock_irqrestore(&(_drv)->bfad_aen_spinlock, _flags); \
[all …]
Dbfad_drv.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.
24 #include <linux/dma-mapping.h>
133 struct bfad_im_port_s *im_port; /* IM specific data */
212 struct bfad_im_s *im; /* IM specific data */ member
286 dev_printk(level, &((bfad)->pcidev)->dev, fmt, ##arg); \
/Linux-v5.10/drivers/net/wireless/ath/ath9k/
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-v5.10/net/ipv6/
Danycast.c1 // SPDX-License-Identifier: GPL-2.0-or-later
70 int ishost = !net->ipv6.devconf_all->forwarding; in ipv6_sock_ac_join()
75 if (!ns_capable(net->user_ns, CAP_NET_ADMIN)) in ipv6_sock_ac_join()
76 return -EPERM; in ipv6_sock_ac_join()
78 return -EINVAL; in ipv6_sock_ac_join()
84 return -EINVAL; in ipv6_sock_ac_join()
88 return -ENOMEM; in ipv6_sock_ac_join()
89 pac->acl_next = NULL; in ipv6_sock_ac_join()
90 pac->acl_addr = *addr; in ipv6_sock_ac_join()
97 dev = rt->dst.dev; in ipv6_sock_ac_join()
[all …]
Dmcast.c1 // 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
117 for (pmc = rcu_dereference(np->ipv6_mc_list); \
119 pmc = rcu_dereference(pmc->next))
126 iv = idev->cnf.mldv1_unsolicited_report_interval; in unsolicited_report_interval()
128 iv = idev->cnf.mldv2_unsolicited_report_interval; in unsolicited_report_interval()
[all …]
/Linux-v5.10/drivers/irqchip/
Dirq-tb10x.c1 // SPDX-License-Identifier: GPL-2.0-only
45 uint32_t im, mod, pol; in tb10x_irq_set_type() local
47 im = data->mask; in tb10x_irq_set_type()
51 mod = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_MODE) | im; in tb10x_irq_set_type()
52 pol = ab_irqctl_readreg(gc, AB_IRQCTL_SRC_POLARITY) | im; in tb10x_irq_set_type()
56 pol ^= im; in tb10x_irq_set_type()
59 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-v5.10/arch/powerpc/platforms/83xx/
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()
65 * Called very early, MMU is off, device-tree isn't unflattened
/Linux-v5.10/arch/mips/lantiq/
Dirq.c1 // SPDX-License-Identifier: GPL-2.0-only
22 /* register definitions - internal irqs */
31 /* register definitions - external irqs */
74 return -1; in ltq_eiu_get_irq()
79 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_disable_irq()
80 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_disable_irq() local
88 ltq_icu_w32(vpe, im, in ltq_disable_irq()
89 ltq_icu_r32(vpe, im, LTQ_ICU_IER) & ~BIT(offset), in ltq_disable_irq()
97 unsigned long offset = d->hwirq - MIPS_CPU_IRQ_CASCADE; in ltq_mask_and_ack_irq()
98 unsigned long im = offset / INT_NUM_IM_OFFSET; in ltq_mask_and_ack_irq() local
[all …]
/Linux-v5.10/drivers/clk/versatile/
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-v5.10/arch/arm/boot/dts/
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-v5.10/Documentation/devicetree/bindings/display/
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-v5.10/net/sunrpc/
Dsvcauth_unix.c1 // SPDX-License-Identifier: GPL-2.0-only
28 * are always nobody (-2). i.e. we do the same IP address checks for
46 kfree(dom->name); in svcauth_unix_domain_release_rcu()
52 call_rcu(&dom->rcu_head, svcauth_unix_domain_release_rcu); in svcauth_unix_domain_release()
63 if (new && rv != &new->h) in unix_domain_find()
64 svcauth_unix_domain_release(&new->h); in unix_domain_find()
66 if (rv->flavour != &svcauth_unix) { in unix_domain_find()
76 kref_init(&new->h.ref); in unix_domain_find()
77 new->h.name = kstrdup(name, GFP_KERNEL); in unix_domain_find()
78 if (new->h.name == NULL) { in unix_domain_find()
[all …]
/Linux-v5.10/arch/arm/mach-integrator/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
33 bool "Include support for Integrator/IM-PD1"
41 The IM-PD1 is an add-on logic module for the Integrator which
43 The IM-PD1 can be found on the Integrator/PP2 platform.
70 bool "Integrator/CM922T-XA10 core module"
76 bool "Integrator/CM926EJ-S core module"
88 bool "Integrator/CM946E-S core module"
94 bool "Integrator/CM966E-S core module"
117 bool "Integrator/CM1026EJ-S core module"
123 bool "Integrator/CM1136JF-S core module"
[all …]
/Linux-v5.10/drivers/tty/serial/
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.
34 #include <linux/dma-mapping.h>
45 #include "amba-pl011.h"
262 unsigned int im; /* interrupt mask */ member
264 unsigned int fifosize; /* vendor-specific */
266 unsigned int fixed_baud; /* vendor-set fixed baud rate */
281 return uap->reg_offset[reg]; in pl011_reg_to_offset()
[all …]
/Linux-v5.10/drivers/gpu/drm/pl111/
Dpl111_versatile.c1 // 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:
43 .compatible = "arm,core-module-integrator",
47 .compatible = "arm,versatile-sysreg",
51 .compatible = "arm,realview-eb-syscon",
55 .compatible = "arm,realview-pb1176-syscon",
59 .compatible = "arm,realview-pb11mp-syscon",
63 .compatible = "arm,realview-pba8-syscon",
67 .compatible = "arm,realview-pbx-syscon",
[all …]
/Linux-v5.10/drivers/i2c/busses/
Di2c-iop3xx.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* ------------------------------------------------------------------------- */
3 /* i2c-iop3xx.c i2c driver algorithms for Intel XScale IOP3xx & IXP46x */
4 /* ------------------------------------------------------------------------- */
5 /* Copyright (C) 2003 Peter Milne, D-TACQ Solutions Ltd
8 * With acknowledgements to i2c-algo-ibm_ocp.c by
11 * And i2c-algo-pcf.c, which was created by Simon G. Vogl and Hans Berglund:
13 * Copyright (C) 1995-1997 Simon G. Vogl, 1998-2000 Hans Berglund
16 * Frodo Looijaard <frodol@dds.nl>, Martin Bailey<mbailey@littlefeet-inc.com>
20 * - Use driver model to pass per-chip info instead of hardcoding and #ifdefs
[all …]
Di2c-sprd.c4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
94 writel(count, i2c_dev->base + I2C_COUNT); in sprd_i2c_set_count()
99 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
102 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
104 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop()
109 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
111 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start()
116 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
118 writel(tmp & ~I2C_RX_ACK, i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack()
123 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_irq()
[all …]
/Linux-v5.10/drivers/input/serio/
Dhp_sdc.c2 * 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-v5.10/arch/arm/mach-ux500/
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>
19 #include "db8500-regs.h"
113 u32 it, im; in prcmu_pending_irq() local
116 for (i = 0; i < PRCMU_GIC_NUMBER_REGS - 1; i++) { in prcmu_pending_irq()
118 im = readl(PRCM_ARMITMSK31TO0 + i * 4); in prcmu_pending_irq()
119 if (it & im) in prcmu_pending_irq()
[all …]
/Linux-v5.10/Documentation/hwmon/
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)

1234