Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 260) sorted by relevance

1234567891011

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgfx_v9_4_3_cleaner_shader.asm60 s_mov_b32 s2, 0x00000078 // Loop 128/8=16 times (loop unrolled for performance)
64 s_set_gpr_idx_on s2, 0x8 // enable Dest VGPR indexing
74 s_sub_u32 s2, s2, 8
75 s_set_gpr_idx_idx s2
82 s_mov_b32 s2, 0x80000000 // Bit31 is first_wave
83 …s_and_b32 s2, s2, s1 // sgpr0 has tg_size (first_wave) term as in uco…
92 s_mov_b32 s2, 0x00000003f // 64 loop iteraions
101 s_sub_u32 s2, s2, 1
112 s_movreld_b32 s2, 0
141 s_movreld_b32 s2, 0
H A Dgfx_v10_3_0_cleaner_shader.asm54 s_mov_b32 s2, 0x00000038 // Loop 64/8=8 times (loop unrolled for performance)
68 s_mov_b32 m0, s2
69 s_sub_u32 s2, s2, 8
72 s_mov_b32 s2, 0x80000000 // Bit31 is first_wave
73 …s_and_b32 s2, s2, s0 // sgpr0 has tg_size (first_wave) term a…
82 s_mov_b32 s2, 0x00000003f // 64 loop iterations
91 s_sub_u32 s2, s2, 1
102 s_movreld_b32 s2, 0
/linux/arch/mips/kernel/
H A Drelocate_kernel.S26 PTR_L s2, (s0)
33 beqz s2, done
36 and s3, s2, 0x1
38 and s4, s2, ~0x1 /* store destination addr in s4 */
43 and s3, s2, 0x2
45 and s0, s2, ~0x2
50 and s3, s2, 0x4
55 and s3, s2, 0x8
57 and s2, s2, ~0x8
62 REG_L s5, (s2)
[all …]
/linux/fs/ntfs3/
H A Dupcase.c36 int ntfs_cmp_names(const __le16 *s1, size_t l1, const __le16 *s2, size_t l2, in ntfs_cmp_names() argument
46 for (; len; s1++, s2++, len--) { in ntfs_cmp_names()
47 diff1 = le16_to_cpu(*s1) - le16_to_cpu(*s2); in ntfs_cmp_names()
58 for (; len; s1++, s2++, len--) { in ntfs_cmp_names()
60 upcase_unicode_char(upcase, le16_to_cpu(*s2)); in ntfs_cmp_names()
73 const __le16 *s2 = uni2->name; in ntfs_cmp_names_cpu() local
83 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu()
84 diff1 = *s1 - le16_to_cpu(*s2); in ntfs_cmp_names_cpu()
95 for (; len; s1++, s2++, len--) { in ntfs_cmp_names_cpu()
97 upcase_unicode_char(upcase, le16_to_cpu(*s2)); in ntfs_cmp_names_cpu()
/linux/tools/testing/selftests/powerpc/stringloops/
H A Dmemcmp.c34 int test_memcmp(const void *s1, const void *s2, size_t n);
37 static void test_one(char *s1, char *s2, unsigned long max_offset, in test_one() argument
47 y = memcmp(s1+offset, s2+offset, size); in test_one()
48 x = test_memcmp(s1+offset, s2+offset, size); in test_one()
59 printf("%02x ", s2[i]); in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
90 s2 = p + 3 * MAP_SIZE - alloc_size; in testcase()
102 char *rand_s2 = s2; in testcase()
128 char *rand_s2 = s2; in testcase()
[all …]
/linux/arch/loongarch/kernel/
H A Drelocate_kernel.S39 andi s2, s1, IND_DESTINATION
40 beqz s2, 1f
47 andi s2, s1, IND_INDIRECTION
48 beqz s2, 1f
55 andi s2, s1, IND_DONE
56 beqz s2, 1f
61 andi s2, s1, IND_SOURCE
62 beqz s2, process_entry
/linux/arch/sparc/include/asm/
H A Dprom.h24 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument
25 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument
26 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c15 struct s2 { struct
16 struct s2 *s2; argument
23 struct s2 s2; argument
/linux/drivers/soc/bcm/brcmstb/pm/
H A Ds2-mips.S26 sw s2, 12(sp)
46 lw s2, 8(t0)
112 sw t0, TIMER_TIMER1_CTRL(s2)
113 lw t0, TIMER_TIMER1_CTRL(s2)
116 sw t0, TIMER_TIMER1_CTRL(s2)
117 lw t0, TIMER_TIMER1_CTRL(s2)
121 lw t1, TIMER_TIMER1_STAT(s2)
127 1: lw t0, TIMER_TIMER1_STAT(s2)
179 lw s2, 12(sp)
/linux/include/crypto/
H A Daria.h108 static const u32 s2[256] = { variable
347 s2[get_u8(*t0, 1)] ^ in aria_sbox_layer1_with_pre_diff()
351 s2[get_u8(*t1, 1)] ^ in aria_sbox_layer1_with_pre_diff()
355 s2[get_u8(*t2, 1)] ^ in aria_sbox_layer1_with_pre_diff()
359 s2[get_u8(*t3, 1)] ^ in aria_sbox_layer1_with_pre_diff()
371 s2[get_u8(*t0, 3)]; in aria_sbox_layer2_with_pre_diff()
375 s2[get_u8(*t1, 3)]; in aria_sbox_layer2_with_pre_diff()
379 s2[get_u8(*t2, 3)]; in aria_sbox_layer2_with_pre_diff()
383 s2[get_u8(*t3, 3)]; in aria_sbox_layer2_with_pre_diff()
/linux/tools/perf/tests/
H A Dsample-parsing.c21 if (s1->m != s2->m) { \
28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
44 const struct perf_sample *s2, in samples_same() argument
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
121 (FLAG(s2).value == BS_EXPECTED_BE) : in samples_same()
122 (FLAG(s2).value == BS_EXPECTED_LE)); in samples_same()
134 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
135 memcmp(s1->user_regs.regs, s2->user_regs.regs, sz))) { in samples_same()
143 if (memcmp(s1->user_stack.data, s2->user_stack.data, in samples_same()
165 (!s1->intr_regs.regs || !s2->intr_regs.regs || in samples_same()
[all …]
/linux/include/linux/
H A Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
83 unsigned long s2 = (adler >> 16) & 0xffff; in zlib_adler32() local
98 s2 += s1; in zlib_adler32()
101 s2 %= BASE; in zlib_adler32()
103 return (s2 << 16) | s1; in zlib_adler32()
/linux/arch/m68k/include/asm/
H A Duaccess.h190 #define ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
194 " .ifnc \""#s2"\",\"\"\n" \
195 "2: "MOVES"."#s2" (%2)+,%3\n" \
196 " move."#s2" %3,(%1)+\n" \
206 " .ifnc \""#s2"\",\"\"\n" \
217 " .ifnc \""#s2"\",\"\"\n" \
228 #define ___constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)\ argument
229 ____constant_copy_from_user_asm(res, to, from, tmp, n1, n2, n3, s1, s2, s3)
281 #define __constant_copy_to_user_asm(res, to, from, tmp, n, s1, s2, s3) \ argument
285 "12: move."#s2" (%2)+,%3\n" \
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1088a-tqmls1088a-mbls10xxa.dts36 qsgmii-s2-p1 = &qsgmii2_phy1;
37 qsgmii-s2-p2 = &qsgmii2_phy2;
38 qsgmii-s2-p3 = &qsgmii2_phy3;
39 qsgmii-s2-p4 = &qsgmii2_phy4;
41 rgmii-s2 = &rgmii_phy2;
H A Dfsl-ls1043a-tqmls1043a-mbls10xxa.dts26 qsgmii-s2-p1 = &qsgmii2_phy1;
27 qsgmii-s2-p2 = &qsgmii2_phy2;
28 qsgmii-s2-p3 = &qsgmii2_phy3;
29 qsgmii-s2-p4 = &qsgmii2_phy4;
H A Dfsl-ls1046a-tqmls1046a-mbls10xxa.dts25 qsgmii-s2-p1 = &qsgmii2_phy1;
26 qsgmii-s2-p2 = &qsgmii2_phy2;
27 qsgmii-s2-p3 = &qsgmii2_phy3;
28 qsgmii-s2-p4 = &qsgmii2_phy4;
/linux/tools/testing/selftests/net/netfilter/
H A Dconntrack_reverse_clash.c64 int s1, s2, status; in main() local
74 s2 = udp_socket(); in main()
81 if (bind(s2, (struct sockaddr *)&sa2, sizeof(sa2)) < 0) in main()
99 if (recvfrom(s2, buf, LEN, 0, (struct sockaddr *)&peer, &plen) < 0) in main()
105 if (sendto(s2, buf, LEN, 0, (struct sockaddr *)&sa1, sizeof(sa1)) != LEN) in main()
/linux/net/dccp/ccids/lib/
H A Dpacket_history.c167 s2 = DCCP_SKB_CB(skb)->dccpd_seq; in __one_after_loss() local
169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss()
177 if (dccp_loss_free(s0, s2, n2)) { in __one_after_loss()
180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
204 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __two_after_loss() local
207 if (likely(dccp_delta_seqno(s2, s3) > 0)) { /* S2 < S3 */ in __two_after_loss()
234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
272 s2 = tfrc_rx_hist_entry(h, 2)->tfrchrx_seqno, in __three_after_loss() local
277 if (dccp_loss_free(s1, s2, n2)) { in __three_after_loss()
279 if (dccp_loss_free(s2, s3, n3)) { in __three_after_loss()
/linux/arch/riscv/kernel/
H A Dkexec_relocate.S26 mv s2, a2
103 mv a1, s2
115 mv s2, zero
159 mv s2, a3
166 mv a0, s2
179 mv s2, zero
/linux/arch/arm64/crypto/
H A Dsm4-neon-core.S40 #define transpose_4x4(s0, s1, s2, s3) \ argument
42 zip1 RTMP1.4s, s2.4s, s3.4s; \
44 zip2 RTMP3.4s, s2.4s, s3.4s; \
47 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \
50 #define transpose_4x4_2x(s0, s1, s2, s3, s4, s5, s6, s7) \ argument
52 zip1 RTMP1.4s, s2.4s, s3.4s; \
54 zip2 RTMP3.4s, s2.4s, s3.4s; \
61 zip1 s2.2d, RTMP2.2d, RTMP3.2d; \
68 #define rotate_clockwise_4x4(s0, s1, s2, s3) \ argument
71 zip1 RTMP2.4s, s3.4s, s2.4s; \
[all …]
/linux/lib/
H A Dstring.c40 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
50 c2 = *s2++; in strncasecmp()
66 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
72 c2 = tolower(*s2++); in strcasecmp()
744 char *strstr(const char *s1, const char *s2) in strstr() argument
748 l2 = strlen(s2); in strstr()
754 if (!memcmp(s1, s2, l2)) in strstr()
770 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
774 l2 = strlen(s2); in strnstr()
779 if (!memcmp(s1, s2, l2)) in strnstr()
/linux/arch/powerpc/boot/
H A Dstring.h11 extern int strcmp(const char *s1, const char *s2);
12 extern int strncmp(const char *s1, const char *s2, size_t n);
20 extern int memcmp(const void *s1, const void *s2, size_t n);
/linux/arch/x86/crypto/
H A Dtwofish-x86_64-asm_64.S22 #define s2 2048 /* S2 Array */ macro
70 mov s2(%r11,%rdi,4),%r9d;\
73 xor s2(%r11,%rdi,4),%r8d;\
108 mov s2(%r11,%rdi,4),%r9d;\
111 xor s2(%r11,%rdi,4),%r8d;\
151 xor s2(%r11,%rdi,4),%r9d;\
158 xor s2(%r11,%rdi,4),%r8d;\
192 xor s2(%r11,%rdi,4),%r9d;\
194 xor s2(%r11,%rdi,4),%r8d;\
H A Dtwofish-i586-asm_32.S28 #define s2 2048 /* S2 Array */ macro
72 mov s2(%ebp,%edi,4),%esi;\
75 xor s2(%ebp,%edi,4),d ## D;\
110 mov s2(%ebp,%edi,4),%esi;\
113 xor s2(%ebp,%edi,4),d ## D;\
155 xor s2(%ebp,%edi,4),c ## D;\
162 xor s2(%ebp,%edi,4),%esi;\
193 xor s2(%ebp,%edi,4),c ## D;\
200 xor s2(%ebp,%edi,4),%esi;\
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_abm.c94 uint32_t s2; in dmcu_set_backlight_level() local
124 s2 = REG_READ(BIOS_SCRATCH_2); in dmcu_set_backlight_level()
126 s2 &= ~ATOM_S2_CURRENT_BL_LEVEL_MASK; in dmcu_set_backlight_level()
129 s2 |= (backlight_8_bit << ATOM_S2_CURRENT_BL_LEVEL_SHIFT); in dmcu_set_backlight_level()
131 REG_WRITE(BIOS_SCRATCH_2, s2); in dmcu_set_backlight_level()

1234567891011