/openbmc/qemu/tests/tcg/openrisc/ |
H A D | test_extx.c | 5 int a, b; in main() local 12 : "=r"(a) in main() 15 if (a != result) { in main() 23 : "=r"(a) in main() 26 if (a != result) { in main() 35 : "=r"(a) in main() 38 if (a != result) { in main() 46 : "=r"(a) in main() 49 if (a != result) { in main() 58 : "=r"(a) in main() [all …]
|
H A D | test_and_or.c | 5 int a, b, c; in main() local 13 : "=r"(a) in main() 16 if (a != result) { in main() 24 : "=r"(a) in main() 27 if (a != result) { in main() 35 : "=r"(a) in main() 38 if (a != result) { in main() 46 : "=r"(a) in main() 49 if (a != result) { in main() 56 : "=r"(a) in main() [all …]
|
/openbmc/qemu/target/alpha/ |
H A D | fpu_helper.c | 189 CPU_FloatU a; in float32_to_s() local 190 a.f = fa; in float32_to_s() 196 return ((a >> 32) & 0xc0000000) | ((a >> 29) & 0x3fffffff); in s_to_float32_int() 220 fa = s_to_float32(a); in helper_adds() 232 fa = s_to_float32(a); in helper_subs() 244 fa = s_to_float32(a); in helper_muls() 256 fa = s_to_float32(a); in helper_divs() 268 fa = s_to_float32(a); in helper_sqrts() 281 r.ll = a; in t_to_float64() 297 fa = t_to_float64(a); in helper_addt() [all …]
|
/openbmc/linux/include/net/tc_act/ |
H A D | tc_mpls.h | 28 #define to_mpls(a) ((struct tcf_mpls *)a) argument 30 static inline bool is_tcf_mpls(const struct tc_action *a) in is_tcf_mpls() argument 33 if (a->ops && a->ops->id == TCA_ID_MPLS) in is_tcf_mpls() 39 static inline u32 tcf_mpls_action(const struct tc_action *a) in tcf_mpls_action() argument 61 static inline u32 tcf_mpls_label(const struct tc_action *a) in tcf_mpls_label() argument 72 static inline u8 tcf_mpls_tc(const struct tc_action *a) in tcf_mpls_tc() argument 77 tcfm_tc = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_tc; in tcf_mpls_tc() 83 static inline u8 tcf_mpls_bos(const struct tc_action *a) in tcf_mpls_bos() argument 88 tcfm_bos = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_bos; in tcf_mpls_bos() 94 static inline u8 tcf_mpls_ttl(const struct tc_action *a) in tcf_mpls_ttl() argument [all …]
|
H A D | tc_vlan.h | 27 #define to_vlan(a) ((struct tcf_vlan *)a) argument 29 static inline bool is_tcf_vlan(const struct tc_action *a) in is_tcf_vlan() argument 32 if (a->ops && a->ops->id == TCA_ID_VLAN) in is_tcf_vlan() 38 static inline u32 tcf_vlan_action(const struct tc_action *a) in tcf_vlan_action() argument 43 tcfv_action = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_action; in tcf_vlan_action() 49 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) in tcf_vlan_push_vid() argument 54 tcfv_push_vid = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_vid; in tcf_vlan_push_vid() 60 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) in tcf_vlan_push_proto() argument 71 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) in tcf_vlan_push_prio() argument 76 tcfv_push_prio = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_prio; in tcf_vlan_push_prio() [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_fixed.h | 80 static inline s64 drm_int2fixp(int a) in drm_int2fixp() argument 82 return ((s64)a) << DRM_FIXED_POINT; in drm_int2fixp() 87 return ((s64)a) >> DRM_FIXED_POINT; in drm_fixp2int() 97 if (a >= 0) in drm_fixp2int_ceil() 108 if (((a >> shift) & 1) != sign) in drm_fixp_msbset() 121 a >>= (shift >> 1) + (shift & 1); in drm_fixp_mul() 126 result = a * b; in drm_fixp_mul() 142 a <<= shift; in drm_fixp_div() 147 result = div64_s64(a, b); in drm_fixp_div() 158 bool a_neg = a < 0; in drm_fixp_from_fraction() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | subdev.h | 83 #define nvkm_printk__(s,l,p,f,a...) nvkm_printk___((s), (s), (l), p, f, ##a) argument 84 #define nvkm_printk_(s,l,p,f,a...) nvkm_printk__((s), (l), p, " "f, ##a) argument 85 #define nvkm_printk(s,l,p,f,a...) nvkm_printk_((s), NV_DBG_##l, p, f, ##a) argument 86 #define nvkm_fatal(s,f,a...) nvkm_printk((s), FATAL, crit, f, ##a) argument 87 #define nvkm_error(s,f,a...) nvkm_printk((s), ERROR, err, f, ##a) argument 88 #define nvkm_warn(s,f,a...) nvkm_printk((s), WARN, notice, f, ##a) argument 89 #define nvkm_info(s,f,a...) nvkm_printk((s), INFO, info, f, ##a) argument 90 #define nvkm_debug(s,f,a...) nvkm_printk((s), DEBUG, info, f, ##a) argument 91 #define nvkm_trace(s,f,a...) nvkm_printk((s), TRACE, info, f, ##a) argument 92 #define nvkm_spam(s,f,a...) nvkm_printk((s), SPAM, dbg, f, ##a) argument [all …]
|
/openbmc/qemu/target/xtensa/ |
H A D | fpu_helper.c | 146 return float32_add(a, b, &env->fp_status); in HELPER() 151 return float32_sub(a, b, &env->fp_status); in HELPER() 156 return float32_mul(a, b, &env->fp_status); in HELPER() 175 return float64_add(a, b, &env->fp_status); in HELPER() 181 return float32_add(a, b, &env->fp_status); in HELPER() 187 return float64_sub(a, b, &env->fp_status); in HELPER() 193 return float32_sub(a, b, &env->fp_status); in HELPER() 199 return float64_mul(a, b, &env->fp_status); in HELPER() 205 return float32_mul(a, b, &env->fp_status); in HELPER() 402 return float64_lt(a, b, &env->fp_status); in HELPER() [all …]
|
/openbmc/linux/arch/powerpc/crypto/ |
H A D | md5-asm.S | 69 add a,a,rT0; /* 1: a = a + f */ \ 72 add a,a,w0; /* 1: a = a + wk */ \ 76 add a,a,b; /* 1: a = a + b */ \ 91 add a,a,rT0; /* 1: a = a + f */ \ 93 add a,a,w0; /* 1: a = a + wk */ \ 97 add a,a,b; /* 1: a = a + b */ \ 110 add a,a,rT1; /* 1: a = a + f */ \ 112 add a,a,w0; /* 1: a = a + wk */ \ 116 add a,a,b; /* 1: a = a + b */ \ 127 add a,a,w0; /* 1: a = a + wk */ \ [all …]
|
/openbmc/u-boot/arch/mips/include/asm/ |
H A D | bitops.h | 207 *a |= mask; in __test_and_set_bit() 259 *a &= ~mask; in __test_and_clear_bit() 310 *a ^= mask; in __test_and_change_bit() 336 *a |= mask; in set_bit() 356 *a |= mask; in __set_bit() 378 *a &= ~mask; in clear_bit() 400 *a ^= mask; in change_bit() 438 *a |= mask; in test_and_set_bit() 461 *a |= mask; in __test_and_set_bit() 530 *a ^= mask; in test_and_change_bit() [all …]
|
/openbmc/qemu/target/loongarch/insn_trans/ |
H A D | trans_fmov.c.inc | 13 TCGv dest = get_fpr(ctx, a->fd); 14 TCGv src1 = get_fpr(ctx, a->fj); 15 TCGv src2 = get_fpr(ctx, a->fk); 27 set_fpr(a->fd, dest); 35 TCGv dest = get_fpr(ctx, a->fd); 36 TCGv src = get_fpr(ctx, a->fj); 44 set_fpr(a->fd, dest); 53 TCGv dest = get_fpr(ctx, a->fd); 62 set_fpr(a->fd, dest); 71 TCGv src = get_fpr(ctx, a->fj); [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvbf16.c.inc | 42 TCGv_i64 dest = dest_fpr(ctx, a->rd); 43 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1); 45 gen_set_rm(ctx, a->rm); 47 gen_set_fpr_hs(ctx, a->rd, dest); 57 TCGv_i64 dest = dest_fpr(ctx, a->rd); 58 TCGv_i64 src1 = get_fpr_hs(ctx, a->rs1); 60 gen_set_rm(ctx, a->rm); 62 gen_set_fpr_hs(ctx, a->rd, dest); 131 vext_check_dss(ctx, a->rd, a->rs1, a->rs2, a->vm)) { 162 vext_check_ds(ctx, a->rd, a->rs2, a->vm)) { [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvif/ |
H A D | fifo.c | 34 } *a; in nvif_fifo_runlists() local 40 if (!(a = kmalloc(sizeof(*a), GFP_KERNEL))) in nvif_fifo_runlists() 42 a->m.version = 1; in nvif_fifo_runlists() 43 a->m.count = sizeof(a->v) / sizeof(a->v.runlists); in nvif_fifo_runlists() 44 a->v.runlists.mthd = NV_DEVICE_HOST_RUNLISTS; in nvif_fifo_runlists() 45 for (i = 0; i < ARRAY_SIZE(a->v.runlist); i++) { in nvif_fifo_runlists() 47 a->v.runlist[i].data = i; in nvif_fifo_runlists() 50 ret = nvif_object_mthd(object, NV_DEVICE_V0_INFO, a, sizeof(*a)); in nvif_fifo_runlists() 54 device->runlists = fls64(a->v.runlists.data); in nvif_fifo_runlists() 63 if (a->v.runlist[i].mthd != NV_DEVICE_INFO_INVALID) in nvif_fifo_runlists() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/ |
H A D | ext4_utils.mk | 70 make_ext4fs: libext4_utils.a libsparse.a libselinux.a $(make_ext4fs_OBJS) 72 libext4_utils.a libsparse.a libselinux.a -lz -lpcre 74 ext2simg: libext4_utils.a libselinux.a libsparse.a $(ext2simg_OBJS) 76 libext4_utils.a libselinux.a libsparse.a -lz -lpcre 78 ext4fixup: libext4_utils.a libsparse.a $(ext4fixup_OBJS) 79 $(CC) -o $@ $(LDFLAGS) $(ext4fixup_OBJS) libext4_utils.a libsparse.a -lz 81 simg2img: libsparse.a $(simg2img_OBJS) 84 img2simg: libsparse.a $(img2simg_OBJS) 90 libext4_utils.a: $(libext4_utils_OBJS) 93 libsparse.a: $(libsparse_OBJS) [all …]
|
/openbmc/qemu/util/ |
H A D | int128.c | 91 divrem128(a, b, &q); in int128_divu() 108 a = int128_neg(a); in int128_divs() 131 a = int128_neg(a); in int128_rems() 153 a.s = a_s; in int128_divu() 155 r.u = a.u / b.u; in int128_divu() 163 a.s = a_s; in int128_remu() 165 r.u = a.u % b.u; in int128_remu() 173 a.s = a_s; in int128_divs() 175 r.i = a.i / b.i; in int128_divs() 183 a.s = a_s; in int128_rems() [all …]
|
/openbmc/linux/drivers/net/wireless/intersil/hostap/ |
H A D | hostap_pci.c | 127 #define HFA384X_OUTB(v,a) hfa384x_outb_debug(dev, (a), (v)) argument 128 #define HFA384X_INB(a) hfa384x_inb_debug(dev, (a)) argument 129 #define HFA384X_OUTW(v,a) hfa384x_outw_debug(dev, (a), (v)) argument 130 #define HFA384X_INW(a) hfa384x_inw_debug(dev, (a)) argument 132 #define HFA384X_INW_DATA(a) cpu_to_le16(hfa384x_inw_debug(dev, (a))) argument 172 #define HFA384X_OUTB(v,a) hfa384x_outb(dev, (a), (v)) argument 173 #define HFA384X_INB(a) hfa384x_inb(dev, (a)) argument 174 #define HFA384X_OUTW(v,a) hfa384x_outw(dev, (a), (v)) argument 175 #define HFA384X_INW(a) hfa384x_inw(dev, (a)) argument 176 #define HFA384X_OUTW_DATA(v,a) hfa384x_outw(dev, (a), le16_to_cpu((v))) argument [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/dropbear/dropbear/ |
H A D | CVE-2023-36328.patch | 24 --- a/libtommath/bn_mp_2expt.c 34 /* zero a as per default */ 35 mp_zero(a); 39 --- a/libtommath/bn_mp_grow.c 50 if (a->alloc < size) { 51 /* reallocate the array a->dp 54 --- a/libtommath/bn_mp_init_size.c 70 --- a/libtommath/bn_mp_mul_2d.c 81 if (a != c) { 85 --- a/libtommath/bn_s_mp_mul_digs.c [all …]
|
/openbmc/linux/lib/ |
H A D | list-test.c | 49 struct list_head a, b; in list_test_list_add() local 52 list_add(&a, &list); in list_test_list_add() 63 struct list_head a, b; in list_test_list_add_tail() local 84 list_del(&a); in list_test_list_del() 135 list_swap(&a, &b); in list_test_list_swap() 157 list_del_init(&a); in list_test_list_del_init() 263 INIT_LIST_HEAD(&a); in list_test_list_is_head() 267 KUNIT_EXPECT_TRUE_MSG(test, list_is_head(&a, &a), in list_test_list_is_head() 302 struct list_head a; in list_test_list_empty() local 893 hlist_del(&a); in hlist_test_del() [all …]
|
/openbmc/linux/fs/hpfs/ |
H A D | name.c | 23 static inline unsigned char upcase(unsigned char *dir, unsigned char a) in upcase() argument 25 if (a<128 || a==255) return a>='a' && a<='z' ? a - 0x20 : a; in upcase() 26 if (!dir) return a; in upcase() 27 return dir[a-128]; in upcase() 30 unsigned char hpfs_upcase(unsigned char *dir, unsigned char a) in hpfs_upcase() argument 32 return upcase(dir, a); in hpfs_upcase() 35 static inline unsigned char locase(unsigned char *dir, unsigned char a) in locase() argument 37 if (a<128 || a==255) return a>='A' && a<='Z' ? a + 0x20 : a; in locase() 38 if (!dir) return a; in locase() 39 return dir[a]; in locase()
|
/openbmc/u-boot/include/ |
H A D | fsl_ddr.h | 21 #define ddr_in32(a) in_le32(a) argument 22 #define ddr_out32(a, v) out_le32(a, v) argument 23 #define ddr_setbits32(a, v) setbits_le32(a, v) argument 24 #define ddr_clrbits32(a, v) clrbits_le32(a, v) argument 25 #define ddr_clrsetbits32(a, clear, set) clrsetbits_le32(a, clear, set) argument 27 #define ddr_in32(a) in_be32(a) argument 28 #define ddr_out32(a, v) out_be32(a, v) argument 29 #define ddr_setbits32(a, v) setbits_be32(a, v) argument 30 #define ddr_clrbits32(a, v) clrbits_be32(a, v) argument 31 #define ddr_clrsetbits32(a, clear, set) clrsetbits_be32(a, clear, set) argument
|
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/linux/tools/testing/selftests/net/ |
H A D | so_txtime.sh | 73 do_test 4 mono a,-1 a,-1 74 do_test 6 mono a,0 a,0 75 do_test 6 mono a,10 a,10 76 do_test 4 mono a,10,b,20 a,10,b,20 77 do_test 6 mono a,20,b,10 b,20,a,20 80 ! do_test 4 tai a,-1 a,-1 81 ! do_test 6 tai a,0 a,0 82 do_test 6 tai a,10 a,10 83 do_test 4 tai a,10,b,20 a,10,b,20 84 do_test 6 tai a,20,b,10 b,10,a,20
|
/openbmc/linux/arch/sh/include/asm/ |
H A D | io.h | 29 #define __raw_writeb(v,a) (__chk_io_ptr(a), *(volatile u8 __force *)(a) = (v)) argument 30 #define __raw_writew(v,a) (__chk_io_ptr(a), *(volatile u16 __force *)(a) = (v)) argument 31 #define __raw_writel(v,a) (__chk_io_ptr(a), *(volatile u32 __force *)(a) = (v)) argument 32 #define __raw_writeq(v,a) (__chk_io_ptr(a), *(volatile u64 __force *)(a) = (v)) argument 34 #define __raw_readb(a) (__chk_io_ptr(a), *(volatile u8 __force *)(a)) argument 35 #define __raw_readw(a) (__chk_io_ptr(a), *(volatile u16 __force *)(a)) argument 36 #define __raw_readl(a) (__chk_io_ptr(a), *(volatile u32 __force *)(a)) argument 37 #define __raw_readq(a) (__chk_io_ptr(a), *(volatile u64 __force *)(a)) argument 54 #define writeb(v,a) ({ wmb(); writeb_relaxed((v),(a)); }) argument 55 #define writew(v,a) ({ wmb(); writew_relaxed((v),(a)); }) argument [all …]
|
/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 …]
|