/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubbub.c | 154 hubbub1->watermarks.a.urgent_ns = watermarks->a.urgent_ns; in hubbub21_program_urgent_watermarks() 164 } else if (watermarks->a.urgent_ns < hubbub1->watermarks.a.urgent_ns) in hubbub21_program_urgent_watermarks() 170 hubbub1->watermarks.a.frac_urg_bw_flip = watermarks->a.frac_urg_bw_flip; in hubbub21_program_urgent_watermarks() 180 hubbub1->watermarks.a.frac_urg_bw_nom = watermarks->a.frac_urg_bw_nom; in hubbub21_program_urgent_watermarks() 189 hubbub1->watermarks.a.urgent_latency_ns = watermarks->a.urgent_latency_ns; in hubbub21_program_urgent_watermarks() 215 hubbub1->watermarks.a.frac_urg_bw_flip = watermarks->a.frac_urg_bw_flip; in hubbub21_program_urgent_watermarks() 225 hubbub1->watermarks.a.frac_urg_bw_nom = watermarks->a.frac_urg_bw_nom; in hubbub21_program_urgent_watermarks() 260 hubbub1->watermarks.a.frac_urg_bw_flip = watermarks->a.frac_urg_bw_flip; in hubbub21_program_urgent_watermarks() 270 hubbub1->watermarks.a.frac_urg_bw_nom = watermarks->a.frac_urg_bw_nom; in hubbub21_program_urgent_watermarks() 305 hubbub1->watermarks.a.frac_urg_bw_flip = watermarks->a.frac_urg_bw_flip; in hubbub21_program_urgent_watermarks() [all …]
|
/openbmc/qemu/target/riscv/insn_trans/ |
H A D | trans_rvv.c.inc | 1187 vext_check_sss(s, a->rd, a->rs1, a->rs2, a->vm); 1292 return opivx_trans(a->rd, a->rs1, a->rs2, a->vm, fn, s); 1475 vext_check_dss(s, a->rd, a->rs1, a->rs2, a->vm); 1549 vext_check_dds(s, a->rd, a->rs1, a->rs2, a->vm); 1663 vext_check_sss(s, a->rd, a->rs1, a->rs2, a->vm); 1771 return opivx_trans(a->rd, a->rs1, a->rs2, a->vm, fn, s); 1800 vext_check_sds(s, a->rd, a->rs1, a->rs2, a->vm); 2227 vext_check_sss(s, a->rd, a->rs1, a->rs2, a->vm); 2340 vext_check_dss(s, a->rd, a->rs1, a->rs2, a->vm); 3432 (a->rd != a->rs2 && a->rd != a->rs1) && [all …]
|
/openbmc/linux/security/smack/ |
H A D | smack.h | 269 struct common_audit_data a; member 437 memset(&a->sad, 0, sizeof(a->sad)); in smk_ad_init() 438 a->a.type = type; in smk_ad_init() 439 a->a.smack_audit_data = &a->sad; in smk_ad_init() 440 a->a.smack_audit_data->function = func; in smk_ad_init() 448 a->a.u.net = net; in smk_ad_init_net() 454 a->a.u.tsk = t; in smk_ad_setfield_u_tsk() 459 a->a.u.dentry = d; in smk_ad_setfield_u_fs_path_dentry() 464 a->a.u.inode = i; in smk_ad_setfield_u_fs_inode() 469 a->a.u.path = p; in smk_ad_setfield_u_fs_path() [all …]
|
/openbmc/qemu/target/loongarch/tcg/insn_trans/ |
H A D | trans_fmemory.c.inc | 16 TCGv dest = get_fpr(ctx, a->fd); 24 set_fpr(a->fd, dest); 32 TCGv src = get_fpr(ctx, a->fd); 47 TCGv dest = get_fpr(ctx, a->fd); 55 set_fpr(a->fd, dest); 64 TCGv src3 = get_fpr(ctx, a->fd); 79 TCGv dest = get_fpr(ctx, a->fd); 88 set_fpr(a->fd, dest); 97 TCGv src3 = get_fpr(ctx, a->fd); 113 TCGv dest = get_fpr(ctx, a->fd); [all …]
|
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/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 | 153 return float32_add(a, b, &env->fp_status); in HELPER() 158 return float32_sub(a, b, &env->fp_status); in HELPER() 163 return float32_mul(a, b, &env->fp_status); in HELPER() 182 return float64_add(a, b, &env->fp_status); in HELPER() 188 return float32_add(a, b, &env->fp_status); in HELPER() 194 return float64_sub(a, b, &env->fp_status); in HELPER() 200 return float32_sub(a, b, &env->fp_status); in HELPER() 206 return float64_mul(a, b, &env->fp_status); in HELPER() 212 return float32_mul(a, b, &env->fp_status); in HELPER() 409 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/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/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
|
/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/qemu/tests/tcg/aarch64/ |
H A D | mte-8.c | 46 unsigned char *a; in main() local 68 a = mmap(0, page_sz, PROT_READ | PROT_WRITE, in main() 70 if (a == MAP_FAILED) { in main() 75 printf("a[] address is %p\n", a); in main() 81 if (mprotect(a, page_sz, PROT_READ | PROT_WRITE | PROT_MTE)) { in main() 87 a[0] = 1; in main() 88 a[1] = 2; in main() 90 printf("a[0] = %hhu a[1] = %hhu\n", a[0], a[1]); in main() 93 a = (unsigned char *)insert_random_tag(a); in main() 94 set_tag(a); in main() [all …]
|
/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 …]
|