/openbmc/linux/arch/microblaze/include/asm/ |
H A D | io.h | 39 #define out_be16(a, v) __raw_writew((v), (a)) argument 41 #define in_be32(a) __raw_readl((const void __iomem __force *)(a)) argument 42 #define in_be16(a) __raw_readw(a) argument 44 #define writel_be(v, a) out_be32((__force unsigned *)a, v) argument 45 #define readl_be(a) in_be32((__force unsigned *)a) argument 48 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a)) argument 49 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a)) argument 51 #define in_le32(a) __le32_to_cpu(__raw_readl(a)) argument 52 #define in_le16(a) __le16_to_cpu(__raw_readw(a)) argument 55 #define out_8(a, v) __raw_writeb((v), (a)) argument [all …]
|
/openbmc/linux/fs/smb/common/ |
H A D | cifs_md4.c | 50 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 51 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 52 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 56 u32 a, b, c, d; in md4_transform() local 58 a = hash[0]; in md4_transform() 63 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 64 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 67 ROUND1(a, b, c, d, in[4], 3); in md4_transform() 68 ROUND1(d, a, b, c, in[5], 7); in md4_transform() 71 ROUND1(a, b, c, d, in[8], 3); in md4_transform() [all …]
|
/openbmc/u-boot/fs/yaffs2/ |
H A D | yaffs_qsort.c | 24 #define SWAPINIT(a, es) swaptype = ((char *)a - (char *)0) % sizeof(long) || \ argument 45 #define vecswap(a, b, n) if ((n) > 0) swapfunc(a, b, n, swaptype) argument 51 (cmp(b, c) < 0 ? b : (cmp(a, c) < 0 ? c : a)) in med3() 52 : (cmp(b, c) > 0 ? b : (cmp(a, c) < 0 ? a : c)); in med3() 56 #define min(a, b) (((a) < (b)) ? (a) : (b)) argument 67 loop: SWAPINIT(a, es); in yaffs_qsort() 70 for (pm = (char *)a + es; pm < (char *) a + n * es; pm += es) in yaffs_qsort() 78 pl = (char *)a; in yaffs_qsort() 88 yswap(a, pm); in yaffs_qsort() 117 for (pm = (char *) a + es; pm < (char *) a + n * es; pm += es) in yaffs_qsort() [all …]
|
/openbmc/linux/drivers/scsi/esas2r/ |
H A D | esas2r_targdb.c | 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 64 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_remove_all() 74 a)); in esas2r_targ_db_remove_all() 76 a), in esas2r_targ_db_remove_all() 94 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_report_changes() 106 a)); in esas2r_targ_db_report_changes() 143 a)); in esas2r_targ_db_add_raid() 237 for (t = a->targetdb; t < a->targetdb_end; t++) in esas2r_targ_db_find_by_sas_addr() 250 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_find_by_ident() 281 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_find_by_virt_id() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvhw/class/ |
H A D | cl827d.h | 28 #define NV827D_HEAD_SET_BASE_LUT_LO(a) (0x00000840 + (a)*0… argument 36 #define NV827D_HEAD_SET_BASE_LUT_HI(a) (0x00000844 + (a)*0… argument 38 #define NV827D_HEAD_SET_CONTEXT_DMA_LUT(a) (0x0000085C + (a)*0… argument 40 #define NV827D_HEAD_SET_OFFSET(a,b) (0x00000860 + (a)*0… argument 42 #define NV827D_HEAD_SET_SIZE(a) (0x00000868 + (a)*0… argument 45 #define NV827D_HEAD_SET_STORAGE(a) (0x0000086C + (a)*0… argument 57 #define NV827D_HEAD_SET_PARAMS(a) (0x00000870 + (a)*0… argument 76 #define NV827D_HEAD_SET_CONTEXT_DMAS_ISO(a,b) (0x00000874 + (a)*0… argument 78 #define NV827D_HEAD_SET_CONTROL_CURSOR(a) (0x00000880 + (a)*0… argument 99 #define NV827D_HEAD_SET_OFFSET_CURSOR(a) (0x00000884 + (a)*0… argument [all …]
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | i440fx_fuzz.c | 51 } a; in ioport_fuzz_qtest() local 55 memcpy(&a, Data, sizeof(a)); in ioport_fuzz_qtest() 80 Size -= sizeof(a); in ioport_fuzz_qtest() 105 } a; in pciconfig_fuzz_qos() local 108 memcpy(&a, Data, sizeof(a)); in pciconfig_fuzz_qos() 111 bus->config_writeb(bus, a.devfn, a.offset, (uint8_t)a.value); in pciconfig_fuzz_qos() 114 bus->config_writew(bus, a.devfn, a.offset, (uint16_t)a.value); in pciconfig_fuzz_qos() 117 bus->config_writel(bus, a.devfn, a.offset, (uint32_t)a.value); in pciconfig_fuzz_qos() 120 bus->config_readb(bus, a.devfn, a.offset); in pciconfig_fuzz_qos() 123 bus->config_readw(bus, a.devfn, a.offset); in pciconfig_fuzz_qos() [all …]
|
/openbmc/qemu/tests/tcg/multiarch/ |
H A D | sha1.c | 97 R0(a,b,c,d,e, 0); R0(e,a,b,c,d, 1); R0(d,e,a,b,c, 2); R0(c,d,e,a,b, 3); in SHA1Transform() 98 R0(b,c,d,e,a, 4); R0(a,b,c,d,e, 5); R0(e,a,b,c,d, 6); R0(d,e,a,b,c, 7); in SHA1Transform() 99 R0(c,d,e,a,b, 8); R0(b,c,d,e,a, 9); R0(a,b,c,d,e,10); R0(e,a,b,c,d,11); in SHA1Transform() 100 R0(d,e,a,b,c,12); R0(c,d,e,a,b,13); R0(b,c,d,e,a,14); R0(a,b,c,d,e,15); in SHA1Transform() 101 R1(e,a,b,c,d,16); R1(d,e,a,b,c,17); R1(c,d,e,a,b,18); R1(b,c,d,e,a,19); in SHA1Transform() 102 R2(a,b,c,d,e,20); R2(e,a,b,c,d,21); R2(d,e,a,b,c,22); R2(c,d,e,a,b,23); in SHA1Transform() 103 R2(b,c,d,e,a,24); R2(a,b,c,d,e,25); R2(e,a,b,c,d,26); R2(d,e,a,b,c,27); in SHA1Transform() 104 R2(c,d,e,a,b,28); R2(b,c,d,e,a,29); R2(a,b,c,d,e,30); R2(e,a,b,c,d,31); in SHA1Transform() 105 R2(d,e,a,b,c,32); R2(c,d,e,a,b,33); R2(b,c,d,e,a,34); R2(a,b,c,d,e,35); in SHA1Transform() 106 R2(e,a,b,c,d,36); R2(d,e,a,b,c,37); R2(c,d,e,a,b,38); R2(b,c,d,e,a,39); in SHA1Transform() [all …]
|
/openbmc/linux/include/linux/ |
H A D | tnum.h | 34 struct tnum tnum_lshift(struct tnum a, u8 shift); 56 struct tnum tnum_cast(struct tnum a, u8 size); 59 static inline bool tnum_is_const(struct tnum a) in tnum_is_const() argument 61 return !a.mask; in tnum_is_const() 67 return tnum_is_const(a) && a.value == b; in tnum_equals_const() 73 return !~a.mask; in tnum_is_unknown() 79 bool tnum_is_aligned(struct tnum a, u64 size); 93 bool tnum_in(struct tnum a, struct tnum b); 106 struct tnum tnum_subreg(struct tnum a); 108 struct tnum tnum_clear_subreg(struct tnum a); [all …]
|
H A D | jiffies.h | 135 #define time_before(a,b) time_after(b,a) argument 155 #define time_before_eq(a,b) time_after_eq(b,a) argument 179 time_before(a,c)) 209 #define time_before64(a,b) time_after64(b,a) argument 235 #define time_before_eq64(a,b) time_after_eq64(b,a) argument 259 #define time_is_before_jiffies(a) time_after(jiffies, a) argument 266 #define time_is_before_jiffies64(a) time_after64(get_jiffies_64(), a) argument 274 #define time_is_after_jiffies(a) time_before(jiffies, a) argument 281 #define time_is_after_jiffies64(a) time_before64(get_jiffies_64(), a) argument 289 #define time_is_before_eq_jiffies(a) time_after_eq(jiffies, a) argument [all …]
|
/openbmc/qemu/target/arm/tcg/ |
H A D | translate-a64.c | 2590 handle_sys(s, a->l, a->op0, a->op1, a->op2, a->crn, a->crm, a->rt); in trans_SYS() 5862 a->esz, a->q, a->rd, a->rn, a->rm, -1, 5878 a->esz | MO_SIGN, a->q, a->rd, a->rn, a->rm, a->idx, 5881 a->esz, a->q, a->rd, a->rn, a->rm, a->idx, 5884 a->esz | MO_SIGN, a->q, a->rd, a->rn, a->rm, a->idx, 5887 a->esz, a->q, a->rd, a->rn, a->rm, a->idx, 5890 a->esz | MO_SIGN, a->q, a->rd, a->rn, a->rm, a->idx, 5893 a->esz, a->q, a->rd, a->rn, a->rm, a->idx, 6016 a->esz | MO_SIGN, a->q, a->rd, a->rn, a->rm, a->idx, 6019 a->esz | MO_SIGN, a->q, a->rd, a->rn, a->rm, a->idx, [all …]
|
H A D | translate.c | 3602 do_coproc_insn(s, a->cp, false, a->opc1, a->crn, a->crm, a->opc2, in trans_MCR() 3612 do_coproc_insn(s, a->cp, false, a->opc1, a->crn, a->crm, a->opc2, in trans_MRC() 4080 a->rm == a->rdahi || a->rm == a->rdalo) { in do_mve_shl_rr() 4618 gen_mrs_banked(s, a->r, a->sysm, a->rd); in DO_CRC32() 5186 .u = a->u, .w = a->w, .p = a->p, in trans_LDRD_ri_t32() 5222 .u = a->u, .w = a->w, .p = a->p, in trans_STRD_ri_t32() 5300 || a->rd == a->rn || a->rd == a->rt in op_strex() 6366 if (a->w && (a->list & (1 << a->rn))) { in trans_STM_t32() 6481 if (a->w && (a->list & (1 << a->rn))) { in trans_LDM_t32() 6491 a->w = !(a->list & (1 << a->rn)); in trans_LDM_t16() [all …]
|
/openbmc/ipmitool/src/plugins/lan/ |
H A D | md5.c | 204 t = a + F(b,c,d) + X[k] + Ti;\ in md5_process() 205 a = ROTATE_LEFT(t, s) + b in md5_process() 207 SET(a, b, c, d, 0, 7, T1); in md5_process() 208 SET(d, a, b, c, 1, 12, T2); in md5_process() 230 t = a + G(b,c,d) + X[k] + Ti;\ in md5_process() 231 a = ROTATE_LEFT(t, s) + b in md5_process() 256 t = a + H(b,c,d) + X[k] + Ti;\ in md5_process() 257 a = ROTATE_LEFT(t, s) + b in md5_process() 282 t = a + I(b,c,d) + X[k] + Ti;\ in md5_process() 283 a = ROTATE_LEFT(t, s) + b in md5_process() [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml_inline_defs.h | 34 return (double) dcn_bw_min2(a, b); in dml_min() 39 return dml_min(dml_min(a, b), c); in dml_min3() 49 return (double) dcn_bw_max2(a, b); in dml_max() 54 return dml_max(dml_max(a, b), c); in dml_max3() 77 static inline double dml_round(double a) in dml_round() argument 81 return dml_floor(a + round_pt, 1); in dml_round() 102 return (double) dcn_bw_pow(a, exp); in dml_pow() 144 static inline double dml_abs(double a) in dml_abs() argument 146 if (a > 0) in dml_abs() 147 return a; in dml_abs() [all …]
|
/openbmc/openbmc/poky/meta/conf/machine/include/arm/ |
H A D | arch-armv8-1a.inc | 1 DEFAULTTUNE ?= "armv8-1a" 3 TUNEVALID[armv8-1a] = "Enable instructions for ARMv8.1-a" 4 TUNE_CCARGS_MARCH .= "${@bb.utils.contains('TUNE_FEATURES', 'armv8-1a', ' -march=armv8.1-a', '', d)… 6 MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv8-1a', 'armv8-1a:', '', d)}" 10 AVAILTUNES += "armv8-1a armv8-1a-crypto" 11 ARMPKGARCH:tune-armv8-1a ?= "armv8-1a" 12 ARMPKGARCH:tune-armv8-1a-crypto ?= "armv8-1a" 13 TUNE_FEATURES:tune-armv8-1a = "aarch64 armv8-1a" 14 TUNE_FEATURES:tune-armv8-1a-crypto = "${TUNE_FEATURES:tune-armv8-1a} crypto" 15 PACKAGE_EXTRA_ARCHS:tune-armv8-1a = "${PACKAGE_EXTRA_ARCHS:tune-armv8a} armv8-1a" [all …]
|
/openbmc/linux/include/net/ |
H A D | tc_wrapper.h | 22 const struct tc_action *a, \ 53 if (a->ops->act == tcf_gact_act) in tc_act() 77 if (a->ops->act == tcf_bpf_act) in tc_act() 85 if (a->ops->act == tcf_csum_act) in tc_act() 89 if (a->ops->act == tcf_ct_act) in tc_act() 90 return tcf_ct_act(skb, a, res); in tc_act() 105 if (a->ops->act == tcf_nat_act) in tc_act() 117 if (a->ops->act == tcf_ife_act) in tc_act() 121 if (a->ops->act == tcf_ipt_act) in tc_act() 134 return a->ops->act(skb, a, res); in tc_act() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | jhash.h | 34 #define __jhash_mix(a, b, c) \ argument 36 a -= c; a ^= rol32(c, 4); c += b; \ 37 b -= a; b ^= rol32(a, 6); a += c; \ 38 c -= b; c ^= rol32(b, 8); b += a; \ 39 a -= c; a ^= rol32(c, 16); c += b; \ 40 b -= a; b ^= rol32(a, 19); a += c; \ 45 #define __jhash_final(a, b, c) \ argument 48 a ^= c; a -= rol32(c, 11); \ 49 b ^= a; b -= rol32(a, 25); \ 51 a ^= c; a -= rol32(c, 4); \ [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | affinity.c | 29 if (!a->orig_cpus) in affinity__setup() 33 if (!a->sched_cpus) { in affinity__setup() 34 zfree(&a->orig_cpus); in affinity__setup() 38 a->changed = false; in affinity__setup() 60 a->changed = true; in affinity__set() 61 __set_bit(cpu, a->sched_cpus); in affinity__set() 75 if (a->changed) in __affinity__cleanup() 77 zfree(&a->sched_cpus); in __affinity__cleanup() 78 zfree(&a->orig_cpus); in __affinity__cleanup() 83 if (a != NULL) in affinity__cleanup() [all …]
|
/openbmc/linux/include/net/tc_act/ |
H A D | tc_gact.h | 17 #define to_gact(a) ((struct tcf_gact *)a) argument 25 if (a->ops && a->ops->id != TCA_ID_GACT) in __is_tcf_gact_act() 28 gact = to_gact(a); in __is_tcf_gact_act() 39 return __is_tcf_gact_act(a, TC_ACT_OK, false); in is_tcf_gact_ok() 44 return __is_tcf_gact_act(a, TC_ACT_SHOT, false); in is_tcf_gact_shot() 49 return __is_tcf_gact_act(a, TC_ACT_TRAP, false); in is_tcf_gact_trap() 54 return __is_tcf_gact_act(a, TC_ACT_GOTO_CHAIN, true); in is_tcf_gact_goto_chain() 59 return READ_ONCE(a->tcfa_action) & TC_ACT_EXT_VAL_MASK; in tcf_gact_goto_chain_index() 64 return __is_tcf_gact_act(a, TC_ACT_UNSPEC, false); in is_tcf_gact_continue() 69 return __is_tcf_gact_act(a, TC_ACT_RECLASSIFY, false); in is_tcf_gact_reclassify() [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | softfloat-specialize | 12 of this code was written as part of a project to build a fixed-point vector 78 Returns 1 if the single-precision floating-point value `a' is a NaN; 98 return ( ( ( a>>22 ) & 0x1FF ) == 0x1FE ) && ( a & 0x003FFFFF ); 105 `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid 114 z.sign = a>>31; 130 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 ); 137 is a NaN, and returns the appropriate NaN result. If either `a' or `b' is a 170 Returns 1 if the double-precision floating-point value `a' is a NaN; 199 `a' to the canonical NaN format. If `a' is a signaling NaN, the invalid 234 is a NaN, and returns the appropriate NaN result. If either `a' or `b' is a [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvi.c.inc | 35 gen_set_gpri(ctx, a->rd, a->imm); 92 gen_jal(ctx, a->rd, a->imm); 127 if (a->rs1 != xRA && a->rs1 != xT0 && a->rs1 != xT2) { 287 TCGv addr = get_address(ctx, a->rs1, a->imm); 394 TCGv addr = get_address(ctx, a->rs1, a->imm); 1012 return do_csrr(ctx, a->rd, a->csr); 1041 return do_csrr(ctx, a->rd, a->csr); 1053 return do_csrrw_i128(ctx, a->rd, a->csr, 1102 return do_csrr(ctx, a->rd, a->csr); 1130 return do_csrr(ctx, a->rd, a->csr); [all …]
|
/openbmc/linux/drivers/target/iscsi/ |
H A D | iscsi_target_nodeattrib.c | 34 a->dataout_timeout = NA_DATAOUT_TIMEOUT; in iscsit_set_default_node_attribues() 36 a->nopin_timeout = NA_NOPIN_TIMEOUT; in iscsit_set_default_node_attribues() 40 a->random_r2t_offsets = NA_RANDOM_R2T_OFFSETS; in iscsit_set_default_node_attribues() 41 a->default_erl = tpg->tpg_attrib.default_erl; in iscsit_set_default_node_attribues() 62 a->dataout_timeout = dataout_timeout; in iscsit_na_dataout_timeout() 104 u32 orig_nopin_timeout = a->nopin_timeout; in iscsit_na_nopin_timeout() 118 a->nopin_timeout = nopin_timeout; in iscsit_na_nopin_timeout() 120 " Node %s\n", a->nopin_timeout, in iscsit_na_nopin_timeout() 170 " Initiator Node %s\n", a->nopin_timeout, in iscsit_na_nopin_response_timeout() 248 a->default_erl = default_erl; in iscsit_na_default_erl() [all …]
|
/openbmc/linux/crypto/ |
H A D | md4.c | 63 #define ROUND1(a,b,c,d,k,s) (a = lshift(a + F(b,c,d) + k, s)) argument 64 #define ROUND2(a,b,c,d,k,s) (a = lshift(a + G(b,c,d) + k + (u32)0x5A827999,s)) argument 65 #define ROUND3(a,b,c,d,k,s) (a = lshift(a + H(b,c,d) + k + (u32)0x6ED9EBA1,s)) argument 69 u32 a, b, c, d; in md4_transform() local 71 a = hash[0]; in md4_transform() 76 ROUND1(a, b, c, d, in[0], 3); in md4_transform() 77 ROUND1(d, a, b, c, in[1], 7); in md4_transform() 80 ROUND1(a, b, c, d, in[4], 3); in md4_transform() 81 ROUND1(d, a, b, c, in[5], 7); in md4_transform() 84 ROUND1(a, b, c, d, in[8], 3); in md4_transform() [all …]
|
/openbmc/linux/arch/sparc/crypto/ |
H A D | opcodes.h | 18 #define CRC32C(a,b,c) \ argument 30 #define AES_EROUND01(a,b,c,d) \ argument 32 #define AES_EROUND23(a,b,c,d) \ argument 34 #define AES_DROUND01(a,b,c,d) \ argument 48 #define AES_KEXPAND0(a,b,c) \ argument 50 #define AES_KEXPAND2(a,b,c) \ argument 53 #define DES_IP(a,b) \ argument 55 #define DES_IIP(a,b) \ argument 57 #define DES_KEXPAND(a,b,c) \ argument 59 #define DES_ROUND(a,b,c,d) \ argument [all …]
|
/openbmc/linux/include/asm-generic/ |
H A D | local64.h | 25 local_t a; member 30 #define local64_read(l) local_read(&(l)->a) 31 #define local64_set(l,i) local_set((&(l)->a),(i)) 32 #define local64_inc(l) local_inc(&(l)->a) 33 #define local64_dec(l) local_dec(&(l)->a) 34 #define local64_add(i,l) local_add((i),(&(l)->a)) 35 #define local64_sub(i,l) local_sub((i),(&(l)->a)) 47 return local_cmpxchg(&l->a, old, new); in local64_cmpxchg() 72 atomic64_t a; member 79 #define local64_inc(l) atomic64_inc(&(l)->a) [all …]
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | bitops-cas.h | 19 a += nr >> 5; in set_bit() 22 do old = *a; in set_bit() 31 a += nr >> 5; in clear_bit() 34 do old = *a; in clear_bit() 43 a += nr >> 5; in change_bit() 46 do old = *a; in change_bit() 55 a += nr >> 5; in test_and_set_bit() 58 do old = *a; in test_and_set_bit() 69 a += nr >> 5; in test_and_clear_bit() 72 do old = *a; in test_and_clear_bit() [all …]
|