Home
last modified time | relevance | path

Searched refs:s1 (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/Linux-v6.6/arch/ia64/lib/
Didiv64.S29 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
30 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
34 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
51 frcpa.s1 f11, p6 = f8, f9 // y0 = frcpa(b)
53 (p6) fmpy.s1 f7 = f8, f11 // q0 = a*y0
54 (p6) fnma.s1 f6 = f9, f11, f1 // e0 = -b*y0 + 1
56 (p6) fma.s1 f10 = f7, f6, f7 // q1 = q0*e0 + q0
57 (p6) fmpy.s1 f7 = f6, f6 // e1 = e0*e0
62 (p6) fma.s1 f10 = f10, f7, f10 // q2 = q1*e1 + q1
63 (p6) fma.s1 f6 = f11, f6, f11 // y1 = y0*e0 + y0
[all …]
Didiv32.S30 # define INT_TO_FP(a,b) fcvt.xuf.s1 a=b
31 # define FP_TO_INT(a,b) fcvt.fxu.trunc.s1 a=b
36 # define FP_TO_INT(a,b) fcvt.fx.trunc.s1 a=b
61 frcpa.s1 f6, p6 = f8, f9 // y0 = frcpa(b)
63 (p6) fmpy.s1 f8 = f8, f6 // q0 = a*y0
64 (p6) fnma.s1 f6 = f9, f6, f1 // e0 = -b*y0 + 1
69 (p6) fma.s1 f8 = f6, f8, f8 // q1 = e0*q0 + q0
70 (p6) fma.s1 f6 = f6, f6, f7 // e1 = e0*e0 + 2^-34
75 (p6) fma.s1 f6 = f6, f8, f8 // q2 = e1*q1 + q1
Dxor.S33 .rotr s1[6+1], s2[6+1], d[2]
36 (p[0]) ld8.nta s1[0] = [r16], 8
38 (p[6]) xor d[0] = s1[6], s2[6]
72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2]
75 (p[0]) ld8.nta s1[0] = [r16], 8
77 (p[6]) xor d[0] = s1[6], s2[6]
114 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], d[2]
117 (p[0]) ld8.nta s1[0] = [r16], 8
119 (p[6]) xor d[0] = s1[6], s2[6]
159 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2]
[all …]
/Linux-v6.6/arch/loongarch/kernel/
Drelocate_kernel.S34 PTR_L s1, s0, 0
38 andi s2, s1, IND_DESTINATION
41 and s3, s1, t0 /* store destination addr in s3 */
46 andi s2, s1, IND_INDIRECTION
49 and s0, s1, t0
54 andi s2, s1, IND_DONE
60 andi s2, s1, IND_SOURCE
63 and s1, s1, t0
68 REG_L s4, s1, 0
71 PTR_ADDI s1, s1, SZREG
/Linux-v6.6/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()
231 static inline int clcle(const char *s1, unsigned long l1, in clcle() argument
234 union register_pair r1 = { .even = (unsigned long)s1, .odd = l1, }; in clcle()
255 char *strstr(const char *s1, const char *s2) in strstr() argument
261 return (char *) s1; in strstr()
262 l1 = __strend(s1) - s1; in strstr()
266 cc = clcle(s1, l2, s2, l2); in strstr()
268 return (char *) s1; in strstr()
269 s1++; in strstr()
[all …]
/Linux-v6.6/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()
59 diff2 = upcase_unicode_char(upcase, le16_to_cpu(*s1)) - in ntfs_cmp_names()
72 const u16 *s1 = uni1->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()
96 diff2 = upcase_unicode_char(upcase, *s1) - in ntfs_cmp_names_cpu()
/Linux-v6.6/tools/perf/tests/
Dsample-parsing.c21 if (s1->m != s2->m) { \
28 if (memcmp(&s1->m, &s2->m, sizeof(s1->m))) { \
43 static bool samples_same(const struct perf_sample *s1, in samples_same() argument
89 for (i = 0; i < s1->read.group.nr; i++) { in samples_same()
103 for (i = 0; i < s1->callchain->nr; i++) in samples_same()
109 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same()
118 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same()
129 size_t sz = hweight_long(s1->user_regs.mask) * sizeof(u64); in samples_same()
133 if (s1->user_regs.abi && in samples_same()
134 (!s1->user_regs.regs || !s2->user_regs.regs || in samples_same()
[all …]
/Linux-v6.6/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()
55 printf("%02x ", s1[i]); in test_one()
66 offset, size, s1, s2, vmx_count); in test_one()
77 char *p, *s1, *s2; in testcase() local
89 s1 = p + MAP_SIZE - alloc_size; in testcase()
101 char *rand_s1 = s1; in testcase()
105 s1[j] = random(); in testcase()
[all …]
/Linux-v6.6/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()
50 const unsigned char *s1 = (const unsigned char *)str1; in strcmp() local
54 while (*s1 || *s2) { in strcmp()
55 delta = *s1 - *s2; in strcmp()
58 s1++; in strcmp()
171 char *strstr(const char *s1, const char *s2) in strstr() argument
177 return (char *)s1; in strstr()
[all …]
/Linux-v6.6/include/linux/
Dzutil.h57 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;}
82 unsigned long s1 = adler & 0xffff; in zlib_adler32() local
97 s1 += *buf++; in zlib_adler32()
98 s2 += s1; in zlib_adler32()
100 s1 %= BASE; in zlib_adler32()
103 return (s2 << 16) | s1; in zlib_adler32()
/Linux-v6.6/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-v6.6/arch/arm64/kernel/pi/
Dkaslr_early.c19 static char *__strstr(const char *s1, const char *s2) in __strstr() argument
25 return (char *)s1; in __strstr()
26 l1 = strlen(s1); in __strstr()
29 if (!memcmp(s1, s2, l2)) in __strstr()
30 return (char *)s1; in __strstr()
31 s1++; in __strstr()
/Linux-v6.6/tools/testing/selftests/bpf/progs/
Dbtf_dump_test_case_ordering.c9 struct s1 {}; struct
22 struct s1 s1; member
27 struct s1 s1; member
/Linux-v6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ampere-mtmitchell.dts75 channels = "s0", "s1";
85 channels = "s0", "s1";
95 channels = "s0", "s1";
105 channels = "s0", "s1";
115 channels = "s0", "s1";
125 channels = "s0", "s1";
135 channels = "s0", "s1";
145 channels = "s0", "s1";
155 channels = "s0", "s1";
165 channels = "s0", "s1";
[all …]
/Linux-v6.6/drivers/firmware/efi/libstub/
Dstring.c50 char *strstr(const char *s1, const char *s2) in strstr() argument
56 return (char *)s1; in strstr()
57 l1 = strlen(s1); in strstr()
60 if (!memcmp(s1, s2, l2)) in strstr()
61 return (char *)s1; in strstr()
62 s1++; in strstr()
/Linux-v6.6/fs/unicode/
Dutf8-core.c21 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument
26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp()
47 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument
52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp()
77 const struct qstr *s1) in utf8_strncasecmp_folded() argument
83 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
/Linux-v6.6/lib/
Dtest-string_helpers.c122 struct test_string_1 s1[TEST_STRING_2_MAX_S1]; member
128 .s1 = {{
142 .s1 = {{
156 .s1 = {{
207 .s1 = {{
226 .s1 = {{
252 .s1 = {{
269 .s1 = {{
277 .s1 = {{
318 .s1 = {{
[all …]
Dstring.c39 int strncasecmp(const char *s1, const char *s2, size_t len) in strncasecmp() argument
48 c1 = *s1++; in strncasecmp()
65 int strcasecmp(const char *s1, const char *s2) in strcasecmp() argument
70 c1 = tolower(*s1++); in strcasecmp()
749 char *strstr(const char *s1, const char *s2) in strstr() argument
755 return (char *)s1; in strstr()
756 l1 = strlen(s1); in strstr()
759 if (!memcmp(s1, s2, l2)) in strstr()
760 return (char *)s1; in strstr()
761 s1++; in strstr()
[all …]
Drandom32.c55 state->s1 = TAUSWORTHE(state->s1, 6U, 13U, 4294967294U, 18U); in prandom_u32_state()
60 return (state->s1 ^ state->s2 ^ state->s3 ^ state->s4); in prandom_u32_state()
119 state->s1 = __seed(seeds[0], 2U); in prandom_seed_full_state()
251 state->s1 = __seed(LCG(seed), 2U); in prandom_state_selftest_seed()
252 state->s2 = __seed(LCG(state->s1), 8U); in prandom_state_selftest_seed()
/Linux-v6.6/arch/arm64/crypto/
Dpoly1305-armv8.pl47 my ($h0,$h1,$h2,$r0,$r1,$s1,$t0,$t1,$d0,$d1,$d2) = map("x$_",(4..14));
78 mov $s1,#0xfffffffc0fffffff
79 movk $s1,#0x0fff,lsl#48
84 and $r0,$r0,$s1 // &=0ffffffc0fffffff
85 and $s1,$s1,#-4
86 and $r1,$r1,$s1 // &=0ffffffc0ffffffc
87 mov w#$s1,#-1
89 str w#$s1,[$ctx,#48] // impossible key power value
146 add $s1,$r1,$r1,lsr#2 // s1 = r1 + (r1 >> 2)
165 mul $t0,$h1,$s1 // h1*5*r1
[all …]
/Linux-v6.6/include/crypto/
Daria.h41 static const u32 s1[256] = { variable
346 *t0 = s1[get_u8(*t0, 0)] ^ in aria_sbox_layer1_with_pre_diff()
350 *t1 = s1[get_u8(*t1, 0)] ^ in aria_sbox_layer1_with_pre_diff()
354 *t2 = s1[get_u8(*t2, 0)] ^ in aria_sbox_layer1_with_pre_diff()
358 *t3 = s1[get_u8(*t3, 0)] ^ in aria_sbox_layer1_with_pre_diff()
370 s1[get_u8(*t0, 2)] ^ in aria_sbox_layer2_with_pre_diff()
374 s1[get_u8(*t1, 2)] ^ in aria_sbox_layer2_with_pre_diff()
378 s1[get_u8(*t2, 2)] ^ in aria_sbox_layer2_with_pre_diff()
382 s1[get_u8(*t3, 2)] ^ in aria_sbox_layer2_with_pre_diff()
/Linux-v6.6/drivers/thermal/
Dk3_bandgap.c93 static unsigned int vtm_get_best_value(unsigned int s0, unsigned int s1, in vtm_get_best_value() argument
96 int d01 = abs(s0 - s1); in vtm_get_best_value()
98 int d12 = abs(s1 - s2); in vtm_get_best_value()
101 return (s0 + s1) / 2; in vtm_get_best_value()
106 return (s1 + s2) / 2; in vtm_get_best_value()
113 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local
128 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp()
132 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
/Linux-v6.6/drivers/pwm/
Dcore.c390 struct pwm_state s1 = { 0 }, s2 = { 0 }; in pwm_apply_state_debug() local
405 err = chip->ops->get_state(chip, pwm, &s1); in pwm_apply_state_debug()
406 trace_pwm_get(pwm, &s1, err); in pwm_apply_state_debug()
416 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_state_debug()
418 s2.duty_cycle = s1.period - s1.duty_cycle; in pwm_apply_state_debug()
419 s2.period = s1.period; in pwm_apply_state_debug()
420 s2.enabled = s1.enabled; in pwm_apply_state_debug()
422 s2 = s1; in pwm_apply_state_debug()
464 err = chip->ops->apply(chip, pwm, &s1); in pwm_apply_state_debug()
465 trace_pwm_apply(pwm, &s1, err); in pwm_apply_state_debug()
[all …]
/Linux-v6.6/net/dccp/ccids/lib/
Dpacket_history.c155 s1 = DCCP_SKB_CB(skb)->dccpd_seq; in __do_track_loss() local
157 if (!dccp_loss_free(s0, s1, n1)) { /* gap between S0 and S1 */ in __do_track_loss()
166 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __one_after_loss() local
169 if (likely(dccp_delta_seqno(s1, s2) > 0)) { /* S1 < S2 */ in __one_after_loss()
180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss()
203 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __two_after_loss() local
215 if (dccp_delta_seqno(s1, s3) > 0) { /* S1 < S3 < S2 */ in __two_after_loss()
230 if (dccp_loss_free(s3, s1, n1)) { in __two_after_loss()
234 if (dccp_loss_free(s1, s2, n2)) { in __two_after_loss()
271 u64 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __three_after_loss() local
[all …]
/Linux-v6.6/include/ufs/
Dufs_quirks.h10 #define STR_PRFX_EQUAL(s1, s2) !strncmp(s1, s2, strlen(s1)) argument

12345678910>>...15