Home
last modified time | relevance | path

Searched full:shift (Results 1 – 25 of 2694) sorted by relevance

12345678910>>...108

/linux/tools/testing/selftests/net/forwarding/
H A Dmirror_gre_lib.sh7 local tundev=$1; shift
8 local ip1=$1; shift
9 local ip2=$1; shift
10 local forward_type=$1; shift
11 local backward_type=$1; shift
19 local tundev=$1; shift
20 local ip1=$1; shift
21 local ip2=$1; shift
28 local tundev=$1; shift
29 local forward_type=$1; shift
[all …]
H A Dmirror_lib.sh5 local from_dev=$1; shift
6 local direction=$1; shift
7 local to_dev=$1; shift
8 local filter=$1; shift
17 local from_dev=$1; shift
18 local direction=$1; shift
25 local addr=$1; shift
32 local vrf_name=$1; shift
33 local sip=$1; shift
34 local dip=$1; shift
[all …]
H A Dlib.sh93 local dev=$1; shift
147 local dev=$1; shift
162 local dev=$1; shift
177 local dev=$1; shift
265 local dev=$1; shift
266 local grp=$1; shift
295 local dev=$1; shift
296 local expected=$1; shift
352 shift
479 local addr=$1; shift
[all...]
H A Dmirror_gre_changes.sh68 local tundev=$1; shift
69 local type=$1; shift
70 local prot=$1; shift
71 local what=$1; shift
95 local tundev=$1; shift
96 local what=$1; shift
114 local tundev=$1; shift
115 local remote_ip=$1; shift
116 local what=$1; shift
138 local tundev=$1; shift
[all …]
H A Drouter_mpath_nh_lib.sh5 local what=$1; shift
6 local nh1_id=$1; shift
7 local nh2_id=$1; shift
8 local group_id=$1; shift
9 local stats_get=$1; shift
53 local what=$1; shift
54 local nh1_id=$1; shift
55 local nh2_id=$1; shift
56 local group_id=$1; shift
69 local nhgtype=$1; shift
[all …]
H A Dvxlan_bridge_1d_ipv6.sh200 local in_if=$1; shift
201 local in_addr=$1; shift
202 local other_in_addr=$1; shift
203 local nh_addr=$1; shift
204 local host_addr_ipv4=$1; shift
205 local host_addr_ipv6=$1; shift
336 local vxlan_local_ip=$1; shift
337 local vxlan_remote_ip=$1; shift
338 local src_ip=$1; shift
339 local dst_ip=$1; shift
[all …]
/linux/drivers/clk/imx/
H A Dclk.h118 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument
119 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask))
127 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
128 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width))
130 #define imx_clk_divider_flags(name, parent, reg, shift, width, flags) \ argument
131 to_clk(imx_clk_hw_divider_flags(name, parent, reg, shift, width, flags))
133 #define imx_clk_gate(name, parent, reg, shift) \ argument
134 to_clk(imx_clk_hw_gate(name, parent, reg, shift))
136 #define imx_clk_gate_dis(name, parent, reg, shift) \ argument
137 to_clk(imx_clk_hw_gate_dis(name, parent, reg, shift))
[all …]
/linux/scripts/atomic/
H A Datomic-tbl.sh48 local tmpltype="$1"; shift
49 local pfx="$1"; shift
50 local name="$1"; shift
51 local sfx="$1"; shift
52 local order="$1"; shift
86 local meta="$1"; shift
87 local int="$1"; shift
115 local type="${1%%:*}"; shift
116 local int="$1"; shift
117 local atomic="$1"; shift
[all …]
H A Dgen-atomic-fallback.sh11 local template="$1"; shift
12 local meta="$1"; shift
13 local pfx="$1"; shift
14 local name="$1"; shift
15 local sfx="$1"; shift
16 local order="$1"; shift
17 local atomic="$1"; shift
18 local int="$1"; shift
31 local meta="$1"; shift
32 local pfx="$1"; shift
[all …]
/linux/drivers/bus/
H A Domap_l3_smx.h29 static const u64 shift = 1; variable
31 #define L3_STATUS_0_MPUIA_BRST (shift << 0)
32 #define L3_STATUS_0_MPUIA_RSP (shift << 1)
33 #define L3_STATUS_0_MPUIA_INBAND (shift << 2)
34 #define L3_STATUS_0_IVAIA_BRST (shift << 6)
35 #define L3_STATUS_0_IVAIA_RSP (shift << 7)
36 #define L3_STATUS_0_IVAIA_INBAND (shift << 8)
37 #define L3_STATUS_0_SGXIA_BRST (shift << 9)
38 #define L3_STATUS_0_SGXIA_RSP (shift << 10)
39 #define L3_STATUS_0_SGXIA_MERROR (shift << 11)
[all …]
/linux/tools/testing/selftests/net/
H A Dlib.sh36 local a=$1; shift
37 local b=$1; shift
57 local a=$1; shift
58 local b=$1; shift
66 local a=$1; shift
67 local b=$1; shift
75 local sleep_cmd=$1; shift
76 local timeout_ms=$1; shift
99 local timeout_ms=$1; shift
107 local timeout_sec=$1; shift
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsch_offload.sh19 local handle=$1; shift
34 local handle=$1; shift
54 local handle=$1; shift
55 local locus=$1; shift
65 local handle=$1; shift
66 local locus=$1; shift
76 local handle=$1; shift
77 local locus=$1; shift
87 local handle=$1; shift
88 local locus=$1; shift
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap24xx-clocks.dtsi12 ti,bit-shift = <2>;
26 ti,bit-shift = <6>;
78 ti,bit-shift = <23>;
94 ti,bit-shift = <6>;
103 ti,bit-shift = <6>;
132 ti,bit-shift = <2>;
133 ti,idlest-shift = <8>;
142 ti,bit-shift = <6>;
143 ti,idlest-shift = <9>;
152 ti,bit-shift = <5>;
[all …]
/linux/arch/alpha/include/uapi/asm/
H A Dcompiler.h14 # define __kernel_insbl(val, shift) __builtin_alpha_insbl(val, shift) argument
15 # define __kernel_inswl(val, shift) __builtin_alpha_inswl(val, shift) argument
16 # define __kernel_insql(val, shift) __builtin_alpha_insql(val, shift) argument
17 # define __kernel_inslh(val, shift) __builtin_alpha_inslh(val, shift) argument
18 # define __kernel_extbl(val, shift) __builtin_alpha_extbl(val, shift) argument
19 # define __kernel_extwl(val, shift) __builtin_alpha_extwl(val, shift) argument
22 # define __kernel_insbl(val, shift) \ argument
24 __asm__("insbl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
26 # define __kernel_inswl(val, shift) \ argument
28 __asm__("inswl %2,%1,%0" : "=r"(__kir) : "rI"(shift), "r"(val)); \
[all …]
/linux/drivers/clk/meson/
H A Dparm.h14 #define SETPMASK(width, shift) GENMASK(shift + width - 1, shift) argument
15 #define CLRPMASK(width, shift) (~SETPMASK(width, shift)) argument
17 #define PARM_GET(width, shift, reg) \ argument
18 (((reg) & SETPMASK(width, shift)) >> (shift))
19 #define PARM_SET(width, shift, reg, val) \ argument
20 (((reg) & CLRPMASK(width, shift)) | ((val) << (shift)))
26 u8 shift; member
35 return PARM_GET(p->width, p->shift, val); in meson_parm_read()
41 regmap_update_bits(map, p->reg_off, SETPMASK(p->width, p->shift), in meson_parm_write()
42 val << p->shift); in meson_parm_write()
/linux/drivers/memory/tegra/
H A Dtegra114.c21 .shift = 0,
37 .shift = 0,
53 .shift = 0,
69 .shift = 16,
85 .shift = 16,
101 .shift = 0,
117 .shift = 0,
133 .shift = 0,
149 .shift = 0,
165 .shift = 16,
[all …]
H A Dtegra124.c22 .shift = 0,
38 .shift = 0,
54 .shift = 0,
70 .shift = 16,
86 .shift = 16,
102 .shift = 0,
118 .shift = 0,
134 .shift = 0,
150 .shift = 0,
166 .shift = 0,
[all …]
/linux/include/linux/
H A Dbitops.h102 * @shift: bits to roll
104 static inline __u64 rol64(__u64 word, unsigned int shift) in rol64() argument
106 return (word << (shift & 63)) | (word >> ((-shift) & 63)); in rol64()
112 * @shift: bits to roll
114 static inline __u64 ror64(__u64 word, unsigned int shift) in ror64() argument
116 return (word >> (shift & 63)) | (word << ((-shift) & 63)); in ror64()
122 * @shift: bits to roll
124 static inline __u32 rol32(__u32 word, unsigned int shift) in rol32() argument
126 return (word << (shift & 31)) | (word >> ((-shift) & 31)); in rol32()
132 * @shift: bits to roll
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_qmath.c93 * Description: This function make a 32 bit saturated left shift when the
94 * specified shift is +ve. This function will make a 32 bit right shift when
95 * the specified shift is -ve. This function return the result after shifting
98 s32 qm_shl32(s32 op, int shift) in qm_shl32() argument
103 if (shift > 31) in qm_shl32()
104 shift = 31; in qm_shl32()
105 else if (shift < -31) in qm_shl32()
106 shift = -31; in qm_shl32()
107 if (shift >= 0) { in qm_shl32()
108 for (i = 0; i < shift; i++) in qm_shl32()
[all …]
/linux/include/drm/
H A Ddrm_fixed.h106 unsigned shift, sign = (a >> 63) & 1; in drm_fixp_msbset() local
108 for (shift = 62; shift > 0; --shift) in drm_fixp_msbset()
109 if (((a >> shift) & 1) != sign) in drm_fixp_msbset()
110 return shift; in drm_fixp_msbset()
117 unsigned shift = drm_fixp_msbset(a) + drm_fixp_msbset(b); in drm_fixp_mul() local
120 if (shift > 61) { in drm_fixp_mul()
121 shift = shift - 61; in drm_fixp_mul()
122 a >>= (shift >> 1) + (shift & 1); in drm_fixp_mul()
123 b >>= shift >> 1; in drm_fixp_mul()
125 shift = 0; in drm_fixp_mul()
[all …]
/linux/arch/mips/kernel/
H A Dcmpxchg.c14 unsigned int shift; in __xchg_small() local
24 * Calculate a shift & mask that correspond to the value we wish to in __xchg_small()
28 shift = (unsigned long)ptr & 0x3; in __xchg_small()
30 shift ^= sizeof(u32) - size; in __xchg_small()
31 shift *= BITS_PER_BYTE; in __xchg_small()
32 mask <<= shift; in __xchg_small()
43 new32 = (load32 & ~mask) | (val << shift); in __xchg_small()
47 return (load32 & mask) >> shift; in __xchg_small()
55 unsigned int shift; in __cmpxchg_small() local
66 * Calculate a shift & mask that correspond to the value we wish to in __cmpxchg_small()
[all …]
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dhw_stats_l3.sh25 local n=$1; shift
53 local n=$1; shift
61 local n=$1; shift
62 local ns=$1; shift
75 local n=$1; shift
82 local action=$1; shift
83 local instance=$1; shift
84 local netdev=$1; shift
85 local type=$1; shift
146 local netdev=$1; shift
[all …]
/linux/drivers/md/persistent-data/
H A Ddm-btree-remove.c60 static void node_shift(struct btree_node *n, int shift) in node_shift() argument
65 if (shift < 0) { in node_shift()
66 shift = -shift; in node_shift()
67 BUG_ON(shift > nr_entries); in node_shift()
68 BUG_ON((void *) key_ptr(n, shift) >= value_ptr(n, shift)); in node_shift()
70 key_ptr(n, shift), in node_shift()
71 (nr_entries - shift) * sizeof(__le64)); in node_shift()
73 value_ptr(n, shift), in node_shift()
74 (nr_entries - shift) * value_size); in node_shift()
76 BUG_ON(nr_entries + shift > le32_to_cpu(n->header.max_entries)); in node_shift()
[all …]
/linux/drivers/gpio/
H A Dgpio-tangier.c77 u8 shift = offset % 32; in gpio_reg_and_bit() local
79 *bit = shift; in gpio_reg_and_bit()
86 u8 shift; in tng_gpio_get() local
88 gplr = gpio_reg_and_bit(chip, offset, GPLR, &shift); in tng_gpio_get()
90 return !!(readl(gplr) & BIT(shift)); in tng_gpio_get()
97 u8 shift; in tng_gpio_set() local
99 reg = gpio_reg_and_bit(chip, offset, value ? GPSR : GPCR, &shift); in tng_gpio_set()
103 writel(BIT(shift), reg); in tng_gpio_set()
113 u8 shift; in tng_gpio_direction_input() local
115 gpdr = gpio_reg_and_bit(chip, offset, GPDR, &shift); in tng_gpio_direction_input()
[all …]
/linux/arch/arm64/lib/
H A Dinsn.c28 int shift; in aarch64_get_imm_shift_mask() local
33 shift = 0; in aarch64_get_imm_shift_mask()
37 shift = 5; in aarch64_get_imm_shift_mask()
41 shift = 5; in aarch64_get_imm_shift_mask()
45 shift = 5; in aarch64_get_imm_shift_mask()
49 shift = 10; in aarch64_get_imm_shift_mask()
53 shift = 12; in aarch64_get_imm_shift_mask()
57 shift = 15; in aarch64_get_imm_shift_mask()
62 shift = 10; in aarch64_get_imm_shift_mask()
66 shift = 16; in aarch64_get_imm_shift_mask()
[all …]

12345678910>>...108