Home
last modified time | relevance | path

Searched refs:rnum (Results 1 – 22 of 22) sorted by relevance

/openbmc/qemu/target/hexagon/
H A Dtranslate.h104 static inline void ctx_log_reg_write(DisasContext *ctx, int rnum, in ctx_log_reg_write() argument
107 if (rnum == HEX_REG_P3_0_ALIASED) { in ctx_log_reg_write()
112 if (!test_bit(rnum, ctx->regs_written)) { in ctx_log_reg_write()
113 ctx->reg_log[ctx->reg_log_idx] = rnum; in ctx_log_reg_write()
115 set_bit(rnum, ctx->regs_written); in ctx_log_reg_write()
118 set_bit(rnum, ctx->predicated_regs); in ctx_log_reg_write()
123 static inline void ctx_log_reg_write_pair(DisasContext *ctx, int rnum, in ctx_log_reg_write_pair() argument
126 ctx_log_reg_write(ctx, rnum, is_predicated); in ctx_log_reg_write_pair()
127 ctx_log_reg_write(ctx, rnum + 1, is_predicated); in ctx_log_reg_write_pair()
130 static inline void ctx_log_reg_read(DisasContext *ctx, int rnum) in ctx_log_reg_read() argument
[all …]
H A Dgenptr.c72 TCGv get_result_gpr(DisasContext *ctx, int rnum) in get_result_gpr() argument
75 if (rnum == HEX_REG_USR) { in get_result_gpr()
78 if (ctx->new_value[rnum] == NULL) { in get_result_gpr()
79 ctx->new_value[rnum] = tcg_temp_new(); in get_result_gpr()
80 tcg_gen_movi_tl(ctx->new_value[rnum], 0); in get_result_gpr()
82 return ctx->new_value[rnum]; in get_result_gpr()
85 return hex_gpr[rnum]; in get_result_gpr()
89 static TCGv_i64 get_result_gpr_pair(DisasContext *ctx, int rnum) in get_result_gpr_pair() argument
92 tcg_gen_concat_i32_i64(result, get_result_gpr(ctx, rnum), in get_result_gpr_pair()
93 get_result_gpr(ctx, rnum + 1)); in get_result_gpr_pair()
[all …]
H A Dtranslate.c295 static void mark_implicit_reg_write(DisasContext *ctx, int attrib, int rnum) in mark_implicit_reg_write() argument
304 rnum == HEX_REG_USR; in mark_implicit_reg_write()
307 if ((rnum == HEX_REG_LC0 || rnum == HEX_REG_LC1) && in mark_implicit_reg_write()
314 ctx_log_reg_write(ctx, rnum, is_predicated); in mark_implicit_reg_write()
372 int rnum = ctx->reg_log[i]; in need_commit() local
373 if (reg_immut_masks[rnum]) { in need_commit()
800 int rnum = ctx->vreg_log[i]; in gen_commit_hvx() local
801 intptr_t dstoff = offsetof(CPUHexagonState, VRegs[rnum]); in gen_commit_hvx()
802 intptr_t srcoff = ctx_future_vreg_off(ctx, rnum, 1, false); in gen_commit_hvx()
815 int rnum = ctx->qreg_log[i]; in gen_commit_hvx() local
[all …]
H A Dgenptr.h38 TCGv get_result_gpr(DisasContext *ctx, int rnum);
40 void gen_log_reg_write(DisasContext *ctx, int rnum, TCGv val);
/openbmc/linux/fs/reiserfs/
H A Ddo_balan.c154 if (tb->rnum[0] == -1) { in balance_leaf_when_delete_left()
191 RFALSE(tb->rnum[0] != 0, in balance_leaf_when_delete_left()
192 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete_left()
206 RFALSE((tb->lnum[0] + tb->rnum[0] < n) || in balance_leaf_when_delete_left()
207 (tb->lnum[0] + tb->rnum[0] > n + 1), in balance_leaf_when_delete_left()
210 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete_left()
211 RFALSE((tb->lnum[0] + tb->rnum[0] == n) && in balance_leaf_when_delete_left()
216 RFALSE((tb->lnum[0] + tb->rnum[0] == n + 1) && in balance_leaf_when_delete_left()
223 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete_left()
274 if (tb->rnum[0] == -1) { in balance_leaf_when_delete()
[all …]
H A Dibalance.c655 if (tb->lnum[h] == 0 && tb->rnum[h] == 0) { in balance_internal_when_delete()
699 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
701 h, tb->rnum[h]); in balance_internal_when_delete()
710 if (tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1) { in balance_internal_when_delete()
723 RFALSE(tb->rnum[h] != 0, in balance_internal_when_delete()
725 tb->rnum[h]); in balance_internal_when_delete()
732 if (tb->rnum[h] < 0) { in balance_internal_when_delete()
736 …internal_shift_left(INTERNAL_SHIFT_FROM_R_TO_S, tb, h, -tb->rnum[h]); /*tb->S[h], tb->CFR[h], tb->… in balance_internal_when_delete()
742 RFALSE(tb->rnum[h] == 0 || tb->lnum[h] + tb->rnum[h] != n + 1, in balance_internal_when_delete()
744 h, tb->lnum[h], h, tb->rnum[h], n); in balance_internal_when_delete()
[all …]
H A Dfix_node.c291 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
299 tb->rnum[h] = 0; in check_right()
316 tb->rnum[h] = vn->vn_nr_item; in check_right()
327 tb->rnum[0] = 0; in check_right()
334 tb->rnum[0]++; in check_right()
358 tb->rnum[0]++; in check_right()
622 int rnum, int blk_num, short *s012, int lb, int rb) in set_parameters() argument
626 tb->rnum[h] = rnum; in set_parameters()
642 PROC_INFO_ADD(tb->tb_sb, rnum[h], rnum); in set_parameters()
664 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
[all …]
H A Dprints.c693 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0], in store_print_tb()
704 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h], in store_print_tb()
H A Dprocfs.c181 SFPL(rnum), in show_per_level()
H A Dreiserfs.h471 long int rnum[5]; /* XXX */ member
2446 int rnum[MAX_HEIGHT]; member
/openbmc/linux/include/uapi/linux/
H A Duhid.h89 __u8 rnum; member
102 __u8 rnum; member
159 __u8 rnum; member
/openbmc/linux/drivers/hid/
H A Duhid.c232 static int uhid_hid_get_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_get_report() argument
248 ev->u.get_report.rnum = rnum; in uhid_hid_get_report()
275 static int uhid_hid_set_report(struct hid_device *hid, unsigned char rnum, in uhid_hid_set_report() argument
290 ev->u.set_report.rnum = rnum; in uhid_hid_set_report()
/openbmc/qemu/target/riscv/
H A Dcrypto_helper.c142 target_ulong HELPER(aes64ks1i)(target_ulong rs1, target_ulong rnum) in HELPER()
149 uint8_t enc_rnum = rnum; in HELPER()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py417 def set_report(self, req, rnum, rtype, data): argument
420 if rnum != 0x12:
434 def set_report(self, req, rnum, rtype, data): argument
435 super().set_report(req, rnum, rtype, data)
530 def set_report(self, req, rnum, rtype, data): argument
531 super().set_report(req, rnum, rtype, data)
H A Dtest_tablet.py398 def get_report(self, req, rnum, rtype): argument
404 if v.report_ID == rnum:
412 def set_report(self, req, rnum, rtype, data): argument
418 if v.report_ID == rnum:
H A Dtest_wacom_generic.py295 def get_report(self, req, rnum, rtype): argument
301 if v.report_ID == rnum:
H A Dtest_multitouch.py177 def get_report(self, req, rnum, rtype): argument
183 if v.report_ID == rnum:
196 def set_report(self, req, rnum, rtype, data): argument
202 if v.report_ID == rnum:
/openbmc/qemu/disas/
H A Driscv.h210 uint8_t rnum; member
H A Driscv.c4842 dec->rnum = operand_rnum(inst); in decode_inst_operands()
5103 g_string_append_printf(buf, "%d", dec->rnum); in format_inst()
/openbmc/linux/sound/pci/au88x0/
H A Dau88x0_core.c1630 ADBRamLink * route, int rnum) in vortex_adb_addroutes() argument
1634 if ((rnum <= 0) || (route == NULL)) in vortex_adb_addroutes()
1637 rnum--; in vortex_adb_addroutes()
1639 VORTEX_ADB_RTBASE + ((route[rnum] & ADB_MASK) << 2), in vortex_adb_addroutes()
1641 while (rnum > 0) { in vortex_adb_addroutes()
1644 ((route[rnum - 1] & ADB_MASK) << 2), route[rnum]); in vortex_adb_addroutes()
1645 rnum--; in vortex_adb_addroutes()
/openbmc/linux/tools/testing/selftests/hid/
H A Dhid_bpf.c214 answer.u.get_report_reply.err = ev.u.get_report.rnum == 1 ? 0 : -EIO; in uhid_event()
/openbmc/qemu/target/hexagon/imported/
H A Dmacros.def171 // take advantage of the fact that reglog_read returns zero for not valid rnum