Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
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
/linux-6.12.1/arch/mips/kernel/
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-6.12.1/fs/ntfs3/
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-6.12.1/tools/testing/selftests/powerpc/stringloops/
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-6.12.1/arch/s390/lib/
Dstring.c210 int strcmp(const char *s1, const char *s2) in strcmp() argument
223 : [ret] "+&d" (ret), [s1] "+&a" (s1), [s2] "+&a" (s2) in strcmp()
232 const char *s2, unsigned long l2) in clcle() argument
235 union register_pair r3 = { .even = (unsigned long)s2, .odd = l2, }; in clcle()
255 char *strstr(const char *s1, const char *s2) in strstr() argument
259 l2 = __strend(s2) - s2; in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
312 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument
316 ret = clcle(s1, n, s2, n); in memcmp()
/linux-6.12.1/arch/loongarch/kernel/
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-6.12.1/arch/sparc/include/asm/
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-6.12.1/arch/x86/boot/
Dstring.c32 int memcmp(const void *s1, const void *s2, size_t len) in memcmp() argument
36 : CC_OUT(nz) (diff), "+D" (s1), "+S" (s2), "+c" (len)); in memcmp()
43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument
45 return memcmp(s1, s2, len); in bcmp()
51 const unsigned char *s2 = (const unsigned char *)str2; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
59 s2++; in strcmp()
171 char *strstr(const char *s1, const char *s2) in strstr() argument
175 l2 = strlen(s2); in strstr()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_ordering.c15 struct s2 { struct
16 struct s2 *s2; argument
23 struct s2 s2; argument
/linux-6.12.1/drivers/soc/bcm/brcmstb/pm/
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-6.12.1/include/linux/
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-6.12.1/include/crypto/
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-6.12.1/drivers/thermal/
Dk3_bandgap.c93 unsigned int s2) in vtm_get_best_value() argument
96 int d02 = abs(s0 - s2); in vtm_get_best_value()
97 int d12 = abs(s1 - s2); in vtm_get_best_value()
103 return (s0 + s2) / 2; in vtm_get_best_value()
105 return (s1 + s2) / 2; in vtm_get_best_value()
112 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
129 s2 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
131 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
/linux-6.12.1/tools/perf/tests/
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-6.12.1/arch/arm64/boot/dts/freescale/
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;
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;
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-6.12.1/arch/m68k/include/asm/
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-6.12.1/tools/testing/selftests/net/netfilter/
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-6.12.1/lib/
Drandom32.c56 state->s2 = TAUSWORTHE(state->s2, 2U, 27U, 4294967288U, 2U); in prandom_u32_state()
60 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
120 state->s2 = __seed(seeds[1], 8U); in prandom_seed_full_state()
252 state->s2 = __seed(LCG(state->s1), 8U); in prandom_state_selftest_seed()
253 state->s3 = __seed(LCG(state->s2), 16U); in prandom_state_selftest_seed()
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()
733 char *strstr(const char *s1, const char *s2) in strstr() argument
737 l2 = strlen(s2); in strstr()
743 if (!memcmp(s1, s2, l2)) in strstr()
759 char *strnstr(const char *s1, const char *s2, size_t len) in strnstr() argument
763 l2 = strlen(s2); in strnstr()
768 if (!memcmp(s1, s2, l2)) in strnstr()
/linux-6.12.1/tools/testing/selftests/drivers/net/hw/
Dpp_alloc_fail.py83 s2 = get_stats()
85 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 1:
87 if s2['rx-alloc-fail'] - s1['rx-alloc-fail'] < 100:
88 … raise KsftSkipEx("Allocation increasing too slowly", s2['rx-alloc-fail'] - s1['rx-alloc-fail'],
89 "packets:", s2['rx-packets'] - s1['rx-packets'])
/linux-6.12.1/net/dccp/ccids/lib/
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-6.12.1/arch/riscv/kernel/
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-6.12.1/fs/unicode/
Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument
29 if (utf8ncursor(&cur2, um, UTF8_NFDI, s2->name, s2->len) < 0) in utf8_strncmp()
47 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument
55 if (utf8ncursor(&cur2, um, UTF8_NFDICF, s2->name, s2->len) < 0) in utf8_strncasecmp()

12345678910>>...14