/openbmc/qemu/tests/tcg/i386/ |
H A D | test-i386-shift.h | 11 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument 18 : "r" (s1), "0" (res), "1" (flags)); 20 #define EXECSHIFT(size, rsize, res, s1, s2, flags) \ argument 27 : "c" (s1), "0" (res), "1" (flags)); 31 void exec_opq(long s2, long s0, long s1, long iflags) in exec_opq() argument 36 EXECSHIFT("q", "", res, s1, s2, flags); in exec_opq() 38 if (s1 != 1) in exec_opq() 41 stringify(OP) "q", s0, s1, res, iflags, flags & CC_MASK); in exec_opq() 45 void exec_opl(long s2, long s0, long s1, long iflags) in exec_opl() argument 50 EXECSHIFT("l", "k", res, s1, s2, flags); in exec_opl() [all …]
|
H A D | test-i386.h | 8 #define EXECOP2(size, rsize, res, s1, flags) \ argument 15 : "q" (s1), "0" (res), "1" (flags)); \ 17 stringify(OP) size, s0, s1, res, iflags, flags & CC_MASK); 32 void exec_opq(long s0, long s1, long iflags) in exec_opq() argument 41 void exec_opl(long s0, long s1, long iflags) in exec_opl() argument 49 void exec_opw(long s0, long s1, long iflags) in exec_opw() argument 57 void exec_opb(long s0, long s1, long iflags) in exec_opb() argument 66 void exec_opq(long s0, long s1, long iflags) in exec_opq() argument 71 EXECOP2("q", "", res, s1, flags); in exec_opq() 75 void exec_opl(long s0, long s1, long iflags) in exec_opl() argument [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() 35 stringify(OP) "w", op0h, op0, s1, resh, res, flags & CC_MASK); in glue() 40 long res, s1, flags, resh; in glue() local 41 s1 = op1; in glue() [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | sha256-spe-asm.S | 103 rotrwi rT0,e,6; /* 1: S1 = e rotr 6 */ \ 104 rotrwi rT1,e,11; /* 1: S1' = e rotr 11 */ \ 105 rotrwi rT2,e,25; /* 1: S1" = e rotr 25 */ \ 106 xor rT0,rT0,rT1; /* 1: S1 = S1 xor S1' */ \ 108 xor rT0,rT0,rT2; /* 1: S1 = S1 xor S1" */ \ 112 add h,h,rT0; /* 1: temp1 = h + S1 */ \ 128 rotrwi rT0,d,6; /* 2: S1 = e rotr 6 */ \ 130 rotrwi rT1,d,11; /* 2: S1' = e rotr 11 */ \ 132 rotrwi rT2,d,25; /* 2: S1" = e rotr 25 */ \ 133 xor rT0,rT0,rT1; /* 2: S1 = S1 xor S1' */ \ [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/qemu/target/sparc/ |
H A D | vis_helper.c | 103 VIS32 s1, s2; in helper_fpmerge() local 106 s1.l = src1; in helper_fpmerge() 110 d.VIS_B64(7) = s1.VIS_B32(3); in helper_fpmerge() 112 d.VIS_B64(5) = s1.VIS_B32(2); in helper_fpmerge() 114 d.VIS_B64(3) = s1.VIS_B32(1); in helper_fpmerge() 116 d.VIS_B64(1) = s1.VIS_B32(0); in helper_fpmerge() 227 VIS64 s1, s2; in helper_fcmple8() local 230 s1.ll = src1; in helper_fcmple8() 234 r |= (s1.VIS_SB64(i) <= s2.VIS_SB64(i)) << i; in helper_fcmple8() 246 VIS64 s1, s2; in helper_fcmpule8() local [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf_dedup_split.c | 20 btf__add_struct(btf1, "s1", 4); /* [3] struct s1 { */ in test_split_simple() 28 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple() 32 struct s1 {\n\ in test_split_simple() 53 btf__add_field(btf2, "f1", 6, 0, 0); /* struct s1 f1; */ in test_split_simple() 61 /* duplicated struct s1 */ in test_split_simple() 62 btf__add_struct(btf2, "s1", 4); /* [6] struct s1 { */ in test_split_simple() 70 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple() 77 "[6] STRUCT 's1' size=4 vlen=1\n" in test_split_simple() 81 struct s1 {\n\ in test_split_simple() 103 "[3] STRUCT 's1' size=4 vlen=1\n" in test_split_simple() [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/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 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 …]
|
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] 159 .rotr s1[6+1], s2[6+1], s3[6+1], s4[6+1], s5[6+1], d[2] [all …]
|
/openbmc/linux/net/dccp/ccids/lib/ |
H 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() 175 /* S0 < S2 < S1 */ in __one_after_loss() 180 if (dccp_loss_free(s2, s1, n1)) { in __one_after_loss() 181 /* hole is filled: S0, S2, and S1 are consecutive */ in __one_after_loss() 185 /* gap between S2 and S1: just update loss_prev */ in __one_after_loss() 190 * Reorder history to insert S2 between S0 and S1 in __one_after_loss() 203 s1 = tfrc_rx_hist_entry(h, 1)->tfrchrx_seqno, in __two_after_loss() local [all …]
|
/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); 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() 65 printf("vmx enter/exit not paired.(offset:%ld size:%ld s1:%p s2:%p vc:%d\n", in test_one() 66 offset, size, s1, s2, vmx_count); in test_one() 77 char *p, *s1, *s2; in testcase() local 88 /* Put s1/s2 at the end of a page */ in testcase() 89 s1 = p + MAP_SIZE - alloc_size; in testcase() [all …]
|
/openbmc/linux/arch/s390/lib/ |
H A D | string.c | 202 * @s1: One string 205 * returns 0 if @s1 and @s2 are equal, 206 * < 0 if @s1 is less than @s2 207 * > 0 if @s1 is greater than @s2 210 int strcmp(const char *s1, const char *s2) in strcmp() argument 216 "0: clst %[s1],%[s2]\n" in strcmp() 219 " ic %[ret],0(%[s1])\n" in strcmp() 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() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/regulator/ |
H A D | qcom,smd-rpm-regulator.yaml | 25 For mp5496, s1, s2, l2, l5 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, 33 For pm660, s1, s2, s3, s4, s5, s6, l1, l2, l3, l5, l6, l7, l8, l9, l10, l22, 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 44 For pm8909, s1, s2, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11, l12, l13, 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, [all …]
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sha256-avx-asm.S | 155 ## compute s0 four at a time and s1 two at a time 175 MY_ROR 6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) 178 add y0, y2 # y2 = S1 + CH 179 add _XFER(%rsp), y2 # y2 = k + w + S1 + CH 181 add y2, h # h = h + S1 + CH + k + w 185 add h, d # d = d + h + S1 + CH + k + w 189 add y1, h # h = h + S1 + CH + k + w + S0 192 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ 208 MY_ROR 6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) 213 add y0, y2 # y2 = S1 + CH [all …]
|
H A D | sha256-ssse3-asm.S | 149 ## compute s0 four at a time and s1 two at a time 170 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) 174 add y0, y2 # y2 = S1 + CH 175 add _XFER(%rsp) , y2 # y2 = k + w + S1 + CH 178 add y2, h # h = h + S1 + CH + k + w 182 add h, d # d = d + h + S1 + CH + k + w 186 add y1, h # h = h + S1 + CH + k + w + S0 189 add y0, h # h = h + S1 + CH + k + w + S0 + MAJ 208 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) 213 add y0, y2 # y2 = S1 + CH [all …]
|
H A D | sha256-avx2-asm.S | 167 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 169 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1 170 rorx $6, e, y1 # y1 = (e >> 6) # S1 173 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1 188 add y0, y2 # y2 = S1 + CH # -- 193 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 197 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 216 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 220 rorx $6, e, y1 # y1 = (e >> 6) # S1 221 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1 [all …]
|
H A D | sha512-avx2-asm.S | 190 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 192 rorx $14, e, y1 # y1 = (e >> 14) # S1 195 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1 208 add y0, y2 # y2 = S1 + CH # -- 212 add y2, d # d = k + w + h + d + S1 + CH = d + t1 # -- 214 add y2, h # h = k + w + h + S0 + S1 + CH = t1 + S0# -- 253 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 257 rorx $14, e, y1 # y1 = (e >> 14) # S1 258 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1 272 add y0, y2 # y2 = S1 + CH # -- [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/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() 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 …]
|
/openbmc/linux/drivers/regulator/ |
H A D | qcom-rpmh-regulator.c | 140 * "ldo%s1" for RPMh resource "ldoa1". 816 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"), 829 RPMH_VREG("ldo1", "ldo%s1", &pmic4_nldo, "vdd-l1-l27"), 857 RPMH_VREG("lvs1", "vs%s1", &pmic4_lvs, "vin-lvs-1-2"), 863 RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), 868 RPMH_VREG("bob", "bob%s1", &pmic4_bob, "vdd-bob"), 873 RPMH_VREG("smps1", "smp%s1", &pmic4_ftsmps426, "vdd-s1"), 881 RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), 891 RPMH_VREG("ldo1", "ldo%s1", &pmic5_nldo, "vdd-l1-l8-l11"), 913 RPMH_VREG("smps1", "smp%s1", &pmic5_ftsmps510, "vdd-s1"), [all …]
|
/openbmc/linux/scripts/coccinelle/null/ |
H A D | deref_null.cocci | 44 statement S1,S2; 48 if@p1 ((E == NULL && ...) || ...) S1 else S2 57 statement S1,S2,S3,S4; 65 ... when != if (...) S1 else S2 118 statement S1,S2,S3,S4; 126 ... when != if (...) S1 else S2 178 statement S1,S2,S3,S4; 186 ... when != if (...) S1 else S2 240 statement S1,S2; 244 if@p1 ((E == NULL && ...) || ...) S1 else S2 [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | string.c | 32 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() 168 * @s1: The string to be searched 171 char *strstr(const char *s1, const char *s2) in strstr() argument [all …]
|
/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
|