/openbmc/linux/arch/loongarch/include/asm/ |
H A D | local.h | 14 atomic_long_t a; member 19 #define local_read(l) atomic_long_read(&(l)->a) 24 #define local_inc(l) atomic_long_inc(&(l)->a) 25 #define local_dec(l) atomic_long_dec(&(l)->a) 36 : "+ZB" (l->a.counter), "=&r" (result) in local_add_return() 50 : "+ZB" (l->a.counter), "=&r" (result) in local_sub_return() 66 return try_cmpxchg_local(&l->a.counter, in local_try_cmpxchg() 67 (typeof(l->a.counter) *) old, new); in local_try_cmpxchg() 81 #define local_add_unless(l, a, u) \ argument 141 #define __local_inc(l) ((l)->a.counter++) [all …]
|
/openbmc/u-boot/arch/riscv/include/asm/ |
H A D | bitops.h | 37 int *a = (int *)addr; in __set_bit() local 40 a += nr >> 5; in __set_bit() 42 *a |= mask; in __set_bit() 52 a += nr >> 5; in __clear_bit() 54 *a &= ~mask; in __clear_bit() 74 a += nr >> 5; in __test_and_set_bit() 77 *a |= mask; in __test_and_set_bit() 86 a += nr >> 5; in __test_and_clear_bit() 89 *a &= ~mask; in __test_and_clear_bit() 98 a += nr >> 5; in __test_and_change_bit() [all …]
|
/openbmc/u-boot/include/ |
H A D | fsl_sfp.h | 14 #define srk_in32(a) in_le32(a) argument 16 #define srk_in32(a) in_be32(a) argument 20 #define sfp_in32(a) in_le32(a) argument 21 #define sfp_out32(a, v) out_le32(a, v) argument 22 #define sfp_in16(a) in_le16(a) argument 24 #define sfp_in32(a) in_be32(a) argument 25 #define sfp_out32(a, v) out_be32(a, v) argument 26 #define sfp_in16(a) in_be16(a) argument
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | kernel-arch.bbclass | 26 def map_kernel_arch(a, d): 31 if re.match('(i.86|athlon|x86.64)$', a): return 'x86' 32 elif re.match('arceb$', a): return 'arc' 33 elif re.match('armeb$', a): return 'arm' 46 elif a in valid_archs: return a 49 return a 50 bb.error("cannot map '%s' to a linux kernel architecture" % a) 54 def map_uboot_arch(a, d): 57 if re.match('p(pc|owerpc)(|64)', a): return 'ppc' 58 elif re.match('i.86$', a): return 'x86' [all …]
|
/openbmc/linux/drivers/iommu/intel/ |
H A D | cap_audit.c | 22 CHECK_FEATURE_MISMATCH(a, b, cap, pi_support, CAP_PI_MASK); in check_irq_capabilities() 45 CHECK_FEATURE_MISMATCH(a, b, cap, zlr, CAP_ZLR_MASK); in check_dmar_capabilities() 47 CHECK_FEATURE_MISMATCH(a, b, cap, phmr, CAP_PHMR_MASK); in check_dmar_capabilities() 48 CHECK_FEATURE_MISMATCH(a, b, cap, plmr, CAP_PLMR_MASK); in check_dmar_capabilities() 49 CHECK_FEATURE_MISMATCH(a, b, cap, rwbf, CAP_RWBF_MASK); in check_dmar_capabilities() 50 CHECK_FEATURE_MISMATCH(a, b, cap, afl, CAP_AFL_MASK); in check_dmar_capabilities() 51 CHECK_FEATURE_MISMATCH(a, b, ecap, rps, ECAP_RPS_MASK); in check_dmar_capabilities() 58 CHECK_FEATURE_MISMATCH(a, b, ecap, pds, ECAP_PDS_MASK); in check_dmar_capabilities() 59 CHECK_FEATURE_MISMATCH(a, b, ecap, dit, ECAP_DIT_MASK); in check_dmar_capabilities() 62 CHECK_FEATURE_MISMATCH(a, b, ecap, srs, ECAP_SRS_MASK); in check_dmar_capabilities() [all …]
|
/openbmc/u-boot/post/lib_powerpc/fpu/ |
H A D | darwin-ldouble.c | 41 #define nonfinite(a) unlikely(!isless(fabs(a), inf())) argument 54 z = a + c; in __gcc_qadd() 57 z = cc + aa + c + a; in __gcc_qadd() 62 if (fabs(a) > fabs(c)) in __gcc_qadd() 63 x.dval[1] = a - z + c + zz; in __gcc_qadd() 65 x.dval[1] = c - z + a + zz; in __gcc_qadd() 67 q = a - z; in __gcc_qadd() 68 zz = q + c + (a - (q + z)) + aa + cc; in __gcc_qadd() 86 return __gcc_qadd(a, b, -c, -d); in __gcc_qsub() 106 tau = fmsub(a, c, t); in __gcc_qmul() [all …]
|
/openbmc/linux/tools/include/linux/ |
H A D | math64.h | 8 static inline u64 mul_u64_u64_div64(u64 a, u64 b, u64 c) in mul_u64_u64_div64() argument 13 : "a" (a), "rm" (b), "rm" (c) in mul_u64_u64_div64() 24 return (u64)(((unsigned __int128)a * b) >> shift); in mul_u64_u32_shr() 30 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() argument 35 : [a] "a" (a), [b] "rm" (b) ); in mul_u32_u32() 40 static inline u64 mul_u32_u32(u32 a, u32 b) in mul_u32_u32() argument 42 return (u64)a * b; in mul_u32_u32() 51 al = a; in mul_u64_u32_shr() 52 ah = a >> 32; in mul_u64_u32_shr() 68 quot = a / c; in mul_u64_u64_div64() [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvzce.c.inc | 85 return gen_load(ctx, a, MO_UB); 91 return gen_load(ctx, a, MO_UW); 97 return gen_load(ctx, a, MO_SW); 103 return gen_store(ctx, a, MO_UB); 109 return gen_store(ctx, a, MO_UW); 181 a->spimm; 226 a->spimm; 279 if (a->rs1 == a->rs2) { 286 gen_set_gpr(ctx, a->rs1, a0); 287 gen_set_gpr(ctx, a->rs2, a1); [all …]
|
/openbmc/qemu/fpu/ |
H A D | softfloat-specialize.c.inc | 194 | Returns a quiet NaN from a signalling NaN for the deconstructed 270 return (((a >> 9) & 0x3F) == 0x3E) && (a & 0x1FF); 279 | Returns 1 if the bfloat16 value `a' is a quiet 290 return (((a >> 6) & 0x1FF) == 0x1FE) && (a & 0x3F); 311 return (((a >> 9) & 0x3F) == 0x3E) && (a & 0x1FF); 317 | Returns 1 if the bfloat16 value `a' is a signaling 330 return (((a >> 6) & 0x1FF) == 0x1FE) && (a & 0x3F); 385 | or if both a and b have the same significand but a is 488 * puts the operands to a fused mac operation (a*b)+c in the order c,a,b. 779 return a; [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | vec_int_helper.c | 43 d->doubleword[0] = a->doubleword[0]; in s390_vec_shl() 44 d->doubleword[1] = a->doubleword[1]; in s390_vec_shl() 46 d->doubleword[0] = a->doubleword[1]; in s390_vec_shl() 63 d->doubleword[0] = a->doubleword[0]; in s390_vec_sar() 64 d->doubleword[1] = a->doubleword[1]; in s390_vec_sar() 67 d->doubleword[1] = a->doubleword[0]; in s390_vec_sar() 70 tmp = a->doubleword[1] >> count; in s390_vec_sar() 86 d->doubleword[0] = a->doubleword[0]; in s390_vec_shr() 87 d->doubleword[1] = a->doubleword[1]; in s390_vec_shr() 92 tmp = a->doubleword[1] >> count; in s390_vec_shr() [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | ydirectenv.h | 37 #define yaffs_strcat(a, b) strcat(a, b) argument 38 #define yaffs_strcpy(a, b) strcpy(a, b) argument 39 #define yaffs_strncpy(a, b, c) strncpy(a, b, c) argument 42 #define yaffs_strcmp(a, b) strcasecmp(a, b) argument 43 #define yaffs_strncmp(a, b, c) strncasecmp(a, b, c) argument 45 #define yaffs_strcmp(a, b) strcmp(a, b) argument 46 #define yaffs_strncmp(a, b, c) strncmp(a, b, c) argument
|
/openbmc/linux/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | mangle-port.h | 15 static inline bool __should_swizzle_bits(volatile void *a) in __should_swizzle_bits() argument 18 u64 did = ((u64)(uintptr_t)a >> 40) & 0xff; in __should_swizzle_bits() 30 #define __should_swizzle_bits(a) false argument 49 # define ioswabb(a, x) (x) argument 50 # define __mem_ioswabb(a, x) (x) argument 51 # define ioswabw(a, x) (__should_swizzle_bits(a) ? \ argument 54 # define __mem_ioswabw(a, x) (x) argument 55 # define ioswabl(a, x) (__should_swizzle_bits(a) ? \ argument 58 # define __mem_ioswabl(a, x) (x) argument 59 # define ioswabq(a, x) (__should_swizzle_bits(a) ? \ argument [all …]
|
/openbmc/linux/drivers/media/pci/bt8xx/ |
H A D | bttv.h | 268 #define _MUXSELf(a) 0##a << 30 argument 269 #define _MUXSELe(a, b...) 0##a << 28 | _MUXSELf(b) argument 270 #define _MUXSELd(a, b...) 0##a << 26 | _MUXSELe(b) argument 271 #define _MUXSELc(a, b...) 0##a << 24 | _MUXSELd(b) argument 272 #define _MUXSELb(a, b...) 0##a << 22 | _MUXSELc(b) argument 273 #define _MUXSELa(a, b...) 0##a << 20 | _MUXSELb(b) argument 274 #define _MUXSEL9(a, b...) 0##a << 18 | _MUXSELa(b) argument 275 #define _MUXSEL8(a, b...) 0##a << 16 | _MUXSEL9(b) argument 276 #define _MUXSEL7(a, b...) 0##a << 14 | _MUXSEL8(b) argument 277 #define _MUXSEL6(a, b...) 0##a << 12 | _MUXSEL7(b) argument [all …]
|
/openbmc/linux/security/ |
H A D | lsm_audit.c | 212 switch (a->type) { in dump_common_audit_data() 283 inode = a->u.inode; in dump_common_audit_data() 311 if (a->u.net->sk) { in dump_common_audit_data() 366 a->u.net->sport, in dump_common_audit_data() 369 a->u.net->dport, in dump_common_audit_data() 374 a->u.net->sport, in dump_common_audit_data() 377 a->u.net->dport, in dump_common_audit_data() 419 a->u.ibendport->port); in dump_common_audit_data() 446 if (a == NULL) in common_lsm_audit() 456 pre_audit(ab, a); in common_lsm_audit() [all …]
|
/openbmc/linux/include/trace/ |
H A D | bpf_probe.h | 30 #define __CAST1(a,...) __CAST_TO_U64(a) argument 31 #define __CAST2(a,...) __CAST_TO_U64(a), __CAST1(__VA_ARGS__) argument 32 #define __CAST3(a,...) __CAST_TO_U64(a), __CAST2(__VA_ARGS__) argument 33 #define __CAST4(a,...) __CAST_TO_U64(a), __CAST3(__VA_ARGS__) argument 34 #define __CAST5(a,...) __CAST_TO_U64(a), __CAST4(__VA_ARGS__) argument 35 #define __CAST6(a,...) __CAST_TO_U64(a), __CAST5(__VA_ARGS__) argument 36 #define __CAST7(a,...) __CAST_TO_U64(a), __CAST6(__VA_ARGS__) argument 37 #define __CAST8(a,...) __CAST_TO_U64(a), __CAST7(__VA_ARGS__) argument 38 #define __CAST9(a,...) __CAST_TO_U64(a), __CAST8(__VA_ARGS__) argument 39 #define __CAST10(a,...) __CAST_TO_U64(a), __CAST9(__VA_ARGS__) argument [all …]
|
/openbmc/qemu/target/mips/tcg/ |
H A D | rel6_translate.c | 17 bool trans_REMOVED(DisasContext *ctx, arg_REMOVED *a) in trans_REMOVED() argument 24 static bool trans_LSA(DisasContext *ctx, arg_r *a) in trans_LSA() argument 26 return gen_lsa(ctx, a->rd, a->rt, a->rs, a->sa); in trans_LSA() 29 static bool trans_DLSA(DisasContext *ctx, arg_r *a) in trans_DLSA() argument 34 return gen_dlsa(ctx, a->rd, a->rt, a->rs, a->sa); in trans_DLSA()
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/ |
H A D | jquery-ui.min.js | 6 …a,n,r,o=t.nodeName.toLowerCase();return"area"===o?(a=t.parentNode,n=a.name,t.href&&n&&"map"===a.no… argument 7 …a,n,r,o){var h,l,u,d,c,p,f,m,g=this._get(e,"changeMonth"),v=this._get(e,"changeYear"),y=this._get(… argument
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | fentry_test.c | 11 int BPF_PROG(test1, int a) in BPF_PROG() argument 13 test1_result = a == 1; in BPF_PROG() 19 int BPF_PROG(test2, int a, __u64 b) in BPF_PROG() argument 21 test2_result = a == 2 && b == 3; in BPF_PROG() 27 int BPF_PROG(test3, char a, int b, __u64 c) in BPF_PROG() argument 29 test3_result = a == 4 && b == 5 && c == 6; in BPF_PROG() 35 int BPF_PROG(test4, void *a, char b, int c, __u64 d) in BPF_PROG() argument 37 test4_result = a == (void *)7 && b == 8 && c == 9 && d == 10; in BPF_PROG() 43 int BPF_PROG(test5, __u64 a, void *b, short c, int d, __u64 e) in BPF_PROG() argument 60 struct bpf_fentry_test_t *a; member [all …]
|
/openbmc/qemu/tests/tcg/s390x/ |
H A D | add-logical-with-carry.c | 41 static unsigned long test32rm(unsigned long a, unsigned long b, in test32rm() argument 44 unsigned int a32 = a, b32 = b, c32 = c; in test32rm() 50 : [a] "+&r" (a32), [cc] "+&r" (*cc) in test32rm() 62 unsigned int a32 = a, b32 = b, c32 = c; in test32mr() 68 : [a] "+&r" (a32), [c] "+&r" (c32), [cc] "+&r" (*cc) in test32mr() 84 : [a] "+&r" (a), [cc] "+&r" (*cc) in test64rm() 88 return a; in test64rm() 99 : [a] "+&r" (a), [c] "+&r" (c), [cc] "+&r" (*cc) in test64mr() 126 unsigned long a, b, c, sum; in main() local 140 a = t->values[p->a_idx]; in main() [all …]
|
/openbmc/linux/include/linux/ |
H A D | siphash.h | 33 u64 siphash_1u64(const u64 a, const siphash_key_t *key); 35 u64 siphash_3u64(const u64 a, const u64 b, const u64 c, 39 u64 siphash_1u32(const u32 a, const siphash_key_t *key); 40 u64 siphash_3u32(const u32 a, const u32 b, const u32 c, 46 return siphash_1u64((u64)b << 32 | a, key); in siphash_2u32() 146 #define SIPHASH_PERMUTATION(a, b, c, d) ( \ argument 147 (a) += (b), (b) = rol64((b), 13), (b) ^= (a), (a) = rol64((a), 32), \ 149 (a) += (d), (d) = rol64((d), 21), (d) ^= (a), \ 157 #define HSIPHASH_PERMUTATION(a, b, c, d) ( \ argument 158 (a) += (b), (b) = rol32((b), 5), (b) ^= (a), (a) = rol32((a), 16), \ [all …]
|
H A D | align.h | 8 #define ALIGN(x, a) __ALIGN_KERNEL((x), (a)) argument 9 #define ALIGN_DOWN(x, a) __ALIGN_KERNEL((x) - ((a) - 1), (a)) argument 11 #define PTR_ALIGN(p, a) ((typeof(p))ALIGN((unsigned long)(p), (a))) argument 12 #define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a))) argument 13 #define IS_ALIGNED(x, a) (((x) & ((typeof(x))(a) - 1)) == 0) argument
|
/openbmc/openbmc/poky/meta/recipes-core/musl/ |
H A D | libucontext_1.2.bb | 27 def map_kernel_arch(a, d): 32 if a in valid_archs: return a 33 elif re.match('(i.86|athlon)$', a): return 'x86' 34 elif re.match('x86.64$', a): return 'x86_64' 35 elif re.match('armeb$', a): return 'arm' 40 elif re.match('mips(isa|)(32|)(r6|)(el|)$', a): return 'mips' 41 elif re.match('mips(isa|)64(r6|)(el|)$', a): return 'mips64' 42 elif re.match('p(pc64|owerpc64)(le)', a): return 'ppc64' 43 elif re.match('p(pc|owerpc)', a): return 'ppc' 48 return a [all …]
|
/openbmc/linux/fs/ntfs/ |
H A D | attrib.c | 76 ATTR_RECORD *a; in ntfs_map_runlist_nolock() local 122 !memcmp((u8*)a + le16_to_cpu(a->name_offset), in ntfs_map_runlist_nolock() 594 for (;; a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length))) { in ntfs_attr_find() 609 name_end = (u8 *)a + le16_to_cpu(a->name_offset) + in ntfs_attr_find() 622 if ((u8 *)a + le32_to_cpu(a->length) < (u8 *)a) in ntfs_attr_find() 625 if ((u8 *)a + le32_to_cpu(a->length) > mrec_end) in ntfs_attr_find() 1072 le16_to_cpu(a->name_offset)), a->name_length, in ntfs_external_attr_find() 1091 a = (ATTR_RECORD*)((u8*)a + le32_to_cpu(a->length)); in ntfs_external_attr_find() 1459 memmove((u8*)a + new_size, (u8*)a + le32_to_cpu(a->length), in ntfs_attr_record_resize() 1691 memmove((u8*)a + name_ofs, (u8*)a + le16_to_cpu(a->name_offset), in ntfs_attr_make_non_resident() [all …]
|
/openbmc/linux/include/linux/decompress/ |
H A D | mm.h | 70 #define large_malloc(a) malloc(a) argument 71 #define large_free(a) free(a) argument 89 #define malloc(a) kmalloc(a, GFP_KERNEL) argument 90 #define free(a) kfree(a) argument 92 #define large_malloc(a) vmalloc(a) argument 93 #define large_free(a) vfree(a) argument
|
/openbmc/u-boot/arch/nds32/include/asm/ |
H A D | bitops.h | 39 int *a = (int *)addr; in __set_bit() local 42 a += nr >> 5; in __set_bit() 44 *a |= mask; in __set_bit() 57 a += nr >> 5; in __clear_bit() 60 *a &= ~mask; in __clear_bit() 85 a += nr >> 5; in __test_and_set_bit() 88 *a |= mask; in __test_and_set_bit() 99 a += nr >> 5; in __test_and_clear_bit() 102 *a &= ~mask; in __test_and_clear_bit() 113 a += nr >> 5; in __test_and_change_bit() [all …]
|