/openbmc/linux/arch/sh/include/asm/ |
H A D | addrspace.h | 24 #define PXSEG(a) (((unsigned long)(a)) & 0xe0000000) argument 30 #define P1SEGADDR(a) \ argument 31 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P1SEG)) 33 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P2SEG)) 35 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P3SEG)) 37 ((__typeof__(a))(((unsigned long)(a) & 0x1fffffff) | P4SEG)) 42 #define P1SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument 43 #define P2SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument 44 #define P3SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument 45 #define P4SEGADDR(a) ({ (void)(a); BUG(); NULL; }) argument [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/ |
H A D | arch-armv8-6a.inc | 1 DEFAULTTUNE ?= "armv8-6a" 3 TUNEVALID[armv8-6a] = "Enable instructions for ARMv8.6-a" 6 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-6a', 'armv8-6a:', '', d)}" 10 AVAILTUNES += "armv8-6a armv8-6a-crypto armv8-6a-crypto-sve" 11 ARMPKGARCH:tune-armv8-6a ?= "armv8-6a" 12 ARMPKGARCH:tune-armv8-6a-crypto ?= "armv8-6a" 13 ARMPKGARCH:tune-armv8-6a-crypto-sve ?= "armv8-6a" 14 TUNE_FEATURES:tune-armv8-6a = "aarch64 armv8-6a" 15 TUNE_FEATURES:tune-armv8-6a-crypto = "${TUNE_FEATURES:tune-armv8-6a} crypto" 18 PACKAGE_EXTRA_ARCHS:tune-armv8-6a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-6a} armv8-6a-crypt… [all …]
|
H A D | arch-armv8-3a.inc | 1 DEFAULTTUNE ?= "armv8-3a" 3 TUNEVALID[armv8-3a] = "Enable instructions for ARMv8.3-a" 6 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-3a', 'armv8-3a:', '', d)}" 10 AVAILTUNES += "armv8-3a armv8-3a-crypto armv8-3a-crypto-sve" 11 ARMPKGARCH:tune-armv8-3a ?= "armv8-3a" 12 ARMPKGARCH:tune-armv8-3a-crypto ?= "armv8-3a" 13 ARMPKGARCH:tune-armv8-3a-crypto-sve ?= "armv8-3a" 14 TUNE_FEATURES:tune-armv8-3a = "aarch64 armv8-3a" 15 TUNE_FEATURES:tune-armv8-3a-crypto = "${TUNE_FEATURES:tune-armv8-3a} crypto" 18 PACKAGE_EXTRA_ARCHS:tune-armv8-3a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-3a} armv8-3a-crypt… [all …]
|
H A D | arch-armv8-4a.inc | 1 DEFAULTTUNE ?= "armv8-4a" 3 TUNEVALID[armv8-4a] = "Enable instructions for ARMv8.4-a" 6 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-4a', 'armv8-4a:', '', d)}" 12 AVAILTUNES += "armv8-4a armv8-4a-crypto armv8-4a-crypto-sve" 13 ARMPKGARCH:tune-armv8-4a ?= "armv8-4a" 14 ARMPKGARCH:tune-armv8-4a-crypto ?= "armv8-4a" 15 ARMPKGARCH:tune-armv8-4a-crypto-sve ?= "armv8-4a" 16 TUNE_FEATURES:tune-armv8-4a = "aarch64 armv8-4a" 17 TUNE_FEATURES:tune-armv8-4a-crypto = "${TUNE_FEATURES:tune-armv8-4a} crypto" 20 PACKAGE_EXTRA_ARCHS:tune-armv8-4a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-4a} armv8-4a-crypt… [all …]
|
H A D | arch-armv8-5a.inc | 1 DEFAULTTUNE ?= "armv8-5a" 3 TUNEVALID[armv8-5a] = "Enable instructions for ARMv8.5-a" 6 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-5a', 'armv8-5a:', '', d)}" 12 AVAILTUNES += "armv8-5a armv8-5a-crypto armv8-5a-crypto-sve" 13 ARMPKGARCH:tune-armv8-5a ?= "armv8-5a" 14 ARMPKGARCH:tune-armv8-5a-crypto ?= "armv8-5a" 15 ARMPKGARCH:tune-armv8-5a-crypto-sve ?= "armv8-5a" 16 TUNE_FEATURES:tune-armv8-5a = "aarch64 armv8-5a" 17 TUNE_FEATURES:tune-armv8-5a-crypto = "${TUNE_FEATURES:tune-armv8-5a} crypto" 20 PACKAGE_EXTRA_ARCHS:tune-armv8-5a-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8-5a} armv8-5a-crypt… [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | addrspace.h | 45 #define KSEGX(a) ((_ACAST32_ (a)) & 0xe0000000) argument 51 #define XPHYSADDR(a) ((_ACAST64_(a)) & \ argument 77 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 78 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 79 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument 80 #define CKSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) argument 85 #define KSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 86 #define KSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 87 #define KSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument 88 #define KSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) argument [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/include/ |
H A D | instructions.h | 77 #define __PPC_RA(a) (((a) & 0x1f) << 16) argument 117 #define PLBZ(t, a, r, d) PREFIX_MLS(PPC_INST_LBZ, t, a, r, d) argument 118 #define PLHZ(t, a, r, d) PREFIX_MLS(PPC_INST_LHZ, t, a, r, d) argument 119 #define PLHA(t, a, r, d) PREFIX_MLS(PPC_INST_LHA, t, a, r, d) argument 120 #define PLWZ(t, a, r, d) PREFIX_MLS(PPC_INST_LWZ, t, a, r, d) argument 121 #define PLWA(t, a, r, d) PREFIX_8LS(0xa4000000, t, a, r, d) argument 122 #define PLD(t, a, r, d) PREFIX_8LS(0xe4000000, t, a, r, d) argument 123 #define PLQ(t, a, r, d) PREFIX_8LS(0xe0000000, t, a, r, d) argument 127 #define PSTD(s, a, r, d) PREFIX_8LS(0xf4000000, s, a, r, d) argument 128 #define PSTQ(s, a, r, d) PREFIX_8LS(0xf0000000, s, a, r, d) argument [all …]
|
/openbmc/qemu/target/ppc/translate/ |
H A D | fixedpoint-impl.c.inc | 236 gen_op_cmp32(cpu_gpr[a->ra], cpu_gpr[a->rb], s, a->bf); 242 gen_op_cmp(cpu_gpr[a->ra], cpu_gpr[a->rb], s, a->bf); 244 gen_op_cmp32(cpu_gpr[a->ra], cpu_gpr[a->rb], s, a->bf); 444 tcg_gen_muli_tl(cpu_gpr[a->rt], cpu_gpr[a->ra], a->si); 865 tcg_gen_andi_tl(cpu_gpr[a->ra], cpu_gpr[a->rt], shift ? a->ui << 16 : a->ui); 872 if (a->rt == a->ra && a->ui == 0) { 876 tcg_gen_ori_tl(cpu_gpr[a->ra], cpu_gpr[a->rt], shift ? a->ui << 16 : a->ui); 882 if (a->rt == a->ra && a->ui == 0) { 886 tcg_gen_xori_tl(cpu_gpr[a->ra], cpu_gpr[a->rt], shift ? a->ui << 16 : a->ui); 913 if (a->rt != a->ra || a->rt != a->rb) { [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | des.c | 632 a = k[7]; a &= 0x0e; a <<= 4; a |= k[3] & 0x1e; a = pc1[a]; in des_ekey() 636 pe[13 * 2 + 0] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in des_ekey() 660 a = k[3]; a &= 0xe0; a >>= 4; a |= k[7] & 0xf0; a = pc1[a + 1]; in des_ekey() 723 a = k[7]; a &= 0x0e; a <<= 4; a |= k[3] & 0x1e; a = pc1[a]; in dkey() 727 pe[ 2 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey() 729 pe[ 4 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey() 731 pe[ 6 * 2] = DES_PC2(b, c, d, a); a = rs[a]; d = rs[d]; in dkey() 733 pe[ 8 * 2] = DES_PC2(c, d, a, b); b = rs[b]; a = rs[a]; in dkey() 735 pe[10 * 2] = DES_PC2(c, d, a, b); b = rs[b]; a = rs[a]; in dkey() 737 pe[12 * 2] = DES_PC2(c, d, a, b); b = rs[b]; a = rs[a]; in dkey() [all …]
|
H A D | memneq.c | 74 neq |= get_unaligned((unsigned long *)a) ^ in __crypto_memneq_generic() 77 a += sizeof(unsigned long); in __crypto_memneq_generic() 85 a += 1; in __crypto_memneq_generic() 99 neq |= get_unaligned((unsigned long *)a) ^ in __crypto_memneq_16() 102 neq |= get_unaligned((unsigned long *)(a + 8)) ^ in __crypto_memneq_16() 106 neq |= get_unaligned((unsigned int *)a) ^ in __crypto_memneq_16() 109 neq |= get_unaligned((unsigned int *)(a + 4)) ^ in __crypto_memneq_16() 112 neq |= get_unaligned((unsigned int *)(a + 8)) ^ in __crypto_memneq_16() 115 neq |= get_unaligned((unsigned int *)(a + 12)) ^ in __crypto_memneq_16() 168 return __crypto_memneq_16(a, b); in __crypto_memneq() [all …]
|
/openbmc/qemu/fpu/ |
H A D | softfloat.c | 977 a->frac_hi = a->frac_lo = -1; in frac128_allones() 1010 a->frac_hi = a->frac_lo = 0; in frac128_clear() 1053 a0 = a->frac_hi, a1 = a->frac_lo; in frac128_div() 1123 a->frac = -a->frac; in frac64_neg() 1158 a->frac_hi = shl_double(a->frac_hi, a->frac_lo, shl); in frac128_normalize() 1281 a->sign = !a->sign; in frac64_modrem() 1370 a->sign = !a->sign; in frac128_modrem() 1572 r->frac_lo = a->frac_hm | ((a->frac_lm | a->frac_lo) != 0); in frac128_truncjam() 4011 a = int128_neg(a); in int128_to_float128() 4020 a = int128_lshift(a, shift); in int128_to_float128() [all …]
|
/openbmc/linux/arch/alpha/include/asm/ |
H A D | io_trivial.h | 24 __kernel_stb(b, *(volatile u8 __force *)a); in IO_CONCAT() 38 return *(const volatile u32 __force *)a; in IO_CONCAT() 44 *(volatile u32 __force *)a = b; in IO_CONCAT() 50 return *(const volatile u64 __force *)a; in IO_CONCAT() 56 *(volatile u64 __force *)a = b; in IO_CONCAT() 102 void __iomem *addr = (void __iomem *)a; in IO_CONCAT() 109 void __iomem *addr = (void __iomem *)a; in IO_CONCAT() 118 return *(const volatile u32 __force *)a; in IO_CONCAT() 124 return *(const volatile u64 __force *)a; in IO_CONCAT() 130 *(volatile u32 __force *)a = b; in IO_CONCAT() [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvf.c.inc | 56 addr = get_address(ctx, a->rs1, a->imm); 57 dest = cpu_fpr[a->rd]; 78 addr = get_address(ctx, a->rs1, a->imm); 105 gen_set_rm(ctx, a->rm); 122 gen_set_rm(ctx, a->rm); 139 gen_set_rm(ctx, a->rm); 156 gen_set_rm(ctx, a->rm); 172 gen_set_rm(ctx, a->rm); 250 if (a->rs1 == a->rs2) { /* FMOV */ 293 if (a->rs1 == a->rs2) { /* FNEG */ [all …]
|
H A D | trans_rvzfa.c.inc | 291 gen_set_rm(ctx, a->rm); 308 gen_set_rm(ctx, a->rm); 325 gen_set_rm(ctx, a->rm); 342 gen_set_rm(ctx, a->rm); 359 gen_set_rm(ctx, a->rm); 376 gen_set_rm(ctx, a->rm); 398 gen_set_gpr(ctx, a->rd, dst); 414 gen_set_gpr(ctx, a->rd, dst); 444 gen_set_gpr(ctx, a->rd, dest); 459 gen_set_gpr(ctx, a->rd, dest); [all …]
|
H A D | trans_xthead.c.inc | 164 if (a->lsb <= a->msb) { 165 f(dest, source, a->lsb, a->msb - a->lsb + 1); 350 TCGv addr = get_th_address_indexed(ctx, a->rs1, a->rs2, a->imm2, zext_offs); 370 TCGv addr = get_th_address_indexed(ctx, a->rs1, a->rs2, a->imm2, zext_offs); 562 if (a->rs1 == a->rd) { 566 int imm = a->imm5 << a->imm2; 586 int imm = a->imm5 << a->imm2; 744 TCGv addr = get_th_address_indexed(ctx, a->rs1, a->rs2, a->imm2, zext_offs); 761 TCGv addr = get_th_address_indexed(ctx, a->rs1, a->rs2, a->imm2, zext_offs); 910 if (a->rs == a->rd1 || a->rs == a->rd2 || a->rd1 == a->rd2) { [all …]
|
/openbmc/linux/arch/mips/include/asm/ |
H A D | addrspace.h | 54 #define XPHYSADDR(a) ((_ACAST64_(a)) & \ argument 73 #define CKSEG0ADDR(a) (CPHYSADDR(a) | CKSEG0) argument 74 #define CKSEG1ADDR(a) (CPHYSADDR(a) | CKSEG1) argument 80 #define CKSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 81 #define CKSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 82 #define CKSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument 83 #define CKSEG3ADDR(a) (CPHYSADDR(a) | KSEG3) argument 88 #define KSEG0ADDR(a) (CPHYSADDR(a) | KSEG0) argument 89 #define KSEG1ADDR(a) (CPHYSADDR(a) | KSEG1) argument 90 #define KSEG2ADDR(a) (CPHYSADDR(a) | KSEG2) argument [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_jhash.h | 14 a -= c; a ^= rol32(c, 4); c += b; \ 15 b -= a; b ^= rol32(a, 6); a += c; \ 17 a -= c; a ^= rol32(c, 16); c += b; \ 18 b -= a; b ^= rol32(a, 19); a += c; \ 25 a ^= c; a -= rol32(c, 11); \ 26 b ^= a; b -= rol32(a, 25); \ 28 a ^= c; a -= rol32(c, 4); \ 29 b ^= a; b -= rol32(a, 14); \ 38 u32 a, b, c; in jhash() local 63 case 1: a += k[0]; in jhash() [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | softfloat.c | 789 absA = aSign ? - a : a; in int32_to_float64() 815 absA = zSign ? - a : a; in int32_to_floatx80() 979 return propagateFloat32NaN( a, a ); in float32_round_to_int() 985 if ( (bits32) ( a<<1 ) == 0 ) return a; in float32_round_to_int() 1541 return ( a == b ) || ( aSign ^ ( a < b ) ); in float32_le() 1565 return ( a != b ) && ( aSign ^ ( a < b ) ); in float32_lt() 1612 return ( a == b ) || ( aSign ^ ( a < b ) ); in float32_le_quiet() 1637 return ( a != b ) && ( aSign ^ ( a < b ) ); in float32_lt_quiet() 1874 return propagateFloat64NaN( a, a ); in float64_round_to_int() 1879 if ( (bits64) ( a<<1 ) == 0 ) return a; in float64_round_to_int() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | vax_helper.c | 33 CPU_FloatU a; in float32_to_f() local 35 a.f = fa; in float32_to_f() 37 exp = (a.l >> 23) & 0xff; in float32_to_f() 68 exp = ((a >> 55) & 0x80) | ((a >> 52) & 0x7f); in f_to_float32() 69 mant_sig = ((a >> 32) & 0x80000000) | ((a >> 29) & 0x007fffff); in f_to_float32() 86 uint32_t helper_f_to_memory(uint64_t a) in helper_f_to_memory() argument 101 if (!(a & 0x00004000)) { in helper_memory_to_f() 164 CPU_DoubleU a; in float64_to_g() local 166 a.d = fa; in float64_to_g() 168 exp = (a.ll >> 52) & 0x7ff; in float64_to_g() [all …]
|
/openbmc/linux/include/net/tc_act/ |
H A D | tc_skbedit.h | 29 #define to_skbedit(a) ((struct tcf_skbedit *)a) argument 37 if (a->ops && a->ops->id == TCA_ID_SKBEDIT) { in is_tcf_skbedit_with_flag() 39 flags = rcu_dereference(to_skbedit(a)->params)->flags; in is_tcf_skbedit_with_flag() 50 return is_tcf_skbedit_with_flag(a, SKBEDIT_F_MARK); in is_tcf_skbedit_mark() 58 mark = rcu_dereference(to_skbedit(a)->params)->mark; in tcf_skbedit_mark() 67 return is_tcf_skbedit_with_flag(a, SKBEDIT_F_PTYPE); in is_tcf_skbedit_ptype() 75 ptype = rcu_dereference(to_skbedit(a)->params)->ptype; in tcf_skbedit_ptype() 123 return is_tcf_skbedit_queue_mapping(a) && in is_tcf_skbedit_tx_queue_mapping() 124 !is_tcf_skbedit_ingress(a->tcfa_flags); in is_tcf_skbedit_tx_queue_mapping() 129 return is_tcf_skbedit_queue_mapping(a) && in is_tcf_skbedit_rx_queue_mapping() [all …]
|
/openbmc/qemu/target/hppa/ |
H A D | translate.c | 1706 return do_floadw(ctx, a->t, a->b, a->x, a->scale ? 2 : 0, in trans_fldw() 1731 return do_floadd(ctx, a->t, a->b, a->x, a->scale ? 3 : 0, in trans_fldd() 3306 return do_load(ctx, a->t, a->b, a->x, a->scale ? a->size : 0, in trans_ld() 3307 a->disp, a->sp, a->m, a->size | MO_TE); in trans_ld() 3316 return do_store(ctx, a->t, a->b, a->disp, a->sp, a->m, a->size | MO_TE); in trans_st() 3513 a->c, a->f, a->d, a->n, a->disp); in trans_cmpb() 3523 a->c, a->f, a->d, a->n, a->disp); in trans_cmpbi() 3573 return do_addb(ctx, a->r2, load_gpr(ctx, a->r1), a->c, a->f, a->n, a->disp); in trans_addb() 3579 return do_addb(ctx, a->r, tcg_constant_i64(a->i), a->c, a->f, a->n, a->disp); in trans_addbi() 3939 return do_dep_sar(ctx, a->t, a->c, a->d, a->nz, a->len, in trans_dep_sar() [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-sme.c | 162 t_za = get_tile_rowcol(s, a->esz, a->rs, a->za_imm, a->v); in trans_MOVA() 169 if (a->v) { in trans_MOVA() 171 if (a->to_vec) { in trans_MOVA() 178 if (a->to_vec) { in trans_MOVA() 228 t_za = get_tile_rowcol(s, a->esz, a->rs, a->za_imm, a->v); in trans_LDST1() 232 tcg_gen_shli_i64(addr, cpu_reg(s, a->rm), a->esz); in trans_LDST1() 239 desc = make_svemte_desc(s, streaming_vec_reg_size(s), 1, a->esz, a->st, 0); in trans_LDST1() 241 fns[a->esz][be][a->v][mte][a->st](tcg_env, t_za, t_pg, addr, in trans_LDST1() 251 int imm = a->imm; in do_ldst_r() 279 za = get_tile(s, esz, a->zad); in TRANS_FEAT() [all …]
|
/openbmc/linux/arch/parisc/include/asm/ |
H A D | hash.h | 33 u32 a, b, c; in __hash_32() local 40 b = x << 9; a += x; in __hash_32() 41 c = x << 23; b += a; in __hash_32() 131 _ASSIGN(b, a*5); c = a << 13; in hash_64() 132 b = (b << 2) + a; _ASSIGN(d, a << 17); in hash_64() 133 a = b + (a << 1); c += d; in hash_64() 134 d = a << 10; _ASSIGN(a, a << 19); in hash_64() 135 d = a - d; _ASSIGN(a, a << 4, "X" (d)); in hash_64() 136 c += b; a += b; in hash_64() 140 a += b; in hash_64() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | io.h | 102 #define __raw_readb(a) __arch_getb(a) argument 103 #define __raw_readw(a) __arch_getw(a) argument 153 #define in_le64(a) in_arch(q,le64,a) argument 154 #define in_le32(a) in_arch(l,le32,a) argument 155 #define in_le16(a) in_arch(w,le16,a) argument 160 #define in_be32(a) in_arch(l,be32,a) argument 161 #define in_be16(a) in_arch(w,be16,a) argument 165 #define out_8(a,v) __raw_writeb(v,a) argument 167 #define in_32(a) __raw_readl(a) argument 168 #define in_16(a) __raw_readw(a) argument [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display_reg_defs.h | 18 #define _PIPE(pipe, a, b) _PICK_EVEN(pipe, a, b) argument 19 #define _PLANE(plane, a, b) _PICK_EVEN(plane, a, b) argument 20 #define _TRANS(tran, a, b) _PICK_EVEN(tran, a, b) argument 21 #define _PORT(port, a, b) _PICK_EVEN(port, a, b) argument 22 #define _PLL(pll, a, b) _PICK_EVEN(pll, a, b) argument 23 #define _PHY(phy, a, b) _PICK_EVEN(phy, a, b) argument 25 #define _MMIO_PIPE(pipe, a, b) _MMIO(_PIPE(pipe, a, b)) argument 29 #define _MMIO_PLL(pll, a, b) _MMIO(_PLL(pll, a, b)) argument 30 #define _MMIO_PHY(phy, a, b) _MMIO(_PHY(phy, a, b)) argument 32 #define _MMIO_PIPE3(pipe, a, b, c) _MMIO(_PICK_EVEN_2RANGES(pipe, 1, a, a, b, c)) argument [all …]
|