/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-shift.h | 38 if (s1 != 1) in exec_opq() 52 if (s1 != 1) in exec_opl() 65 if (s1 != 1) in exec_opw() 89 if (s1 != 1) in exec_opq() 103 if (s1 != 1) in exec_opl() 116 if (s1 != 1) in exec_opw() 132 if (s1 != 1) in exec_opb() 144 exec_opq(s2, s0, s1, 0); in exec_op() 146 exec_opl(s2, s0, s1, 0); in exec_op() 153 exec_opb(s0, s1, 0); in exec_op() [all …]
|
H A D | test-i386.h | 71 EXECOP2("q", "", res, s1, flags); in exec_opq() 100 void exec_op(long s0, long s1) in exec_op() argument 103 s1 = i2l(s1); in exec_op() 105 exec_opq(s0, s1, 0); in exec_op() 107 exec_opl(s0, s1, 0); in exec_op() 108 exec_opw(s0, s1, 0); in exec_op() 109 exec_opb(s0, s1, 0); in exec_op() 112 exec_opq(s0, s1, CC_C); in exec_op() 114 exec_opl(s0, s1, CC_C); in exec_op() 115 exec_opw(s0, s1, CC_C); in exec_op() [all …]
|
H A D | test-i386-muldiv.h | 4 long res, s1, s0, flags; in glue() local 6 s1 = op1; in glue() 15 : "q" (s1), "0" (res), "1" (flags)); in glue() 17 stringify(OP) "b", s0, s1, res, flags & CC_MASK); in glue() 22 long res, s1, flags, resh; in glue() local 23 s1 = op1; in glue() 33 : "q" (s1), "0" (res), "1" (flags), "2" (resh)); in glue() 40 long res, s1, flags, resh; in glue() local 41 s1 = op1; in glue() 59 long res, s1, flags, resh; in glue() local [all …]
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | clst.c | 5 static int clst(char sep, const char **s1, const char **s2) in clst() argument 7 const char *r1 = *s1; in clst() 20 *s1 = r1; in clst() 30 const char *s1; member 38 .s1 = "aa", 46 .s1 = "a\x01", 54 .s1 = "abc\x02", 64 const char *s1, *s2; in main() local 70 s1 = t->s1; in main() 72 cc = clst(t->sep, &s1, &s2); in main() [all …]
|
/openbmc/linux/arch/ia64/lib/ |
H 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 …]
|
H 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
|
H 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 …]
|
/openbmc/qemu/target/sparc/ |
H A D | vis_helper.c | 103 VIS32 s1, s2; in helper_fpmerge() local 106 s1.l = src1; in helper_fpmerge() 227 VIS64 s1, s2; in helper_fcmple8() local 230 s1.ll = src1; in helper_fcmple8() 246 VIS64 s1, s2; in helper_fcmpule8() local 249 s1.ll = src1; in helper_fcmpule8() 284 VIS64 s1, s2; in helper_fcmple16() local 287 s1.ll = src1; in helper_fcmple16() 303 VIS64 s1, s2; in helper_fcmpule16() local 306 s1.ll = src1; in helper_fcmpule16() [all …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | relocate_kernel.S | 34 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
|
/openbmc/qemu/crypto/ |
H A D | aes.c | 1464 s1 = GETU32(in + 4) ^ rk[1]; in AES_encrypt() 1546 AES_Te1[(s1 >> 16) & 0xff] ^ in AES_encrypt() 1551 AES_Te0[(s1 >> 24) ] ^ in AES_encrypt() 1560 AES_Te3[(s1 ) & 0xff] ^ in AES_encrypt() 1580 s1 = in AES_encrypt() 1611 s1 = in AES_encrypt() 1617 PUTU32(out + 4, s1); in AES_encrypt() 1655 s1 = GETU32(in + 4) ^ rk[1]; in AES_decrypt() 1771 s1 = in AES_decrypt() 1802 s1 = in AES_decrypt() [all …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_ecc.c | 136 uint8_t s0, s1, s2; in nand_correct_data() local 138 s1 = calc_ecc[0] ^ read_ecc[0]; in nand_correct_data() 141 if ((s0 | s1 | s2) == 0) in nand_correct_data() 146 ((s1 ^ (s1 >> 1)) & 0x55) == 0x55 && in nand_correct_data() 151 byteoffs = (s1 << 0) & 0x80; in nand_correct_data() 152 byteoffs |= (s1 << 1) & 0x40; in nand_correct_data() 153 byteoffs |= (s1 << 2) & 0x20; in nand_correct_data() 154 byteoffs |= (s1 << 3) & 0x10; in nand_correct_data() 170 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
|
/openbmc/linux/arch/s390/lib/ |
H 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 …]
|
/openbmc/linux/fs/ntfs3/ |
H 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()
|
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/ |
H 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 …]
|
/openbmc/linux/tools/perf/tests/ |
H 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() 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() 133 if (s1->user_regs.abi && in samples_same() 144 s1->user_stack.size)) { in samples_same() 164 if (s1->intr_regs.abi && in samples_same() [all …]
|
/openbmc/linux/arch/x86/boot/ |
H 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 …]
|
/openbmc/linux/include/linux/ |
H 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()
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | prom.h | 24 #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
|
/openbmc/u-boot/include/dm/ |
H A D | of.h | 120 #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) argument 121 #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) argument 122 #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) argument
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_ordering.c | 9 struct s1 {}; struct 22 struct s1 s1; member 27 struct s1 s1; member
|
/openbmc/linux/arch/arm64/kernel/pi/ |
H A D | kaslr_early.c | 19 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()
|
/openbmc/qemu/pc-bios/vof/ |
H A D | libc.c | 15 int strcmp(const char *s1, const char *s2) in strcmp() argument 17 while (*s1 != 0 && *s2 != 0) { in strcmp() 18 if (*s1 != *s2) { in strcmp() 21 s1 += 1; in strcmp() 25 return *s1 - *s2; in strcmp()
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 25 For mp5496, s1, s2 27 For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 30 For pm6125 s1, s2, s3, s4, s5, s6, s7, s8, l1, l2, l3, l5, l6, l7, l8, l9, 36 For pm660l s1, s2, s3, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, bob 38 For pm8226, s1, s2, s3, s4, s5, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, 42 For pm8841, s1, s2, s3, s4, s5, s6, s7, s8 47 For pm8916, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 50 For pm8941, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, 54 For pm8950 and pm8953, s1, s2, s3, s4, s5, s6, s7, l1, l2, l3, l4, l5, l6, 70 For pmi8994, s1, s2, s3, boost-bypass [all …]
|
/openbmc/linux/drivers/firmware/efi/libstub/ |
H A D | string.c | 50 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()
|
/openbmc/u-boot/lib/lzo/ |
H A D | lzodefs.h | 41 #define DX2(p, s1, s2) (((((size_t)((p)[2]) << (s2)) ^ (p)[1]) \ argument 42 << (s1)) ^ (p)[0]) 43 #define DX3(p, s1, s2, s3) ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0]) argument
|