Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 2527) sorted by relevance

12345678910>>...102

/kernel/linux/linux-4.19/sound/soc/sti/
Duniperif.h19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ argument
20 ((readl_relaxed(ip->base + offset) >> shift) & mask)
21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ argument
22 writel_relaxed(((readl_relaxed(ip->base + offset) & \
23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset)
24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ argument
25 writel_relaxed((((value) & mask) << shift), ip->base + offset)
31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 argument
32 #define GET_UNIPERIF_SOFT_RST(ip) \ argument
33 ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
[all …]
/kernel/linux/linux-5.10/sound/soc/sti/
Duniperif.h19 #define GET_UNIPERIF_REG(ip, offset, shift, mask) \ argument
20 ((readl_relaxed(ip->base + offset) >> shift) & mask)
21 #define SET_UNIPERIF_REG(ip, offset, shift, mask, value) \ argument
22 writel_relaxed(((readl_relaxed(ip->base + offset) & \
23 ~(mask << shift)) | (((value) & mask) << shift)), ip->base + offset)
24 #define SET_UNIPERIF_BIT_REG(ip, offset, shift, mask, value) \ argument
25 writel_relaxed((((value) & mask) << shift), ip->base + offset)
31 #define UNIPERIF_SOFT_RST_OFFSET(ip) 0x0000 argument
32 #define GET_UNIPERIF_SOFT_RST(ip) \ argument
33 ((ip)->ver < SND_ST_UNIPERIF_VERSION_UNI_PLR_TOP_1_0 ? \
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dsleep.S43 ldr ip, CACHE_FLUSH
44 blx ip
53 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
54 bic ip, ip, #DDR2_SRPD_BIT
55 orr ip, ip, #DDR2_LPMODEN_BIT
56 str ip, [r0, #DDR2_SDRCR_OFFSET]
58 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
59 orr ip, ip, #DDR2_MCLKSTOPEN_BIT
60 str ip, [r0, #DDR2_SDRCR_OFFSET]
62 mov ip, #PHYRDY_CYCLES
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-davinci/
Dsleep.S56 ldr ip, CACHE_FLUSH
57 blx ip
66 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
67 bic ip, ip, #DDR2_SRPD_BIT
68 orr ip, ip, #DDR2_LPMODEN_BIT
69 str ip, [r0, #DDR2_SDRCR_OFFSET]
71 ldr ip, [r0, #DDR2_SDRCR_OFFSET]
72 orr ip, ip, #DDR2_MCLKSTOPEN_BIT
73 str ip, [r0, #DDR2_SDRCR_OFFSET]
75 mov ip, #PHYRDY_CYCLES
[all …]
/kernel/linux/linux-5.10/arch/arm/lib/
Dio-writesw-armv3.S43 mov ip, r3, lsl #16
44 orr ip, ip, ip, lsr #16
45 str ip, [r0]
47 mov ip, r3, lsr #16
48 orr ip, ip, ip, lsl #16
49 str ip, [r0]
51 mov ip, r4, lsl #16
52 orr ip, ip, ip, lsr #16
53 str ip, [r0]
55 mov ip, r4, lsr #16
[all …]
/kernel/linux/linux-4.19/arch/arm/lib/
Dio-writesw-armv3.S46 mov ip, r3, lsl #16
47 orr ip, ip, ip, lsr #16
48 str ip, [r0]
50 mov ip, r3, lsr #16
51 orr ip, ip, ip, lsl #16
52 str ip, [r0]
54 mov ip, r4, lsl #16
55 orr ip, ip, ip, lsr #16
56 str ip, [r0]
58 mov ip, r4, lsr #16
[all …]
/kernel/linux/linux-4.19/samples/bpf/
Dtest_ipip.sh5 ip netns add at_ns0
6 ip netns add at_ns1
7 ip netns add at_ns2
8 ip link add veth0 type veth peer name veth0b
9 ip link add veth1 type veth peer name veth1b
10 ip link add veth2 type veth peer name veth2b
11 ip link set veth0b up
12 ip link set veth1b up
13 ip link set veth2b up
14 ip link set dev veth0b mtu 1500
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dtest_ipip.sh5 ip netns add at_ns0
6 ip netns add at_ns1
7 ip netns add at_ns2
8 ip link add veth0 type veth peer name veth0b
9 ip link add veth1 type veth peer name veth1b
10 ip link add veth2 type veth peer name veth2b
11 ip link set veth0b up
12 ip link set veth1b up
13 ip link set veth2b up
14 ip link set dev veth0b mtu 1500
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh44 ip netns del ns1 2> /dev/null
45 ip netns del ns2 2> /dev/null
46 ip netns del ns3 2> /dev/null
47 ip netns del ns4 2> /dev/null
48 ip netns del ns5 2> /dev/null
49 ip netns del ns6 2> /dev/null
55 ip netns add ns1
56 ip netns add ns2
57 ip netns add ns3
58 ip netns add ns4
[all …]
Dtest_tunnel.sh56 ip netns add at_ns0
57 ip link add veth0 type veth peer name veth1
58 ip link set veth0 netns at_ns0
59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
60 ip netns exec at_ns0 ip link set dev veth0 up
61 ip link set dev veth1 up mtu 1500
62 ip addr add dev veth1 172.16.1.200/24
68 ip netns exec at_ns0 \
69 ip link add dev $DEV_NS type $TYPE seq key 2 \
71 ip netns exec at_ns0 ip link set dev $DEV_NS up
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh44 ip netns del ns1 2> /dev/null
45 ip netns del ns2 2> /dev/null
46 ip netns del ns3 2> /dev/null
47 ip netns del ns4 2> /dev/null
48 ip netns del ns5 2> /dev/null
49 ip netns del ns6 2> /dev/null
55 ip netns add ns1
56 ip netns add ns2
57 ip netns add ns3
58 ip netns add ns4
[all …]
Dtest_tunnel.sh56 ip netns add at_ns0
57 ip link add veth0 type veth peer name veth1
58 ip link set veth0 netns at_ns0
59 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0
60 ip netns exec at_ns0 ip link set dev veth0 up
61 ip link set dev veth1 up mtu 1500
62 ip addr add dev veth1 172.16.1.200/24
68 ip netns exec at_ns0 \
69 ip link add dev $DEV_NS type $TYPE seq key 2 \
71 ip netns exec at_ns0 ip link set dev $DEV_NS up
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_icache.c37 struct xfs_inode *ip; in xfs_inode_alloc() local
43 ip = kmem_cache_alloc(xfs_inode_zone, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc()
45 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
46 kmem_cache_free(xfs_inode_zone, ip); in xfs_inode_alloc()
51 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
54 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
55 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
58 ip->i_ino = ino; in xfs_inode_alloc()
59 ip->i_mount = mp; in xfs_inode_alloc()
60 memset(&ip->i_imap, 0, sizeof(struct xfs_imap)); in xfs_inode_alloc()
[all …]
Dxfs_bmap_util.c40 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument
42 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db()
43 return XFS_FSB_TO_BB(ip->i_mount, fsb); in xfs_fsb_to_db()
44 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db()
56 struct xfs_inode *ip, in xfs_zero_extent() argument
60 struct xfs_mount *mp = ip->i_mount; in xfs_zero_extent()
61 struct xfs_buftarg *target = xfs_inode_buftarg(ip); in xfs_zero_extent()
62 xfs_daddr_t sector = xfs_fsb_to_db(ip, start_fsb); in xfs_zero_extent()
84 mp = ap->ip->i_mount; in xfs_bmap_rtalloc()
85 align = xfs_get_extsz_hint(ap->ip); in xfs_bmap_rtalloc()
[all …]
Dxfs_inode.h76 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() argument
78 return &ip->i_vnode; in VFS_I()
86 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() argument
88 if (S_ISREG(VFS_I(ip)->i_mode)) in XFS_ISIZE()
89 return i_size_read(VFS_I(ip)); in XFS_ISIZE()
90 return ip->i_d.di_size; in XFS_ISIZE()
98 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() argument
100 xfs_fsize_t i_size = i_size_read(VFS_I(ip)); in xfs_new_eof()
104 return new_size > ip->i_d.di_size ? new_size : 0; in xfs_new_eof()
111 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set() argument
[all …]
/kernel/linux/linux-4.19/fs/xfs/
Dxfs_icache.c38 struct xfs_inode *ip; in xfs_inode_alloc() local
45 ip = kmem_zone_alloc(xfs_inode_zone, KM_SLEEP); in xfs_inode_alloc()
46 if (!ip) in xfs_inode_alloc()
48 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc()
49 kmem_zone_free(xfs_inode_zone, ip); in xfs_inode_alloc()
54 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc()
57 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc()
58 ASSERT(!xfs_isiflocked(ip)); in xfs_inode_alloc()
59 ASSERT(ip->i_ino == 0); in xfs_inode_alloc()
62 ip->i_ino = ino; in xfs_inode_alloc()
[all …]
Dxfs_inode.h69 static inline struct inode *VFS_I(struct xfs_inode *ip) in VFS_I() argument
71 return &ip->i_vnode; in VFS_I()
79 static inline xfs_fsize_t XFS_ISIZE(struct xfs_inode *ip) in XFS_ISIZE() argument
81 if (S_ISREG(VFS_I(ip)->i_mode)) in XFS_ISIZE()
82 return i_size_read(VFS_I(ip)); in XFS_ISIZE()
83 return ip->i_d.di_size; in XFS_ISIZE()
91 xfs_new_eof(struct xfs_inode *ip, xfs_fsize_t new_size) in xfs_new_eof() argument
93 xfs_fsize_t i_size = i_size_read(VFS_I(ip)); in xfs_new_eof()
97 return new_size > ip->i_d.di_size ? new_size : 0; in xfs_new_eof()
104 __xfs_iflags_set(xfs_inode_t *ip, unsigned short flags) in __xfs_iflags_set() argument
[all …]
Dxfs_inode.c62 struct xfs_inode *ip) in xfs_get_extsz_hint() argument
64 if ((ip->i_d.di_flags & XFS_DIFLAG_EXTSIZE) && ip->i_d.di_extsize) in xfs_get_extsz_hint()
65 return ip->i_d.di_extsize; in xfs_get_extsz_hint()
66 if (XFS_IS_REALTIME_INODE(ip)) in xfs_get_extsz_hint()
67 return ip->i_mount->m_sb.sb_rextsize; in xfs_get_extsz_hint()
79 struct xfs_inode *ip) in xfs_get_cowextsz_hint() argument
84 if (ip->i_d.di_flags2 & XFS_DIFLAG2_COWEXTSIZE) in xfs_get_cowextsz_hint()
85 a = ip->i_d.di_cowextsize; in xfs_get_cowextsz_hint()
86 b = xfs_get_extsz_hint(ip); in xfs_get_cowextsz_hint()
111 struct xfs_inode *ip) in xfs_ilock_data_map_shared() argument
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/netfilter/
Dipvs.sh56 ip -Version > /dev/null 2>&1
69 ip netns add ns0
70 ip netns add ns1
71 ip netns add ns2
73 ip link add veth01 netns ns0 type veth peer name veth10 netns ns1
74 ip link add veth02 netns ns0 type veth peer name veth20 netns ns2
75 ip link add veth12 netns ns1 type veth peer name veth21 netns ns2
77 ip netns exec ns0 ip link set veth01 up
78 ip netns exec ns0 ip link set veth02 up
79 ip netns exec ns0 ip link add br0 type bridge
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/
Drtnetlink.sh44 ip link set dev $swp1 up
45 ip link set dev $swp2 up
52 ip link set dev $swp2 down
53 ip link set dev $swp1 down
65 ip addr flush dev $swp1
66 ip addr flush dev $swp2
69 ip addr add dev $swp1 192.0.2.1/28
72 ip link set dev $swp1 addr 00:11:22:33:44:55
77 ip addr add dev $swp2 192.0.2.2/28 &>/dev/null
79 ip addr add dev $swp2 192.0.2.2/28 2>&1 >/dev/null \
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/net/
Drtnetlink.sh31 ip link add name "$devdummy" type dummy
33 ip link set "$devdummy" up
39 ip link del dev "$devdummy"
48 ip netconf show dev "$dev" > /dev/null
52 ip -$f netconf show dev "$dev" > /dev/null
70 ip link add name "$devbr" type bridge
73 ip link set dev "$devdummy" master "$devbr"
76 ip link set "$devbr" up
79 ip link add link "$devbr" name "$vlandev" type vlan id 1
81 ip addr add dev "$vlandev" 10.200.7.23/30
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sgi/
Dioc3-eth.c109 static void ioc3_start(struct ioc3_private *ip);
110 static inline void ioc3_stop(struct ioc3_private *ip);
113 static void ioc3_free_rx_bufs(struct ioc3_private *ip);
114 static inline void ioc3_clean_tx_ring(struct ioc3_private *ip);
123 static inline int ioc3_alloc_skb(struct ioc3_private *ip, struct sk_buff **skb, in ioc3_alloc_skb() argument
139 d = dma_map_single(ip->dma_dev, new_skb->data, in ioc3_alloc_skb()
142 if (dma_mapping_error(ip->dma_dev, d)) { in ioc3_alloc_skb()
229 struct ioc3_private *ip = netdev_priv(dev); in __ioc3_set_mac_address() local
233 &ip->regs->emar_h); in __ioc3_set_mac_address()
238 &ip->regs->emar_l); in __ioc3_set_mac_address()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Drouter_mpath_nh.sh11 ip link set dev $h1 master vrf-h1
13 ip link set dev vrf-h1 up
14 ip link set dev $h1 up
16 ip address add 192.0.2.2/24 dev $h1
17 ip address add 2001:db8:1::2/64 dev $h1
19 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1
20 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1
25 ip route del 2001:db8:2::/64 vrf vrf-h1
26 ip route del 198.51.100.0/24 vrf vrf-h1
28 ip address del 2001:db8:1::2/64 dev $h1
[all …]
/kernel/linux/linux-4.19/arch/powerpc/kernel/trace/
Dftrace.c34 ftrace_call_replace(unsigned long ip, unsigned long addr, int link) in ftrace_call_replace() argument
41 op = create_branch((unsigned int *)ip, addr, link ? 1 : 0); in ftrace_call_replace()
47 ftrace_modify_code(unsigned long ip, unsigned int old, unsigned int new) in ftrace_modify_code() argument
60 if (probe_kernel_read(&replaced, (void *)ip, MCOUNT_INSN_SIZE)) in ftrace_modify_code()
66 (void *)ip, replaced, old); in ftrace_modify_code()
71 if (patch_instruction((unsigned int *)ip, new)) in ftrace_modify_code()
80 static int test_24bit_addr(unsigned long ip, unsigned long addr) in test_24bit_addr() argument
85 return create_branch((unsigned int *)ip, addr, 0); in test_24bit_addr()
95 static unsigned long find_bl_target(unsigned long ip, unsigned int op) in find_bl_target() argument
104 return ip + (long)offset; in find_bl_target()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtraceroute.sh49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
82 ip netns exec ${ns} ip ro add unreachable default metric 8192
83 ip netns exec ${ns} ip -6 ro add unreachable default metric 8192
85 ip netns exec ${ns} sysctl -qw net.ipv4.ip_forward=1
86 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
87 ip netns exec ${ns} sysctl -qw net.ipv6.conf.all.forwarding=1
[all …]

12345678910>>...102