Home
last modified time | relevance | path

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

12345678910>>...18

/openbmc/qemu/tests/tcg/i386/
H A Dtest-i386-shift.h36 EXECSHIFT("q", "", res, s1, s2, flags); in exec_opq()
50 EXECSHIFT("l", "k", res, s1, s2, flags); in exec_opl()
139 void exec_op(long s2, long s0, long s1) in exec_op() argument
141 s2 = i2l(s2); in exec_op()
144 exec_opq(s2, s0, s1, 0); in exec_op()
146 exec_opl(s2, s0, s1, 0); in exec_op()
148 exec_opw(s2, s0, s1, 0); in exec_op()
150 exec_opw(s2, s0, s1, 0); in exec_op()
157 exec_opq(s2, s0, s1, CC_C); in exec_op()
159 exec_opl(s2, s0, s1, CC_C); in exec_op()
[all …]
/openbmc/qemu/tests/tcg/s390x/
H A Dclst.c5 static int clst(char sep, const char **s1, const char **s2) in clst() argument
8 const char *r2 = *s2; in clst()
21 *s2 = r2; in clst()
31 const char *s2; member
39 .s2 = "aa",
47 .s2 = "aa\x01",
55 .s2 = "abb\x02",
64 const char *s1, *s2; in main() local
71 s2 = t->s2; in main()
72 cc = clst(t->sep, &s1, &s2); in main()
[all …]
/openbmc/u-boot/arch/mips/mach-mt7620/
H A Dlowlevel_init.S129 lw t4, 0x100(s2)
132 sw t4, 0x100(s2)
133 lw t4, 0x10c(s2)
139 sw t4, 0x10c(s2)
145 sw t4, 0x10c(s2)
148 lw t2, 0x10c(s2)
151 sw t2, 0x10c(s2)
158 lw t2, 0x10c(s2)
161 sw t2, 0x10c(s2)
164 lw t2, 0x104(s2)
[all …]
/openbmc/qemu/target/sparc/
H A Dvis_helper.c103 VIS32 s1, s2; in helper_fpmerge() local
107 s2.l = src2; in helper_fpmerge()
227 VIS64 s1, s2; in helper_fcmple8() local
231 s2.ll = src2; in helper_fcmple8()
246 VIS64 s1, s2; in helper_fcmpule8() local
250 s2.ll = src2; in helper_fcmpule8()
284 VIS64 s1, s2; in helper_fcmple16() local
288 s2.ll = src2; in helper_fcmple16()
303 VIS64 s1, s2; in helper_fcmpule16() local
307 s2.ll = src2; in helper_fcmpule16()
[all …]
/openbmc/qemu/crypto/
H A Daes.c1465 s2 = GETU32(in + 8) ^ rk[2]; in AES_encrypt()
1547 AES_Te2[(s2 >> 8) & 0xff] ^ in AES_encrypt()
1552 AES_Te1[(s2 >> 16) & 0xff] ^ in AES_encrypt()
1557 AES_Te0[(s2 >> 24) ] ^ in AES_encrypt()
1586 s2 = in AES_encrypt()
1618 s2 = in AES_encrypt()
1624 PUTU32(out + 8, s2); in AES_encrypt()
1656 s2 = GETU32(in + 8) ^ rk[2]; in AES_decrypt()
1777 s2 = in AES_decrypt()
1809 s2 = in AES_decrypt()
[all …]
/openbmc/linux/arch/mips/kernel/
H A 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 …]
/openbmc/linux/fs/ntfs3/
H A 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()
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dnand_ecc.c136 uint8_t s0, s1, s2; in nand_correct_data() local
140 s2 = calc_ecc[2] ^ read_ecc[2]; in nand_correct_data()
141 if ((s0 | s1 | s2) == 0) in nand_correct_data()
147 ((s2 ^ (s2 >> 1)) & 0x54) == 0x54) { in nand_correct_data()
161 bitnum = (s2 >> 5) & 0x04; in nand_correct_data()
162 bitnum |= (s2 >> 4) & 0x02; in nand_correct_data()
163 bitnum |= (s2 >> 3) & 0x01; in nand_correct_data()
170 if(countbits(s0 | ((uint32_t)s1 << 8) | ((uint32_t)s2 <<16)) == 1) in nand_correct_data()
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/
H A 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 …]
/openbmc/linux/arch/s390/lib/
H A 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()
/openbmc/linux/arch/loongarch/kernel/
H A Drelocate_kernel.S38 andi s2, s1, IND_DESTINATION
39 beqz s2, 1f
46 andi s2, s1, IND_INDIRECTION
47 beqz s2, 1f
54 andi s2, s1, IND_DONE
55 beqz s2, 1f
60 andi s2, s1, IND_SOURCE
61 beqz s2, process_entry
/openbmc/linux/arch/sparc/include/asm/
H A 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
/openbmc/u-boot/include/dm/
H A Dof.h120 #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/arch/x86/boot/
H A 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 …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dbtf_dump_test_case_ordering.c15 struct s2 { struct
16 struct s2 *s2; member
23 struct s2 s2; argument
/openbmc/qemu/pc-bios/vof/
H A Dlibc.c15 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()
22 s2 += 1; in strcmp()
25 return *s1 - *s2; in strcmp()
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Dqcom,smd-rpm-regulator.yaml25 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/arch/ia64/lib/
H A Dxor.S33 .rotr s1[6+1], s2[6+1], d[2]
37 (p[0]) ld8.nta s2[0] = [r17], 8
38 (p[6]) xor d[0] = s1[6], s2[6]
72 .rotr s1[6+1], s2[6+1], s3[6+1], d[2]
76 (p[0]) ld8.nta s2[0] = [r17], 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]
118 (p[0]) ld8.nta s2[0] = [r17], 8
119 (p[6]) xor d[0] = s1[6], s2[6]
163 (p[0]) ld8.nta s2[0] = [r17], 8
[all …]
/openbmc/linux/drivers/soc/bcm/brcmstb/pm/
H A 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)
/openbmc/u-boot/lib/lzo/
H A Dlzodefs.h41 #define DX2(p, s1, s2) (((((size_t)((p)[2]) << (s2)) ^ (p)[1]) \ argument
43 #define DX3(p, s1, s2, s3) ((DX2((p)+1, s2, s3) << (s1)) ^ (p)[0]) argument
/openbmc/linux/include/linux/
H A 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()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/eject/eject/
H A Deject-2.1.5-spaces.patch46 if (((strcmp(s1, name) == 0) || (strcmp(s2, name) == 0)) ||
50 - *mountName = strdup(s2);
52 + *mountName = DeMangleMount(strdup(s2));
57 rc = sscanf(line, "%1023s %1023s", s1, s2);
58 if (rc >= 2 && s1[0] != '#' && strcmp(s2, name) == 0) {
61 - *mountName = strdup(s2);
63 + *mountName = DeMangleMount(strdup(s2));
/openbmc/linux/drivers/thermal/
H A Dk3_bandgap.c94 unsigned int s2) in vtm_get_best_value() argument
97 int d02 = abs(s0 - s2); in vtm_get_best_value()
98 int d12 = abs(s1 - s2); in vtm_get_best_value()
104 return (s0 + s2) / 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
130 s2 = 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()
/openbmc/linux/include/crypto/
H A 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()
/openbmc/phosphor-inventory-manager/test/
H A Dutils_test.cpp46 auto s2 = "prefixbar"s; in TEST() local
49 EXPECT_TRUE(comp(s2, s1)); in TEST()
50 EXPECT_FALSE(comp(s1, s2)); in TEST()
74 auto s2 = "prefixbar"s; in TEST() local
77 EXPECT_TRUE(comp(s2, s1)); in TEST()
78 EXPECT_FALSE(comp(s1, s2)); in TEST()

12345678910>>...18