/openbmc/qemu/target/hexagon/ |
H A D | macros.h | 194 #define fMAX(A, B) (((A) > (B)) ? (A) : (B)) argument 196 #define fMIN(A, B) (((A) < (B)) ? (A) : (B)) argument 198 #define fABS(A) (((A) < 0) ? (-(A)) : (A)) argument 277 #define fADDSAT64(DST, A, B) \ argument 360 #define fCHECK_PCALIGN(A) argument 362 #define fWRITE_NPC(A) write_new_pc(env, pkt_has_multi_cof != 0, A) argument 372 #define fCAST4u(A) ((uint32_t)(A)) argument 373 #define fCAST4s(A) ((int32_t)(A)) argument 374 #define fCAST8u(A) ((uint64_t)(A)) argument 375 #define fCAST8s(A) ((int64_t)(A)) argument [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_fixed.h | 36 #define dfixed_const(A) (u32)(((A) << 12))/* + ((B + 0.000122)*4096)) */ argument 37 #define dfixed_const_half(A) (u32)(((A) << 12) + 2048) argument 38 #define dfixed_const_666(A) (u32)(((A) << 12) + 2731) argument 39 #define dfixed_const_8(A) (u32)(((A) << 12) + 3277) argument 40 #define dfixed_mul(A, B) ((u64)((u64)(A).full * (B).full + 2048) >> 12) argument 41 #define dfixed_init(A) { .full = dfixed_const((A)) } argument 42 #define dfixed_init_half(A) { .full = dfixed_const_half((A)) } argument 43 #define dfixed_trunc(A) ((A).full >> 12) argument 44 #define dfixed_frac(A) ((A).full & ((1 << 12) - 1)) argument 46 static inline u32 dfixed_floor(fixed20_12 A) in dfixed_floor() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.h | 168 #define NVBO_RD32(A...) DRF_RD(NVBO_RD32_, ##A) argument 169 #define NVBO_RV32(A...) DRF_RV(NVBO_RD32_, ##A) argument 170 #define NVBO_TV32(A...) DRF_TV(NVBO_RD32_, ##A) argument 171 #define NVBO_TD32(A...) DRF_TD(NVBO_RD32_, ##A) argument 172 #define NVBO_WR32(A...) DRF_WR( NVBO_WR32_, ##A) argument 173 #define NVBO_WV32(A...) DRF_WV( NVBO_WR32_, ##A) argument 174 #define NVBO_WD32(A...) DRF_WD( NVBO_WR32_, ##A) argument 175 #define NVBO_MR32(A...) DRF_MR(NVBO_RD32_, NVBO_WR32_, u32, ##A) argument 176 #define NVBO_MV32(A...) DRF_MV(NVBO_RD32_, NVBO_WR32_, u32, ##A) argument 177 #define NVBO_MD32(A...) DRF_MD(NVBO_RD32_, NVBO_WR32_, u32, ##A) argument
|
/openbmc/linux/lib/crypto/ |
H A D | sha1.c | 57 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument 63 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 64 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 65 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument 66 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument 67 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument 89 __u32 A, B, C, D, E; in sha1_transform() local
|
H A D | des.c | 582 #define ROUND(L, R, A, B, K, d) \ argument 784 u32 L, R, A, B; in des_encrypt() local 805 u32 L, R, A, B; in des_decrypt() local 847 u32 L, R, A, B; in des3_ede_encrypt() local 876 u32 L, R, A, B; in des3_ede_decrypt() local
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | object.h | 127 #define NVIF_RD32(p,A...) DRF_RD(NVIF_RD32_, (p), 0, ##A) argument 128 #define NVIF_RV32(p,A...) DRF_RV(NVIF_RD32_, (p), 0, ##A) argument 129 #define NVIF_TV32(p,A...) DRF_TV(NVIF_RD32_, (p), 0, ##A) argument 130 #define NVIF_TD32(p,A...) DRF_TD(NVIF_RD32_, (p), 0, ##A) argument 131 #define NVIF_WR32(p,A...) DRF_WR( NVIF_WR32_, (p), 0, ##A) argument 132 #define NVIF_WV32(p,A...) DRF_WV( NVIF_WR32_, (p), 0, ##A) argument 133 #define NVIF_WD32(p,A...) DRF_WD( NVIF_WR32_, (p), 0, ##A) argument 134 #define NVIF_MR32(p,A...) DRF_MR(NVIF_RD32_, NVIF_WR32_, u32, (p), 0, ##A) argument 135 #define NVIF_MV32(p,A...) DRF_MV(NVIF_RD32_, NVIF_WR32_, u32, (p), 0, ##A) argument 136 #define NVIF_MD32(p,A...) DRF_MD(NVIF_RD32_, NVIF_WR32_, u32, (p), 0, ##A) argument
|
/openbmc/linux/tools/testing/selftests/powerpc/copyloops/asm/ |
H A D | ppc_asm.h | 26 #define _GLOBAL(A) FUNC_START(test_ ## A) argument 27 #define _GLOBAL_TOC(A) _GLOBAL(A) argument 28 #define _GLOBAL_TOC_KASAN(A) _GLOBAL(A) argument 29 #define _GLOBAL_KASAN(A) _GLOBAL(A) argument 32 #define PPC_MTOCRF(A, B) mtocrf A, B argument
|
/openbmc/linux/fs/squashfs/ |
H A D | squashfs_fs.h | 130 #define SQUASHFS_INODE_BLK(A) ((unsigned int) ((A) >> 16)) argument 132 #define SQUASHFS_INODE_OFFSET(A) ((unsigned int) ((A) & 0xffff)) argument 134 #define SQUASHFS_MKINODE(A, B) ((long long)(((long long) (A)\ argument 138 #define SQUASHFS_FRAGMENT_BYTES(A) \ argument 141 #define SQUASHFS_FRAGMENT_INDEX(A) (SQUASHFS_FRAGMENT_BYTES(A) / \ argument 144 #define SQUASHFS_FRAGMENT_INDEX_OFFSET(A) (SQUASHFS_FRAGMENT_BYTES(A) % \ argument 147 #define SQUASHFS_FRAGMENT_INDEXES(A) ((SQUASHFS_FRAGMENT_BYTES(A) + \ argument 151 #define SQUASHFS_FRAGMENT_INDEX_BYTES(A) (SQUASHFS_FRAGMENT_INDEXES(A) *\ argument 155 #define SQUASHFS_LOOKUP_BYTES(A) ((A) * sizeof(u64)) argument 157 #define SQUASHFS_LOOKUP_BLOCK(A) (SQUASHFS_LOOKUP_BYTES(A) / \ argument [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppevvmath.h | 316 static bool Equal(fInt A, fInt B) in Equal() 324 static bool GreaterThan(fInt A, fInt B) in GreaterThan() 377 static int ConvertBackToInteger (fInt A) /*THIS is the function that will be used to check with the… in ConvertBackToInteger() 390 static fInt fGetSquare(fInt A) in fGetSquare() 453 static void SolveQuadracticEqn(fInt A, fInt B, fInt C, fInt Roots[]) in SolveQuadracticEqn() 492 static int GetReal (fInt A) in GetReal() 499 fInt A, B, Quotient; in Divide() local 509 static int uGetScaledDecimal (fInt A) /*Converts the fractional portion to whole integers - Costly … in uGetScaledDecimal() 540 static fInt fRoundUpByStepSize(fInt A, fInt fStepSize, bool error_term) in fRoundUpByStepSize()
|
/openbmc/u-boot/arch/x86/include/asm/fsp/ |
H A D | fsp_types.h | 30 #define SIGNATURE_16(A, B) ((A) | (B << 8)) argument 46 #define SIGNATURE_32(A, B, C, D) \ argument 67 #define SIGNATURE_64(A, B, C, D, E, F, G, H) \ argument
|
/openbmc/linux/rust/alloc/ |
H A D | slice.rs | 102 pub fn into_vec<T, A: Allocator>(b: Box<[T], A>) -> Vec<T, A> { in into_vec() argument 112 pub fn to_vec<T: ConvertVec, A: Allocator>(s: &[T], alloc: A) -> Vec<T, A> { in to_vec() argument 126 default fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec() argument 163 fn to_vec<A: Allocator>(s: &[Self], alloc: A) -> Vec<Self, A> { in to_vec() argument 463 pub fn into_vec<A: Allocator>(self: Box<Self, A>) -> Vec<T, A> { in into_vec() argument 792 fn clone_into(&self, target: &mut Vec<T, A>); in clone_into() argument 797 default fn clone_into(&self, target: &mut Vec<T, A>) { in clone_into() argument 813 fn clone_into(&self, target: &mut Vec<T, A>) { in clone_into() argument
|
H A D | boxed.rs | 482 pub fn try_new_uninit_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_uninit_in() argument 556 pub fn try_new_zeroed_in(alloc: A) -> Result<Box<mem::MaybeUninit<T>, A>, AllocError> in try_new_zeroed_in() argument 591 pub fn into_boxed_slice(boxed: Self) -> Box<[T], A> { in into_boxed_slice() argument 764 pub fn new_uninit_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_uninit_slice_in() argument 792 pub fn new_zeroed_slice_in(len: usize, alloc: A) -> Box<[mem::MaybeUninit<T>], A> { in new_zeroed_slice_in() argument 828 pub unsafe fn assume_init(self) -> Box<T, A> { in assume_init() argument 862 pub fn write(mut boxed: Self, value: T) -> Box<T, A> { in write() argument 903 pub unsafe fn assume_init(self) -> Box<[T], A> { in assume_init() argument 1107 pub fn into_raw_with_allocator(b: Self) -> (*mut T, A) { in into_raw_with_allocator() argument 1119 pub fn into_unique(b: Self) -> (Unique<T>, A) { in into_unique() argument [all …]
|
H A D | raw_vec.rs | 162 pub unsafe fn into_box(self, len: usize) -> Box<[MaybeUninit<T>], A> { in into_box() argument 268 pub fn allocator(&self) -> &A { in allocator() 318 slf: &mut RawVec<T, A>, in reserve() argument 506 alloc: &mut A, in finish_grow()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_sw_fence.c | 98 struct i915_sw_fence *A, *B, *C; in test_dag() local 177 struct i915_sw_fence *A, *B; in test_AB() local 225 struct i915_sw_fence *A, *B, *C; in test_ABC() local 305 struct i915_sw_fence *A, *B, *C; in test_AB_C() local 382 struct i915_sw_fence *A, *B, *C; in test_C_AB() local
|
/openbmc/linux/drivers/atm/ |
H A D | iphase.h | 74 #define IF_LOUD(A) IF_IADBG(IF_IADBG_LOUD) { A } argument 75 #define IF_ERR(A) IF_IADBG(IF_IADBG_ERR) { A } argument 76 #define IF_VERY_LOUD(A) IF_IADBG( IF_IADBG_VERY_LOUD ) { A } argument 78 #define IF_INIT_ADAPTER(A) IF_IADBG( IF_IADBG_INIT_ADAPTER ) { A } argument 79 #define IF_INIT(A) IF_IADBG( IF_IADBG_INIT_ADAPTER ) { A } argument 80 #define IF_SUNI_STAT(A) IF_IADBG( IF_IADBG_SUNI_STAT ) { A } argument 81 #define IF_QUERY_INFO(A) IF_IADBG( IF_IADBG_QUERY_INFO ) { A } argument 82 #define IF_COPY_OVER(A) IF_IADBG( IF_IADBG_COPY_OVER ) { A } argument 84 #define IF_INTR(A) IF_IADBG( IF_IADBG_INTR ) { A } argument 85 #define IF_DIS_INTR(A) IF_IADBG( IF_IADBG_DIS_INTR ) { A } argument [all …]
|
/openbmc/linux/lib/ |
H A D | dynamic_queue_limits.c | 14 #define POSDIFF(A, B) ((int)((A) - (B)) > 0 ? (A) - (B) : 0) argument 15 #define AFTER_EQ(A, B) ((int)((A) - (B)) >= 0) argument
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | btf_dump_test_case_namespacing.c | 30 struct A {}; struct 35 A = 1, enumerator
|
/openbmc/u-boot/arch/x86/lib/ |
H A D | bios.h | 35 #define DOWNTO8(A) \ argument 50 #define DOWNTO16(A) \ argument
|
/openbmc/linux/tools/testing/selftests/powerpc/stringloops/asm/ |
H A D | ppc_asm.h | 10 #define _GLOBAL(A) FUNC_START(test_ ## A) argument 11 #define _GLOBAL_TOC(A) FUNC_START(test_ ## A) argument
|
/openbmc/libcper/include/libcper/ |
H A D | BaseTypes.h | 86 #define SIGNATURE_16(A, B) ((A) | ((B) << 8)) argument 102 #define SIGNATURE_32(A, B, C, D) \ argument
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvhw/ |
H A D | drf.h | 66 #define NVVAL(A...) NVVAL_(X, ##A, NVVAL_I, NVVAL_N)(X, ##A) argument 71 #define NVDEF(A...) NVDEF_(X, ##A, NVDEF_I, NVDEF_N)(X, ##A) argument 77 #define NVVAL_GET(A...) NVVAL_GET_(X, ##A, NVVAL_GET_I, NVVAL_GET_N)(X, ##A) argument 83 #define NVVAL_TEST(A...) NVVAL_TEST_(X, ##A, NVVAL_TEST_I, NVVAL_TEST_N)(X, ##A) argument 88 #define NVDEF_TEST(A...) NVDEF_TEST_(X, ##A, NVDEF_TEST_I, NVDEF_TEST_N)(X, ##A) argument 94 #define NVVAL_SET(A...) NVVAL_SET_(X, ##A, NVVAL_SET_I, NVVAL_SET_N)(X, ##A) argument 99 #define NVDEF_SET(A...) NVDEF_SET_(X, ##A, NVDEF_SET_I, NVDEF_SET_N)(X, ##A) argument 108 #define NVVAL_MW_GET(A...) NVVAL_MW_GET_(X, ##A, NVVAL_MW_GET_I, NVVAL_MW_GET_N)(X, ##A) argument 118 #define NVVAL_MW_SET(A...) NVVAL_MW_SET_(X, ##A, NVVAL_MW_SET_I, NVVAL_MW_SET_N)(X, ##A) argument 123 #define NVDEF_MW_SET(A...) NVDEF_MW_SET_(X, ##A, NVDEF_MW_SET_I, NVDEF_MW_SET_N)(X, ##A) argument [all …]
|
/openbmc/qemu/tests/tcg/ppc64/ |
H A D | bcdsub.c | 19 #define BCDSUB(T, A, B, PS) \ argument 23 #define BCDSUB(T, A, B, PS) "bcdsub. " #T ", " #A ", " #B ", " #PS "\n\t" argument
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_gt_pm.c | 15 static int cmp_u64(const void *A, const void *B) in cmp_u64() 27 static int cmp_u32(const void *A, const void *B) in cmp_u32()
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | crc32-vpmsum_core.S | 59 #define VPERM(A, B, C, D) vperm A, B, C, D argument 61 #define VPERM(A, B, C, D) argument
|
/openbmc/linux/tools/virtio/linux/ |
H A D | thread_info.h | 1 #define check_copy_size(A, B, C) (1) argument
|