Home
last modified time | relevance | path

Searched full:src2 (Results 1 – 25 of 91) sorted by relevance

1234

/linux/kernel/bpf/
H A Dcpumask.c134 * @src2: The second cpumask.
137 * struct bpf_cpumask pointers may be safely passed to @src1 and @src2.
140 const struct cpumask *src2) in bpf_cpumask_first_and() argument
142 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and()
245 * @src2: The second input.
251 * struct bpf_cpumask pointers may be safely passed to @src1 and @src2.
255 const struct cpumask *src2) in bpf_cpumask_and() argument
257 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
264 * @src2: The second input.
266 * struct bpf_cpumask pointers may be safely passed to @src1 and @src2.
[all …]
/linux/lib/crypto/
H A Dutils.c13 * XOR @len bytes from @src1 and @src2 together, writing the result to @dst
17 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int len) in __crypto_xor() argument
24 ((unsigned long)dst ^ (unsigned long)src2)) & in __crypto_xor()
36 *dst++ = *src1++ ^ *src2++; in __crypto_xor()
44 get_unaligned((u64 *)src2); in __crypto_xor()
47 *(u64 *)dst = *(u64 *)src1 ^ *(u64 *)src2; in __crypto_xor()
51 src2 += 8; in __crypto_xor()
58 get_unaligned((u32 *)src2); in __crypto_xor()
61 *(u32 *)dst = *(u32 *)src1 ^ *(u32 *)src2; in __crypto_xor()
65 src2 += 4; in __crypto_xor()
[all …]
/linux/arch/powerpc/include/asm/
H A Dkvm_fpu.h18 extern void fps_fadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
19 extern void fps_fdivs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
20 extern void fps_fmuls(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
21 extern void fps_fsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2);
23 extern void fps_fmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
25 extern void fps_fmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
27 extern void fps_fnmadds(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
29 extern void fps_fnmsubs(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
31 extern void fps_fsel(u64 *fpscr, u32 *dst, u32 *src1, u32 *src2,
37 u64 *dst, u64 *src1, u64 *src2);
[all …]
/linux/arch/arm64/lib/
H A Dmemcmp.S21 #define src2 x1 macro
40 ldr data2, [src2], 8
48 ldr data2, [src2, limit]
53 ldr data2, [src2], 8
67 /* Align src1 and adjust src2 with bytes not yet done. */
71 sub src2, src2, tmp1
79 ldp data2, data2h, [src2], 16
95 add src2, src2, limit
97 ldp data2, data2h, [src2]
122 ldr data2w, [src2], 4
[all …]
H A Dstrncmp.S25 #define src2 x1 macro
63 eor tmp1, src1, src2
76 ldr data2, [src2], #8
165 bic src2, src2, #7
168 ldr data2, [src2], #8
187 ldrb data2w, [src2], #1
206 ldrb data2w, [src2], #1
218 src2 | x x x x x a a a a a a a a b b b | c c c c c . . .
227 Align SRC2 down to 16 bytes. This way we can read 16 bytes at a
228 time from SRC2. The comparison happens in 3 steps. After each step
[all …]
H A Dstrcmp.S24 #define src2 x1 macro
57 sub off2, src2, src1
114 neg shift, src2, lsl 3 /* Bits to alignment -64. */
123 checking to make sure that we don't access beyond the end of SRC2. */
127 ldrb data2w, [src2], 1
135 neg shift, src2, lsl 3
136 bic src2, src2, 7
137 ldr data3, [src2], 8
148 sub off1, src2, src1
/linux/tools/include/linux/
H A Dbitmap.h74 const unsigned long *src2, unsigned int nbits) in bitmap_or() argument
77 *dst = *src1 | *src2; in bitmap_or()
79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
114 * @src2: operand 2
118 const unsigned long *src2, unsigned int nbits) in bitmap_and() argument
121 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
122 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
133 const unsigned long *src2, unsigned int nbits) in bitmap_equal() argument
136 return !((*src1 ^ *src2) & BITMAP_LAST_WORD_MASK(nbits)); in bitmap_equal()
139 return !memcmp(src1, src2, nbits / 8); in bitmap_equal()
[all …]
/linux/include/linux/
H A Dlinkmode.h42 const unsigned long *src2) in linkmode_andnot() argument
44 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot()
62 const unsigned long *src2) in linkmode_equal() argument
64 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal()
68 const unsigned long *src2) in linkmode_intersects() argument
70 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects()
74 const unsigned long *src2) in linkmode_subset() argument
76 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()
/linux/tools/testing/selftests/bpf/progs/
H A Dcpumask_common.h37 const struct cpumask *src2) __ksym __weak;
47 const struct cpumask *src2) __ksym __weak;
50 const struct cpumask *src2) __ksym __weak;
53 const struct cpumask *src2) __ksym __weak;
54 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak;
55 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak;
56 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym __weak;
62 const struct cpumask *src2) __ksym __weak;
/linux/arch/arc/kernel/
H A Ddisasm.c117 state->src2 = FIELD_s9(state->words[0]); in disasm_instr()
140 state->src2 = state->words[1]; in disasm_instr()
142 state->src2 = get_reg(state->wb_reg, regs, cregs); in disasm_instr()
224 state->src2 = FIELD_C(state->words[0]); in disasm_instr()
225 if (state->src2 == REG_LIMM) { in disasm_instr()
227 state->src2 = state->words[1]; in disasm_instr()
229 state->src2 = get_reg(state->src2, regs, in disasm_instr()
286 state->src2 = get_reg(FIELD_S_C(state->words[0]), regs, cregs); in disasm_instr()
329 state->src2 = FIELD_S_u7(state->words[0]); in disasm_instr()
347 state->src2 = FIELD_S_u6(state->words[0]); in disasm_instr()
[all …]
H A Dunaligned.c140 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); in fixup_load()
143 state->src2 = 0; in fixup_load()
147 get32_unaligned_check(val, state->src1 + state->src2); in fixup_load()
149 get16_unaligned_check(val, state->src1 + state->src2); in fixup_load()
168 set_reg(state->wb_reg, state->src2 + state->src3, regs, cregs); in fixup_store()
174 set_reg(state->wb_reg, state->src2 + (state->src3 << 1), in fixup_store()
177 set_reg(state->wb_reg, state->src2 + (state->src3 << 2), in fixup_store()
186 put32_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store()
188 put16_unaligned_check(state->src1, state->src2 + state->src3); in fixup_store()
/linux/arch/m68k/math-emu/
H A Dmulti_arith.h117 struct fp_ext *src2) in fp_submant() argument
121 : "g,d" (src2->lowmant), "0,0" (src1->lowmant)); in fp_submant()
123 : "d" (src2->mant.m32[1]), "0" (src1->mant.m32[1])); in fp_submant()
125 : "d" (src2->mant.m32[0]), "0" (src1->mant.m32[0])); in fp_submant()
128 #define fp_mul64(desth, destl, src1, src2) ({ \ argument
130 : "dm" (src1), "0" (src2)); \
135 #define fp_add64(dest1, dest2, src1, src2) ({ \ argument
137 : "dm,d" (src2), "0,0" (dest2)); \
168 struct fp_ext *src2) in fp_multiplymant() argument
172 fp_mul64(dest->m32[0], dest->m32[1], src1->mant.m32[0], src2->mant.m32[0]); in fp_multiplymant()
[all …]
H A Dfp_log.c28 struct fp_ext tmp, src2; in fp_fsqrt() local
61 fp_copy_ext(&src2, dest); in fp_fsqrt()
87 fp_copy_ext(&tmp, &src2); in fp_fsqrt()
/linux/arch/xtensa/lib/
H A Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2
201 1: add \tmp1, \src2, \dst
205 do_addx2 \tmp1, \src2, \dst, \tmp1
209 do_addx4 \tmp1, \src2, \dst, \tmp1
213 do_addx8 \tmp1, \src2, \dst, \tmp1
218 slli \src2, \src2, 4
/linux/arch/sparc/kernel/
H A Dvisemul.c55 /* 000101000 - four 16-bit compare; set rd if src1 > src2 */
58 /* 000101100 - two 32-bit compare; set rd if src1 > src2 */
61 /* 000100000 - four 16-bit compare; set rd if src1 <= src2 */
64 /* 000100100 - two 32-bit compare; set rd if src1 <= src2 */
67 /* 000100010 - four 16-bit compare; set rd if src1 != src2 */
70 /* 000100110 - two 32-bit compare; set rd if src1 != src2 */
73 /* 000101010 - four 16-bit compare; set rd if src1 == src2 */
76 /* 000101110 - two 32-bit compare; set rd if src1 == src2 */
604 s16 src2 = (rs2 >> (byte * 16)) & 0xffff; in pmul() local
605 u32 prod = src1 * src2; in pmul()
[all …]
/linux/include/crypto/
H A Dutils.h14 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int size);
35 static inline void crypto_xor_cpy(u8 *dst, const u8 *src1, const u8 *src2, in crypto_xor_cpy() argument
43 unsigned long *s2 = (unsigned long *)src2; in crypto_xor_cpy()
52 __crypto_xor(dst, src1, src2, size); in crypto_xor_cpy()
/linux/arch/sparc/lib/
H A Dxor.S404 ENTRY(xor_niagara_3) /* %o0=bytes, %o1=dest, %o2=src1, %o3=src2 */
417 ldda [%l7 + 0x00] %asi, %g2 /* %g2/%g3 = src2 + 0x00 */
418 ldda [%l7 + 0x10] %asi, %l0 /* %l0/%l1 = src2 + 0x10 */
428 ldda [%l7 + 0x20] %asi, %g2 /* %g2/%g3 = src2 + 0x20 */
437 ldda [%l7 + 0x30] %asi, %l0 /* %l0/%l1 = src2 + 0x30 */
466 ENTRY(xor_niagara_4) /* %o0=bytes, %o1=dest, %o2=src1, %o3=src2, %o4=src3 */
480 ldda [%l7 + 0x00] %asi, %i4 /* %i4/%i5 = src2 + 0x00 */
488 ldda [%l7 + 0x10] %asi, %i4 /* %i4/%i5 = src2 + 0x10 */
501 ldda [%l7 + 0x20] %asi, %i4 /* %i4/%i5 = src2 + 0x20 */
514 ldda [%l7 + 0x30] %asi, %i4 /* %i4/%i5 = src2 + 0x30 */
[all …]
/linux/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-reg.h174 #define BLT_INS_S2_OFF 0x00000000 /* src2 disabled */
175 #define BLT_INS_S2_MEM 0x00000008 /* src2 fetched from memory */
176 #define BLT_INS_S2_CF 0x00000018 /* src2 color fill */
196 #define BLT_ACK_BYPASS_S2S3 0x00000007 /* Bypass src2 and src3 */
/linux/tools/sched_ext/include/scx/
H A Dcommon.bpf.h304 const struct cpumask *src2) __ksym;
306 const struct cpumask *src2) __ksym;
308 const struct cpumask *src2) __ksym;
309 bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) __ksym;
310 bool bpf_cpumask_intersects(const struct cpumask *src1, const struct cpumask *src2) __ksym;
311 bool bpf_cpumask_subset(const struct cpumask *src1, const struct cpumask *src2) __ksym;
317 const struct cpumask *src2) __ksym;
/linux/arch/x86/crypto/
H A Daes-gcm-aesni-x86_64.S155 .macro _vpclmulqdq imm, src1, src2, dst
157 vpclmulqdq \imm, \src1, \src2, \dst
159 movdqa \src2, \dst
166 .macro _vpshufb src1, src2, dst
168 vpshufb \src1, \src2, \dst
170 movdqa \src2, \dst
177 .macro _vpand src1, src2, dst
179 vpand \src1, \src2, \dst
182 pand \src2, \dst
H A Daes-xts-avx-x86_64.S237 .macro _vpxor src1, src2, dst
239 vpxord \src1, \src2, \dst
241 vpxor \src1, \src2, \dst
246 .macro _xor3 src1, src2, src3_and_dst
249 vpternlogd $0x96, \src1, \src2, \src3_and_dst
252 vpxor \src2, \src3_and_dst, \src3_and_dst
/linux/arch/powerpc/mm/book3s64/
H A Dslice.c399 const struct slice_mask *src2) in slice_or_mask() argument
401 dst->low_slices = src1->low_slices | src2->low_slices; in slice_or_mask()
404 bitmap_or(dst->high_slices, src1->high_slices, src2->high_slices, SLICE_NUM_HIGH); in slice_or_mask()
409 const struct slice_mask *src2) in slice_andnot_mask() argument
411 dst->low_slices = src1->low_slices & ~src2->low_slices; in slice_andnot_mask()
414 bitmap_andnot(dst->high_slices, src1->high_slices, src2->high_slices, SLICE_NUM_HIGH); in slice_andnot_mask()
/linux/Documentation/devicetree/bindings/sound/
H A Drenesas,rsnd.txt39 Playback: [MEM] -> [SRC2] -> [DVC0] -> [SSIU0/SSI0] -> [codec]
49 &src2 &ctu02 &ssi2
150 [MEM] -> [SRC2] -> [CTU03] -+
/linux/arch/parisc/math-emu/
H A Dsgl_float.h28 #define Sgl_and_signs( src1dst, src2) \ argument
29 Sall(src1dst) = (Sall(src2)|~((unsigned int)1<<31)) & Sall(src1dst)
30 #define Sgl_or_signs( src1dst, src2) \ argument
31 Sall(src1dst) = (Sall(src2)&((unsigned int)1<<31)) | Sall(src1dst)
/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb.sh293 local src2=${src_prefix}2
467 filter_mode exclude source_list $src1,$src2,$src3
470 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
471 check_err $? "(S, G) entry for source $src2 not created after replace"
479 bridge -d mdb get dev br0 grp $grp src $src2 vid 10 &> /dev/null
480 check_fail $? "(S, G) entry for source $src2 created after second replace"
537 bridge mdb add dev br0 port $swp1 grp $grp src $src2 vid 10
539 source_list $src1,$src2,$src3 &> /dev/null
541 bridge mdb del dev br0 port $swp1 grp $grp src $src2 vid 10

1234