/linux/sound/soc/sti/ |
H A D | uniperif.h | 19 #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 …]
|
/linux/arch/arm/lib/ |
H A D | io-writesw-armv3.S | 43 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 …]
|
H A D | io-readsw-armv4.S | 18 .Linsw_align: movs ip, r1, lsl #31 20 ldrh ip, [r0] 22 strh ip, [r1], #2 44 ldrh ip, [r0] 45 pack r5, r5, ip 47 ldrh ip, [r0] 49 pack ip, ip, lr 52 stmia r1!, {r3 - r5, ip} 63 ldrh ip, [r0] 64 pack r4, r4, ip [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | rtnetlink.sh | 49 ip link set dev $swp1 up 50 ip link set dev $swp2 up 57 ip link set dev $swp2 down 58 ip link set dev $swp1 down 63 # Test that it is possible to set an IP address on a VRF upper despite 67 ip link add name vrf-test type vrf table 10 68 ip link set dev $swp1 master vrf-test 70 ip -4 address add 192.0.2.1/24 dev vrf-test 72 ip -6 address add 2001:db8:1::1/64 dev vrf-test 75 log_test "RIF - setting IP addres [all...] |
H A D | vxlan.sh | 45 ip link set dev $swp1 up 46 ip link set dev $swp2 up 53 ip link set dev $swp2 down 54 ip link set dev $swp1 down 59 ip link set dev $swp1 master br0 61 ip link set dev vxlan0 master br0 64 ip link set dev $swp1 nomaster 66 ip link set dev $swp1 master br0 72 ip link set dev $swp1 master br0 74 ip link set dev vxlan0 master br0 &> /dev/null [all …]
|
H A D | q_in_q_veto.sh | 28 ip link set dev $swp1 up 29 ip link set dev $swp2 up 38 ip link set dev $swp2 down 39 ip link set dev $swp1 down 49 ip link add dev br0 type bridge vlan_filtering 1 \ 51 ip link set dev br0 addrgenmode none 53 ip link set dev br0 up 54 ip link set dev $swp1 master br0 56 ip link add name br0.100 link br0 type vlan \ 60 ip link add name br0.100 link br0 type vlan \ [all …]
|
H A D | extack.sh | 22 ip link set dev $swp1 up 23 ip link set dev $swp2 up 30 ip link set dev $swp2 down 31 ip link set dev $swp1 down 38 ip link add name br1 type bridge vlan_filtering 0 mcast_snooping 0 39 ip link set dev br1 addrgenmode none 40 ip link set dev br1 up 41 ip link add name vx1 up type vxlan id 1000 \ 45 ip link set dev vx1 master br1 48 ip link set dev $swp1 master br1 [all …]
|
/linux/arch/arm/mach-davinci/ |
H A D | sleep.S | 43 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 …]
|
/linux/tools/testing/selftests/bpf/ |
H A D | test_lwt_seg6local.sh | 51 ip netns del ${NS1} 2> /dev/null 52 ip netns del ${NS2} 2> /dev/null 53 ip netns del ${NS3} 2> /dev/null 54 ip netns del ${NS4} 2> /dev/null 55 ip netns del ${NS5} 2> /dev/null 56 ip netns del ${NS6} 2> /dev/null 62 ip netns add ${NS1} 63 ip netns add ${NS2} 64 ip netns add ${NS3} 65 ip netns add ${NS4} [all …]
|
H A D | test_tunnel.sh | 26 # veth1 IP: 172.16.1.200, IPv6: 00::22 (underlay) 58 ip netns add at_ns0 59 ip link add veth0 type veth peer name veth1 60 ip link set veth0 netns at_ns0 61 ip netns exec at_ns0 ip addr add 172.16.1.100/24 dev veth0 62 ip netns exec at_ns0 ip link set dev veth0 up 63 ip link set dev veth1 up mtu 1500 64 ip addr add dev veth1 172.16.1.200/24 75 ip netns exec at_ns0 \ 76 ip link add dev $DEV_NS type $TYPE seq $tun_key \ [all …]
|
H A D | test_lwt_ip_encap.sh | 18 # IP*_1 <=> IP*_2 <=> IP*_3 <=> IP*_4 (the top route) 21 # NS1/NS2 are configured to route packets to IPv*_GRE via IP*_8 27 # from IP*_SRC to IP*_DST can work is via IPv*_GRE 30 # that encaps the packets with an IP/GRE header to route to IPv*_GRE 36 # that encaps the packets with an IP/GRE header to route to IPv*_GRE 112 ip netns add "${NS1}" 113 ip netns add "${NS2}" 114 ip netns add "${NS3}" 117 ip netns exec ${NS1} sysctl -wq net.ipv4.conf.all.rp_filter=0 118 ip netns exec ${NS2} sysctl -wq net.ipv4.conf.all.rp_filter=0 [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh_res.sh | 54 ip link set dev $h1 master vrf-h1 56 ip link set dev vrf-h1 up 57 ip link set dev $h1 up 59 ip address add 192.0.2.2/24 dev $h1 60 ip address add 2001:db8:1::2/64 dev $h1 62 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 63 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 68 ip route del 2001:db8:2::/64 vrf vrf-h1 69 ip route del 198.51.100.0/24 vrf vrf-h1 71 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
H A D | router_mpath_nh.sh | 56 ip link set dev $h1 master vrf-h1 58 ip link set dev vrf-h1 up 59 ip link set dev $h1 up 61 ip address add 192.0.2.2/24 dev $h1 62 ip address add 2001:db8:1::2/64 dev $h1 64 ip route add 198.51.100.0/24 vrf vrf-h1 nexthop via 192.0.2.1 65 ip route add 2001:db8:2::/64 vrf vrf-h1 nexthop via 2001:db8:1::1 70 ip route del 2001:db8:2::/64 vrf vrf-h1 71 ip route del 198.51.100.0/24 vrf vrf-h1 73 ip address del 2001:db8:1::2/64 dev $h1 [all …]
|
H A D | router_multipath.sh | 11 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 …]
|
H A D | router_bridge_1d_lag.sh | 118 ip link set dev lag1 addrgenmode none 119 ip link set dev lag1 address $(mac_get $h1) 120 ip link set dev $h1 master lag1 121 ip link set dev $h4 master lag1 123 ip link set dev $h1 up 124 ip link set dev $h4 up 129 ip -4 route add 192.0.2.128/28 vrf vlag1 nexthop via 192.0.2.2 130 ip -6 route add 2001:db8:2::/64 vrf vlag1 nexthop via 2001:db8:1::2 132 ip -4 route add 192.0.2.144/28 vrf vlag1 nexthop via 192.0.2.18 133 ip -6 route add 2001:db8:4::/64 vrf vlag1 nexthop via 2001:db8:3::2 [all …]
|
/linux/tools/testing/selftests/net/ |
H A D | fib_nexthops.sh | 136 addr=$(ip $ns -6 -br addr show dev ${dev} | \ 159 ip netns exec ${n} sysctl -qw net.ipv4.ip_forward=1 160 ip netns exec ${n} sysctl -qw net.ipv4.fib_multipath_use_neigh=1 161 ip netns exec ${n} sysctl -qw net.ipv4.conf.default.ignore_routes_with_linkdown=1 162 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1 163 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.forwarding=1 164 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.forwarding=1 165 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1 166 ip netns exec ${n} sysctl -qw net.ipv6.conf.all.accept_dad=0 167 ip netns exec ${n} sysctl -qw net.ipv6.conf.default.accept_dad=0 [all …]
|
H A D | fib_tests.sh | 55 IP="$(which ip) -netns $ns1" 56 NS_EXEC="$(which ip) netns exec $ns1" 57 ip netns exec $ns1 sysctl -qw net.ipv4.ip_forward=1 58 ip netns exec $ns1 sysctl -qw net.ipv6.conf.all.forwarding=1 60 $IP link add dummy0 type dummy 61 $IP link set dev dummy0 up 62 $IP address add 198.51.100.1/24 dev dummy0 63 $IP -6 address add 2001:db8:1::1/64 dev dummy0 70 $IP lin [all...] |
H A D | rtnetlink.sh | 135 run_cmd ip link add name "$devdummy" type dummy 136 run_cmd ip link set "$devdummy" up 141 run_cmd ip link del dev "$devdummy" 148 run_cmd ip netconf show dev "$dev" 150 run_cmd ip -$f netconf show dev "$dev" 154 end_test "FAIL: ip netconf show $dev" 167 run_cmd ip link add name "$devbr" type bridge 168 run_cmd ip link set dev "$devdummy" master "$devbr" 169 run_cmd ip link set "$devbr" up 170 run_cmd ip link add link "$devbr" name "$vlandev" type vlan id 1 [all …]
|
/linux/tools/testing/selftests/drivers/net/netdevsim/ |
H A D | nexthop.sh | 61 out=$($IP nexthop show ${nharg} | sed -e 's/ *$//') 81 count=$($IP nexthop bucket show id $group_id nhid $nhid | 117 $IP nexthop add id 1 via 192.0.2.2 dev dummy1 124 $IP nexthop del id 1 137 $IP nexthop add id 1 via 192.0.2.2 dev dummy1 139 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 &> /dev/null 147 $IP nexthop flush &> /dev/null 155 $IP nexthop add id 1 via 192.0.2.2 dev dummy1 156 $IP nexthop add id 2 via 192.0.2.3 dev dummy1 158 $IP nexthop add id 10 group 1/2 [all …]
|
/linux/tools/testing/selftests/net/netfilter/ |
H A D | ipvs.sh | 61 ip link add veth01 netns "${ns0}" type veth peer name veth10 netns "${ns1}" 62 ip link add veth02 netns "${ns0}" type veth peer name veth20 netns "${ns2}" 63 ip link add veth12 netns "${ns1}" type veth peer name veth21 netns "${ns2}" 65 ip netns exec "${ns0}" ip link set veth01 up 66 ip netns exec "${ns0}" ip link set veth02 up 67 ip netns exec "${ns0}" ip link add br0 type bridge 68 ip netns exec "${ns0}" ip link set veth01 master br0 69 ip netns exec "${ns0}" ip link set veth02 master br0 70 ip netns exec "${ns0}" ip link set br0 up 71 ip netns exec "${ns0}" ip addr add "${cip_v4}/24" dev br0 [all …]
|
H A D | nft_flowtable.sh | 34 ip netns pids "$ns1" | xargs kill 2>/dev/null 35 ip netns pids "$ns2" | xargs kill 2>/dev/null 48 ip link add veth0 netns "$nsr1" type veth peer name eth0 netns "$ns1" 49 ip link add veth1 netns "$nsr1" type veth peer name veth0 netns "$nsr2" 51 ip link add veth1 netns "$nsr2" type veth peer name eth0 netns "$ns2" 54 ip -net "$nsr1" link set "$dev" up 55 ip -net "$nsr2" link set "$dev" up 58 ip -net "$nsr1" addr add 10.0.1.1/24 dev veth0 59 ip -net "$nsr1" addr add dead:1::1/64 dev veth0 nodad 61 ip -net "$nsr2" addr add 10.0.2.1/24 dev veth1 [all …]
|
/linux/tools/testing/selftests/drivers/net/bonding/ |
H A D | lag_lib.sh | 17 ip link add dummy1 type dummy 18 ip link add dummy2 type dummy 21 ip link add "$name" up type bond mode "$mode" 22 ip link set dev dummy1 master "$name" 23 ip link set dev dummy2 master "$name" 40 ip link set dev "$name" up 48 ip link add mv0 link "$name" up address "$ucaddr" type macvlan 50 ip address add "$addr6" dev "$name" 62 ip link set dev "$name" down 63 ip link del "$name" [all …]
|
/linux/lib/zstd/compress/ |
H A D | zstd_double_fast.c | 25 const BYTE* ip = base + ms->nextToUpdate; in ZSTD_fillDoubleHashTable() local 33 for (; ip + fastHashFillStep - 1 <= iend; ip += fastHashFillStep) { in ZSTD_fillDoubleHashTable() 34 U32 const curr = (U32)(ip - base); in ZSTD_fillDoubleHashTable() 37 size_t const smHash = ZSTD_hashPtr(ip + i, hBitsS, mls); in ZSTD_fillDoubleHashTable() 38 size_t const lgHash = ZSTD_hashPtr(ip + i, hBitsL, 8); in ZSTD_fillDoubleHashTable() 82 size_t hl0; /* the long hash at ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 85 U32 idxl0; /* the long match index for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 88 const BYTE* matchl0; /* the long match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 89 const BYTE* matchs0; /* the short match for ip */ in ZSTD_compressBlock_doubleFast_noDict_generic() 92 const BYTE* ip = istart; /* the current position */ in ZSTD_compressBlock_doubleFast_noDict_generic() local [all …]
|
/linux/fs/xfs/ |
H A D | xfs_icache.c | 91 struct xfs_inode *ip; in xfs_inode_alloc() local 97 ip = alloc_inode_sb(mp->m_super, xfs_inode_cache, GFP_KERNEL | __GFP_NOFAIL); in xfs_inode_alloc() 99 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 100 kmem_cache_free(xfs_inode_cache, ip); in xfs_inode_alloc() 105 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc() 106 mapping_set_folio_min_order(VFS_I(ip)->i_mapping, in xfs_inode_alloc() 110 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc() 111 ASSERT(ip->i_ino == 0); in xfs_inode_alloc() 114 ip->i_ino = ino; in xfs_inode_alloc() 115 ip->i_mount = mp; in xfs_inode_alloc() [all …]
|
H A D | xfs_bmap_util.c | 42 xfs_fsb_to_db(struct xfs_inode *ip, xfs_fsblock_t fsb) in xfs_fsb_to_db() argument 44 if (XFS_IS_REALTIME_INODE(ip)) in xfs_fsb_to_db() 45 return xfs_rtb_to_daddr(ip->i_mount, fsb); in xfs_fsb_to_db() 46 return XFS_FSB_TO_DADDR(ip->i_mount, fsb); in xfs_fsb_to_db() 54 struct xfs_inode *ip, in xfs_zero_extent() argument 58 return blkdev_issue_zeroout(xfs_inode_buftarg(ip)->bt_bdev, in xfs_zero_extent() 59 xfs_fsb_to_db(ip, start_fsb), in xfs_zero_extent() 60 XFS_FSB_TO_BB(ip->i_mount, count_fsb), in xfs_zero_extent() 98 struct xfs_inode *ip, in xfs_bmap_count_blocks() argument 103 struct xfs_mount *mp = ip->i_mount; in xfs_bmap_count_blocks() [all …]
|