Home
last modified time | relevance | path

Searched refs:src1 (Results 1 – 25 of 66) sorted by relevance

123

/linux-6.12.1/drivers/crypto/caam/
Ddesc_constr.h416 #define append_math_add(desc, dest, src0, src1, len) \ argument
417 APPEND_MATH(ADD, desc, dest, src0, src1, len)
418 #define append_math_sub(desc, dest, src0, src1, len) \ argument
419 APPEND_MATH(SUB, desc, dest, src0, src1, len)
420 #define append_math_add_c(desc, dest, src0, src1, len) \ argument
421 APPEND_MATH(ADDC, desc, dest, src0, src1, len)
422 #define append_math_sub_b(desc, dest, src0, src1, len) \ argument
423 APPEND_MATH(SUBB, desc, dest, src0, src1, len)
424 #define append_math_and(desc, dest, src0, src1, len) \ argument
425 APPEND_MATH(AND, desc, dest, src0, src1, len)
[all …]
/linux-6.12.1/lib/crypto/
Dutils.c17 void __crypto_xor(u8 *dst, const u8 *src1, const u8 *src2, unsigned int len) in __crypto_xor() argument
23 int d = (((unsigned long)dst ^ (unsigned long)src1) | in __crypto_xor()
36 *dst++ = *src1++ ^ *src2++; in __crypto_xor()
43 u64 l = get_unaligned((u64 *)src1) ^ in __crypto_xor()
47 *(u64 *)dst = *(u64 *)src1 ^ *(u64 *)src2; in __crypto_xor()
50 src1 += 8; in __crypto_xor()
57 u32 l = get_unaligned((u32 *)src1) ^ in __crypto_xor()
61 *(u32 *)dst = *(u32 *)src1 ^ *(u32 *)src2; in __crypto_xor()
64 src1 += 4; in __crypto_xor()
71 u16 l = get_unaligned((u16 *)src1) ^ in __crypto_xor()
[all …]
/linux-6.12.1/arch/powerpc/include/asm/
Dkvm_fpu.h14 extern void fps_fres(u64 *fpscr, u32 *dst, u32 *src1);
15 extern void fps_frsqrte(u64 *fpscr, u32 *dst, u32 *src1);
16 extern void fps_fsqrts(u64 *fpscr, u32 *dst, u32 *src1);
18 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,
[all …]
/linux-6.12.1/tools/include/linux/
Dbitmap.h73 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
77 *dst = *src1 | *src2; in bitmap_or()
79 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
117 static inline bool bitmap_and(unsigned long *dst, const unsigned long *src1, 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()
132 static inline bool bitmap_equal(const unsigned long *src1, 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()
140 return __bitmap_equal(src1, src2, nbits); in bitmap_equal()
[all …]
/linux-6.12.1/include/linux/
Dbitmap.h152 bool __pure __bitmap_or_equal(const unsigned long *src1,
322 bool bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument
326 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and()
327 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and()
331 void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument
335 *dst = *src1 | *src2; in bitmap_or()
337 __bitmap_or(dst, src1, src2, nbits); in bitmap_or()
341 void bitmap_xor(unsigned long *dst, const unsigned long *src1, in bitmap_xor() argument
345 *dst = *src1 ^ *src2; in bitmap_xor()
347 __bitmap_xor(dst, src1, src2, nbits); in bitmap_xor()
[all …]
Dlinkmode.h41 const unsigned long *src1, in linkmode_andnot() argument
44 return bitmap_andnot(dst, src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_andnot()
61 static inline int linkmode_equal(const unsigned long *src1, in linkmode_equal() argument
64 return bitmap_equal(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_equal()
67 static inline int linkmode_intersects(const unsigned long *src1, in linkmode_intersects() argument
70 return bitmap_intersects(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_intersects()
73 static inline int linkmode_subset(const unsigned long *src1, in linkmode_subset() argument
76 return bitmap_subset(src1, src2, __ETHTOOL_LINK_MODE_MASK_NBITS); in linkmode_subset()
Dnodemask.h162 #define nodes_and(dst, src1, src2) \ argument
163 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES)
170 #define nodes_or(dst, src1, src2) \ argument
171 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES)
178 #define nodes_xor(dst, src1, src2) \ argument
179 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES)
186 #define nodes_andnot(dst, src1, src2) \ argument
187 __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES)
202 #define nodes_equal(src1, src2) \ argument
203 __nodes_equal(&(src1), &(src2), MAX_NUMNODES)
[all …]
/linux-6.12.1/arch/arm64/lib/
Dstrcmp.S23 #define src1 x0 macro
57 sub off2, src2, src1
59 and tmp, src1, 7
67 ldr data2, [src1, off2]
68 ldr data1, [src1], 8
111 bic src1, src1, 7
112 ldr data2, [src1, off2]
113 ldr data1, [src1], 8
126 ldrb data1w, [src1], 1
131 tst src1, 7
[all …]
Dmemcmp.S20 #define src1 x0 macro
39 ldr data1, [src1], 8
47 ldr data1, [src1, limit]
52 ldr data1, [src1], 8
68 and tmp1, src1, 15
70 sub src1, src1, tmp1
78 ldp data1, data1h, [src1], 16
94 add src1, src1, limit
96 ldp data1, data1h, [src1]
121 ldr data1w, [src1], 4
[all …]
Dstrncmp.S24 #define src1 x0 macro
63 eor tmp1, src1, src2
66 and count, src1, #7
75 ldr data1, [src1], #8
164 bic src1, src1, #7
166 ldr data1, [src1], #8
186 ldrb data1w, [src1], #1
205 ldrb data1w, [src1], #1
237 ldr data1, [src1], #8
258 ldr data1, [src1], #8
[all …]
/linux-6.12.1/kernel/bpf/
Dcpumask.c139 __bpf_kfunc u32 bpf_cpumask_first_and(const struct cpumask *src1, in bpf_cpumask_first_and() argument
142 return cpumask_first_and(src1, src2); in bpf_cpumask_first_and()
254 const struct cpumask *src1, in bpf_cpumask_and() argument
257 return cpumask_and((struct cpumask *)dst, src1, src2); in bpf_cpumask_and()
269 const struct cpumask *src1, in bpf_cpumask_or() argument
272 cpumask_or((struct cpumask *)dst, src1, src2); in bpf_cpumask_or()
284 const struct cpumask *src1, in bpf_cpumask_xor() argument
287 cpumask_xor((struct cpumask *)dst, src1, src2); in bpf_cpumask_xor()
301 __bpf_kfunc bool bpf_cpumask_equal(const struct cpumask *src1, const struct cpumask *src2) in bpf_cpumask_equal() argument
303 return cpumask_equal(src1, src2); in bpf_cpumask_equal()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dcpumask_common.h36 u32 bpf_cpumask_first_and(const struct cpumask *src1,
46 const struct cpumask *src1,
49 const struct cpumask *src1,
52 const struct cpumask *src1,
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;
61 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1,
/linux-6.12.1/arch/arc/kernel/
Ddisasm.c113 state->src1 = state->words[1]; in disasm_instr()
115 state->src1 = get_reg(state->wb_reg, regs, cregs); in disasm_instr()
129 state->src1 = FIELD_C(state->words[0]); in disasm_instr()
130 if (state->src1 == REG_LIMM) { in disasm_instr()
132 state->src1 = state->words[1]; in disasm_instr()
134 state->src1 = get_reg(state->src1, regs, cregs); in disasm_instr()
219 state->src1 = state->words[1]; in disasm_instr()
221 state->src1 = get_reg(state->wb_reg, regs, in disasm_instr()
285 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr()
328 state->src1 = get_reg(FIELD_S_B(state->words[0]), regs, cregs); in disasm_instr()
[all …]
Dunaligned.c140 set_reg(state->wb_reg, state->src1 + state->src2, regs, cregs); 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()
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-6.12.1/arch/m68k/math-emu/
Dmulti_arith.h116 static inline void fp_submant(struct fp_ext *dest, struct fp_ext *src1, 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
139 : "d" (src1), "0" (dest1)); \
167 static inline void fp_multiplymant(union fp_mant128 *dest, struct fp_ext *src1, 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 …]
/linux-6.12.1/arch/xtensa/lib/
Dumulsidi3.S199 .macro mul_mulsi3_body dst, src1, src2, tmp1, tmp2
202 extui \tmp2, \src1, 0, 1
206 extui \tmp2, \src1, 1, 1
210 extui \tmp2, \src1, 2, 1
214 extui \tmp2, \src1, 3, 1
217 srli \src1, \src1, 4
219 bnez \src1, 1b
/linux-6.12.1/include/crypto/
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
42 unsigned long *s1 = (unsigned long *)src1; in crypto_xor_cpy()
52 __crypto_xor(dst, src1, src2, size); in crypto_xor_cpy()
/linux-6.12.1/tools/testing/selftests/net/
Dtest_vxlan_mdb.sh539 local src1=$1; shift
548 … add dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
552 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010"
555 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
559 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010"
566 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010"
574 …lace dev vx0 port vx0 grp $grp permanent filter_mode include source_list $src1 dst $vtep_ip src_vn…
577 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010"
579 run_cmd "bridge -n $ns1 -d -s mdb get dev vx0 grp $grp src $src1 src_vni 10010 | grep blocked"
582 …lace dev vx0 port vx0 grp $grp permanent filter_mode exclude source_list $src1 dst $vtep_ip src_vn…
[all …]
/linux-6.12.1/tools/testing/selftests/net/forwarding/
Dbridge_mdb.sh292 local src1=${src_prefix}1
307 source_list $src1
310 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
315 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 &> /dev/null
322 filter_mode exclude source_list $src1
326 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | \
340 filter_mode exclude source_list $src1
344 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
357 filter_mode include source_list $src1
361 bridge -d mdb get dev br0 grp $grp src $src1 vid 10 | grep -q "temp"
[all …]
/linux-6.12.1/arch/sparc/kernel/
Dvisemul.c603 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; in pmul() local
605 u32 prod = src1 * src2; in pmul()
629 u16 src1 = (rs1 >> (byte * 8)) & 0x00ff; in pmul() local
630 u32 prod = src1 * src2; in pmul()
653 u16 src1; in pmul() local
658 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); in pmul()
660 prod = src1 * src2; in pmul()
683 u16 src1; in pmul() local
688 src1 = ((rs1 >> ((16 * byte) + ushift)) & 0x00ff); in pmul()
690 prod = src1 * src2; in pmul()
/linux-6.12.1/tools/sched_ext/include/scx/
Dcommon.bpf.h303 bool bpf_cpumask_and(struct bpf_cpumask *dst, const struct cpumask *src1,
305 void bpf_cpumask_or(struct bpf_cpumask *dst, const struct cpumask *src1,
307 void bpf_cpumask_xor(struct bpf_cpumask *dst, const struct cpumask *src1,
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;
316 u32 bpf_cpumask_any_and_distribute(const struct cpumask *src1,
/linux-6.12.1/arch/mips/alchemy/common/
Ddbdma.c395 u32 cmd0, cmd1, src1, dest1; in au1xxx_dbdma_ring_alloc() local
446 cmd0 = cmd1 = src1 = dest1 = 0; in au1xxx_dbdma_ring_alloc()
502 src1 |= DSCR_SRC1_STS(DSCR_xTS_SIZE1); in au1xxx_dbdma_ring_alloc()
505 src1 |= DSCR_SRC1_STS(DSCR_xTS_SIZE2); in au1xxx_dbdma_ring_alloc()
508 src1 |= DSCR_SRC1_STS(DSCR_xTS_SIZE4); in au1xxx_dbdma_ring_alloc()
512 src1 |= DSCR_SRC1_STS(DSCR_xTS_SIZE8); in au1xxx_dbdma_ring_alloc()
519 src1 |= DSCR_SRC1_SAM(DSCR_xAM_BURST); in au1xxx_dbdma_ring_alloc()
521 src1 |= DSCR_SRC1_SAM(DSCR_xAM_STATIC); in au1xxx_dbdma_ring_alloc()
562 src1, dest0, dest1); in au1xxx_dbdma_ring_alloc()
568 dp->dscr_source1 = src1; in au1xxx_dbdma_ring_alloc()
/linux-6.12.1/arch/x86/crypto/
Daes-gcm-aesni-x86_64.S155 .macro _vpclmulqdq imm, src1, src2, dst
157 vpclmulqdq \imm, \src1, \src2, \dst
160 pclmulqdq \imm, \src1, \dst
166 .macro _vpshufb src1, src2, dst
168 vpshufb \src1, \src2, \dst
171 pshufb \src1, \dst
177 .macro _vpand src1, src2, dst
179 vpand \src1, \src2, \dst
181 movdqu \src1, \dst
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dslice.c398 const struct slice_mask *src1, 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()
408 const struct slice_mask *src1, 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-6.12.1/drivers/video/fbdev/
Dvt8623fb.c146 const u8 *src1, *src; in vt8623fb_iplan_imageblit() local
152 src1 = image->data; in vt8623fb_iplan_imageblit()
157 src = src1; in vt8623fb_iplan_imageblit()
164 src1 += image->width / 8; in vt8623fb_iplan_imageblit()
202 const u8 *src1, *src; in vt8623fb_cfb4_imageblit() local
208 src1 = image->data; in vt8623fb_cfb4_imageblit()
213 src = src1; in vt8623fb_cfb4_imageblit()
220 src1 += image->width / 8; in vt8623fb_cfb4_imageblit()

123