/linux/arch/ia64/lib/ |
A D | idiv64.S | 29 # 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 65 (p6) fma.s1 f6 = f6, f7, f6 // y2 = y1*e1 + y1 66 (p6) fnma.s1 f7 = f9, f10, f8 // r = -b*q2 + a [all …]
|
A D | idiv32.S | 30 # 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
|
A D | xor.S | 33 .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] 162 (p[0]) ld8.nta s1[0] = [r16], 8 [all …]
|
/linux/arch/s390/lib/ |
A D | string.c | 210 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 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() 312 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() argument [all …]
|
/linux/tools/perf/tests/ |
A D | sample-parsing.c | 21 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() 98 for (i = 0; i < s1->callchain->nr; i++) in samples_same() 104 if (memcmp(s1->raw_data, s2->raw_data, s1->raw_size)) { in samples_same() 113 for (i = 0; i < s1->branch_stack->nr; i++) { in samples_same() 128 if (s1->user_regs.abi && in samples_same() 139 s1->user_stack.size)) { in samples_same() 159 if (s1->intr_regs.abi && in samples_same() [all …]
|
/linux/fs/ntfs3/ |
A D | upcase.c | 36 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/tools/testing/selftests/powerpc/stringloops/ |
A D | memcmp.c | 34 int test_memcmp(const void *s1, const void *s2, size_t n); 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() 127 char *rand_s1 = s1; in testcase() [all …]
|
/linux/arch/x86/boot/ |
A D | string.c | 43 int bcmp(const void *s1, const void *s2, size_t len) in bcmp() argument 45 return memcmp(s1, s2, len); in bcmp() 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() 178 l1 = strlen(s1); in strstr() 181 if (!memcmp(s1, s2, l2)) in strstr() 182 return (char *)s1; in strstr() [all …]
|
/linux/include/linux/ |
A D | zutil.h | 57 #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/arch/sparc/include/asm/ |
A D | prom.h | 23 #define of_compat_cmp(s1, s2, l) strncmp((s1), (s2), (l)) argument 24 #define of_prop_cmp(s1, s2) strcasecmp((s1), (s2)) argument 25 #define of_node_cmp(s1, s2) strcmp((s1), (s2)) argument
|
/linux/drivers/firmware/efi/libstub/ |
A D | string.c | 20 char *strstr(const char *s1, const char *s2) in strstr() argument 26 return (char *)s1; in strstr() 27 l1 = strlen(s1); in strstr() 30 if (!memcmp(s1, s2, l2)) in strstr() 31 return (char *)s1; in strstr() 32 s1++; in strstr()
|
/linux/lib/ |
A D | test-string_helpers.c | 128 .s1 = {{ 142 .s1 = {{ 156 .s1 = {{ 207 .s1 = {{ 226 .s1 = {{ 252 .s1 = {{ 269 .s1 = {{ 277 .s1 = {{ 318 .s1 = {{ 386 const struct test_string_1 *s1 = s2->s1; in test_string_find_match() local [all …]
|
A D | string.c | 48 c1 = *s1++; in strncasecmp() 70 c1 = tolower(*s1++); in strcasecmp() 844 return (char *)s1; in strstr() 845 l1 = strlen(s1); in strstr() 848 if (!memcmp(s1, s2, l2)) in strstr() 849 return (char *)s1; in strstr() 850 s1++; in strstr() 870 return (char *)s1; in strnstr() 873 if (!memcmp(s1, s2, l2)) in strnstr() 874 return (char *)s1; in strnstr() [all …]
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | btf_dump_test_case_ordering.c | 9 struct s1 {}; struct 22 struct s1 s1; member 27 struct s1 s1; member
|
/linux/arch/arm64/crypto/ |
A D | poly1305-armv8.pl | 78 mov $s1,#0xfffffffc0fffffff 79 movk $s1,#0x0fff,lsl#48 84 and $r0,$r0,$s1 // &=0ffffffc0fffffff 85 and $s1,$s1,#-4 87 mov w#$s1,#-1 165 mul $t0,$h1,$s1 // h1*5*r1 166 umulh $t1,$h1,$s1 179 mul $t0,$h2,$s1 // h2*5*r1 279 mul $t0,$h1,$s1 // h1*5*r1 280 umulh $t1,$h1,$s1 [all …]
|
/linux/fs/unicode/ |
A D | utf8-core.c | 24 const struct qstr *s1, const struct qstr *s2) in utf8_strncmp() argument 30 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncmp() 51 const struct qstr *s1, const struct qstr *s2) in utf8_strncasecmp() argument 57 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncasecmp() 82 const struct qstr *s1) in utf8_strncasecmp_folded() argument 89 if (utf8ncursor(&cur1, data, s1->name, s1->len) < 0) in utf8_strncasecmp_folded()
|
A D | utf8-selftest.c | 247 const struct qstr s1 = {.name = nfdi_test_data[i].str, in check_utf8_comparisons() local 252 test_f(!utf8_strncmp(table, &s1, &s2), in check_utf8_comparisons() 253 "%s %s comparison mismatch\n", s1.name, s2.name); in check_utf8_comparisons() 257 const struct qstr s1 = {.name = nfdicf_test_data[i].str, in check_utf8_comparisons() local 262 test_f(!utf8_strncasecmp(table, &s1, &s2), in check_utf8_comparisons() 263 "%s %s comparison mismatch\n", s1.name, s2.name); in check_utf8_comparisons()
|
/linux/Documentation/devicetree/bindings/regulator/ |
A D | qcom,smd-rpm-regulator.yaml | 27 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 31 For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 33 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 36 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 40 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, 44 For pm8994, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 48 For pm8998, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, s13, l1, l2, 55 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 57 For pma8084, s1, s2, s3, s4, s5, s6, s7, s8, s9, s10, s11, s12, l1, l2, l3, 61 For pmi8994, s1, s2, s3, boost-bypass [all …]
|
/linux/drivers/thermal/ |
A D | k3_bandgap.c | 91 static unsigned int vtm_get_best_value(unsigned int s0, unsigned int s1, in vtm_get_best_value() argument 94 int d01 = abs(s0 - s1); in vtm_get_best_value() 96 int d12 = abs(s1 - s2); in vtm_get_best_value() 99 return (s0 + s1) / 2; in vtm_get_best_value() 104 return (s1 + s2) / 2; in vtm_get_best_value() 111 unsigned int dtemp, s0, s1, s2; in k3_bgp_read_temp() local 126 s1 = readl(bgp->base + devdata->stat_offset) & in k3_bgp_read_temp() 130 dtemp = vtm_get_best_value(s0, s1, s2); in k3_bgp_read_temp()
|
/linux/drivers/pwm/ |
A D | core.c | 429 struct pwm_state s1, s2; in pwm_apply_state_debug() local 445 trace_pwm_get(pwm, &s1); in pwm_apply_state_debug() 452 if (s1.enabled && s1.polarity != state->polarity) { in pwm_apply_state_debug() 454 s2.duty_cycle = s1.period - s1.duty_cycle; in pwm_apply_state_debug() 455 s2.period = s1.period; in pwm_apply_state_debug() 456 s2.enabled = s1.enabled; in pwm_apply_state_debug() 458 s2 = s1; in pwm_apply_state_debug() 502 *last = s1; in pwm_apply_state_debug() 515 (s1.enabled && s1.period != last->period) || in pwm_apply_state_debug() 516 (s1.enabled && s1.duty_cycle != last->duty_cycle)) { in pwm_apply_state_debug() [all …]
|
/linux/net/dccp/ccids/lib/ |
A D | packet_history.c | 155 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/arch/arm/boot/dts/ |
A D | aspeed-bmc-ampere-mtjade.dts | 163 channels = "s0", "s1"; 172 channels = "s0", "s1"; 181 channels = "s0", "s1"; 190 channels = "s0", "s1"; 199 channels = "s0", "s1"; 208 channels = "s0", "s1"; 217 channels = "s0", "s1"; 226 channels = "s0", "s1"; 235 channels = "s0", "s1"; 244 channels = "s0", "s1"; [all …]
|
/linux/arch/riscv/kernel/ |
A D | entry.S | 86 csrrc s1, CSR_STATUS, t0 92 REG_S s1, PT_STATUS(sp) 117 and a0, s1, a0 140 andi t0, s1, SR_PIE 252 bnez s1, work_pending 270 REG_L s1, PT_STATUS(sp) 271 andi t0, s1, SR_PIE 357 bnez s1, work_resched 471 csrr s1, CSR_STATUS 477 REG_S s1, PT_STATUS(sp) [all …]
|
/linux/fs/ntfs/ |
A D | unistr.c | 54 bool ntfs_are_names_equal(const ntfschar *s1, size_t s1_len, in ntfs_are_names_equal() argument 61 return !ntfs_ucsncmp(s1, s2, s1_len); in ntfs_are_names_equal() 62 return !ntfs_ucsncasecmp(s1, s2, s1_len, upcase, upcase_size); in ntfs_are_names_equal() 135 int ntfs_ucsncmp(const ntfschar *s1, const ntfschar *s2, size_t n) in ntfs_ucsncmp() argument 141 c1 = le16_to_cpu(s1[i]); in ntfs_ucsncmp() 171 int ntfs_ucsncasecmp(const ntfschar *s1, const ntfschar *s2, size_t n, in ntfs_ucsncasecmp() argument 178 if ((c1 = le16_to_cpu(s1[i])) < upcase_size) in ntfs_ucsncasecmp()
|
/linux/fs/nfs/ |
A D | nfs4session.c | 462 s1 -= s2; in nfs41_derivative_target_slotid() 463 if (s1 == 0) in nfs41_derivative_target_slotid() 465 if (s1 < 0) in nfs41_derivative_target_slotid() 466 return (s1 - 1) >> 1; in nfs41_derivative_target_slotid() 467 return (s1 + 1) >> 1; in nfs41_derivative_target_slotid() 470 static int nfs41_sign_s32(s32 s1) in nfs41_sign_s32() argument 472 if (s1 > 0) in nfs41_sign_s32() 474 if (s1 < 0) in nfs41_sign_s32() 479 static bool nfs41_same_sign_or_zero_s32(s32 s1, s32 s2) in nfs41_same_sign_or_zero_s32() argument 481 if (!s1 || !s2) in nfs41_same_sign_or_zero_s32() [all …]
|