Home
last modified time | relevance | path

Searched refs:opc (Results 1 – 25 of 99) sorted by relevance

1234

/openbmc/qemu/include/hw/xtensa/
H A Dxtensa-isa.h378 xtensa_insnbuf slotbuf, xtensa_opcode opc);
383 const char *xtensa_opcode_name(xtensa_isa isa, xtensa_opcode opc);
403 int xtensa_opcode_is_branch(xtensa_isa isa, xtensa_opcode opc);
405 int xtensa_opcode_is_jump(xtensa_isa isa, xtensa_opcode opc);
407 int xtensa_opcode_is_loop(xtensa_isa isa, xtensa_opcode opc);
409 int xtensa_opcode_is_call(xtensa_isa isa, xtensa_opcode opc);
418 int xtensa_opcode_num_operands(xtensa_isa isa, xtensa_opcode opc);
420 int xtensa_opcode_num_stateOperands(xtensa_isa isa, xtensa_opcode opc);
506 int xtensa_operand_encode(xtensa_isa isa, xtensa_opcode opc, int opnd,
509 int xtensa_operand_decode(xtensa_isa isa, xtensa_opcode opc, int opnd,
[all …]
/openbmc/qemu/target/xtensa/
H A Dxtensa-isa.c662 xtensa_opcode opc; in xtensa_opcode_decode() local
670 if (opc != XTENSA_UNDEFINED) { in xtensa_opcode_decode()
671 return opc; in xtensa_opcode_decode()
689 CHECK_OPCODE(intisa, opc, -1); in xtensa_opcode_encode()
709 CHECK_OPCODE(intisa, opc, NULL); in xtensa_opcode_name()
710 return intisa->opcodes[opc].name; in xtensa_opcode_name()
809 CHECK_OPCODE(intisa, opc, NULL); in xtensa_opcode_funcUnit_use()
842 CHECK_OPCODE(intisa, opc, NULL); in get_operand()
856 intop = get_operand(intisa, opc, opnd); in xtensa_operand_name()
898 CHECK_OPCODE(intisa, opc, 0); in xtensa_operand_inout()
[all …]
/openbmc/qemu/disas/
H A Dxtensa.c81 xtensa_opcode opc; in print_insn_xtensa() local
88 opc = xtensa_opcode_decode(isa, fmt, slot, slotbuf); in print_insn_xtensa()
89 if (opc == XTENSA_UNDEFINED) { in print_insn_xtensa()
93 opnds = xtensa_opcode_num_operands(isa, opc); in print_insn_xtensa()
95 info->fprintf_func(info->stream, "%s", xtensa_opcode_name(isa, opc)); in print_insn_xtensa()
98 if (xtensa_operand_is_visible(isa, opc, opnd)) { in print_insn_xtensa()
103 xtensa_operand_get_field(isa, opc, opnd, fmt, slot, in print_insn_xtensa()
105 rc = xtensa_operand_decode(isa, opc, opnd, &v); in print_insn_xtensa()
108 } else if (xtensa_operand_is_register(isa, opc, opnd)) { in print_insn_xtensa()
113 } else if (xtensa_operand_is_PCrelative(isa, opc, opnd)) { in print_insn_xtensa()
[all …]
/openbmc/linux/drivers/spmi/
H A Dspmi-mtk-pmif.c296 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmif_arb_cmd()
299 cmd = opc - SPMI_CMD_RESET; in pmif_arb_cmd()
332 if (opc >= 0x60 && opc <= 0x7f) in pmif_spmi_read_cmd()
333 opc = PMIF_CMD_REG; in pmif_spmi_read_cmd()
334 else if ((opc >= 0x20 && opc <= 0x2f) || (opc >= 0x38 && opc <= 0x3f)) in pmif_spmi_read_cmd()
335 opc = PMIF_CMD_EXT_REG_LONG; in pmif_spmi_read_cmd()
394 if (opc >= 0x40 && opc <= 0x5F) in pmif_spmi_write_cmd()
395 opc = PMIF_CMD_REG; in pmif_spmi_write_cmd()
396 else if ((opc <= 0xF) || (opc >= 0x30 && opc <= 0x37)) in pmif_spmi_write_cmd()
398 else if (opc >= 0x80) in pmif_spmi_write_cmd()
[all …]
H A Dspmi-pmic-arb.c351 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmic_arb_cmd()
376 if (opc >= 0x60 && opc <= 0x7F) in pmic_arb_fmt_read_cmd()
377 opc = PMIC_ARB_OP_READ; in pmic_arb_fmt_read_cmd()
378 else if (opc >= 0x20 && opc <= 0x2F) in pmic_arb_fmt_read_cmd()
379 opc = PMIC_ARB_OP_EXT_READ; in pmic_arb_fmt_read_cmd()
380 else if (opc >= 0x38 && opc <= 0x3F) in pmic_arb_fmt_read_cmd()
453 if (opc >= 0x40 && opc <= 0x5F) in pmic_arb_fmt_write_cmd()
454 opc = PMIC_ARB_OP_WRITE; in pmic_arb_fmt_write_cmd()
455 else if (opc <= 0x0F) in pmic_arb_fmt_write_cmd()
457 else if (opc >= 0x30 && opc <= 0x37) in pmic_arb_fmt_write_cmd()
[all …]
H A Dhisi-spmi-controller.c112 u8 opc, u8 slave_id, u16 slave_addr, u8 *__buf, size_t bc) in spmi_read_cmd() argument
129 switch (opc) { in spmi_read_cmd()
140 dev_err(&ctrl->dev, "invalid read cmd 0x%x\n", opc); in spmi_read_cmd()
179 opc, slave_id, slave_addr, bc + 1); in spmi_read_cmd()
188 u8 opc, u8 slave_id, u16 slave_addr, const u8 *__buf, size_t bc) in spmi_write_cmd() argument
205 switch (opc) { in spmi_write_cmd()
216 dev_err(&ctrl->dev, "invalid write cmd 0x%x\n", opc); in spmi_write_cmd()
255 opc, slave_id, slave_addr, bc); in spmi_write_cmd()
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgruhandles.c81 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
89 cch->opc = CCHOP_ALLOCATE; in cch_allocate()
103 cch->opc = CCHOP_START; in cch_start()
110 cch->opc = CCHOP_INTERRUPT; in cch_interrupt()
119 cch->opc = CCHOP_DEALLOCATE; in cch_deallocate()
134 cch->opc = CCHOP_INTERRUPT_SYNC; in cch_interrupt_sync()
151 tgh->opc = TGHOP_TLBINV; in tgh_invalidate()
167 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only()
183 tfh->opc = TFHOP_WRITE_RESTART; in tfh_write_restart()
189 tfh->opc = TFHOP_USER_POLLING_MODE; in tfh_user_polling_mode()
[all …]
/openbmc/linux/arch/s390/include/asm/
H A Dcpacf.h184 : [opc] "i" (opc), in __cpacf_query_rre()
198 : [opc] "i" (opc), [r1] "i" (r1), [r2] "i" (r2), in __cpacf_query_rrf()
337 [opc] "i" (CPACF_KM) in cpacf_km()
369 [opc] "i" (CPACF_KMC) in cpacf_kmc()
397 [opc] "i" (CPACF_KIMD) in cpacf_kimd()
422 [opc] "i" (CPACF_KLMD) in cpacf_klmd()
450 [opc] "i" (CPACF_KMAC) in cpacf_kmac()
485 [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
562 [opc] "i" (CPACF_PCC) in cpacf_pcc()
582 [opc] "i" (CPACF_PCKMO) in cpacf_pckmo()
[all …]
/openbmc/linux/arch/mips/mm/
H A Duasm-micromips.c156 static void build_insn(u32 **buf, enum opcode opc, ...) in build_insn() argument
162 if (opc < 0 || opc >= insn_invalid || in build_insn()
163 (opc == insn_daddiu && r4k_daddiu_bug()) || in build_insn()
164 (insn_table_MM[opc].match == 0 && insn_table_MM[opc].fields == 0)) in build_insn()
165 panic("Unsupported Micro-assembler instruction %d", opc); in build_insn()
167 ip = &insn_table_MM[opc]; in build_insn()
170 va_start(ap, opc); in build_insn()
172 if (opc == insn_mfc0 || opc == insn_mtc0 || in build_insn()
173 opc == insn_cfc1 || opc == insn_ctc1) in build_insn()
179 if (opc == insn_mfc0 || opc == insn_mtc0 || in build_insn()
[all …]
/openbmc/qemu/tcg/
H A Dtcg-op-vec.c68 TCGOpcode opc = *list; in tcg_can_emit_vecop_list() local
71 switch (opc) { in tcg_can_emit_vecop_list()
100 switch (opc) { in tcg_can_emit_vecop_list()
145 TCGOp *op = tcg_emit_op(opc, 2); in vec_gen_2()
155 TCGOp *op = tcg_emit_op(opc, 3); in vec_gen_3()
166 TCGOp *op = tcg_emit_op(opc, 4); in vec_gen_4()
178 TCGOp *op = tcg_emit_op(opc, 6); in vec_gen_6()
378 tcg_assert_listed_vecop(opc); in do_op2()
457 tcg_assert_listed_vecop(opc); in do_shifti()
563 tcg_assert_listed_vecop(opc); in do_op3()
[all …]
H A Dtcg-op-ldst.c118 gen_ldst(opc, vl, vh, addr, oi); in gen_ldst_i64()
184 TCGOpcode opc; in tcg_gen_qemu_ld_i32_int() local
237 TCGOpcode opc; in tcg_gen_qemu_st_i32_int() local
295 TCGOpcode opc; in tcg_gen_qemu_ld_i64_int() local
326 gen_ldst_i64(opc, val, addr, oi); in tcg_gen_qemu_ld_i64_int()
362 TCGOpcode opc; in tcg_gen_qemu_st_i64_int() local
398 gen_ldst_i64(opc, val, addr, oi); in tcg_gen_qemu_st_i64_int()
510 TCGOpcode opc; in tcg_gen_qemu_ld_i128_int() local
626 TCGOpcode opc; in tcg_gen_qemu_st_i128_int() local
739 switch (opc & MO_SSIZE) { in tcg_gen_ext_i32()
[all …]
H A Doptimize.c407 op->opc = new_op; in tcg_opt_gen_mov()
1464 switch (op->opc) { in fold_bswap()
1746 switch (op->opc) { in fold_exts()
1791 switch (op->opc) { in fold_extu()
1899 op->opc = opc; in fold_movcond()
1902 op->opc = opc; in fold_movcond()
2474 switch (op->opc) { in fold_shift()
2571 switch (op->opc) { in fold_tcg_ld()
2632 switch (op->opc) { in fold_tcg_st()
2725 TCGOpcode opc = op->opc; in tcg_optimize() local
[all …]
H A Dtcg-op.c40 void NI tcg_gen_op1(TCGOpcode opc, TCGArg a1) in tcg_gen_op1() argument
42 TCGOp *op = tcg_emit_op(opc, 1); in tcg_gen_op1()
48 TCGOp *op = tcg_emit_op(opc, 2); in tcg_gen_op2()
55 TCGOp *op = tcg_emit_op(opc, 3); in tcg_gen_op3()
63 TCGOp *op = tcg_emit_op(opc, 4); in tcg_gen_op4()
73 TCGOp *op = tcg_emit_op(opc, 5); in tcg_gen_op5()
84 TCGOp *op = tcg_emit_op(opc, 6); in tcg_gen_op6()
105 tcg_gen_op1(opc, tcgv_i32_arg(a1)); in tcg_gen_op1_i32()
110 tcg_gen_op1(opc, tcgv_i64_arg(a1)); in tcg_gen_op1_i64()
113 static void DNI tcg_gen_op1i(TCGOpcode opc, TCGArg a1) in tcg_gen_op1i() argument
[all …]
/openbmc/u-boot/drivers/mmc/
H A Dsh_mmcif.c337 u32 opc = cmd->cmdidx; in sh_mmcif_set_cmd() local
358 if (opc == MMC_CMD_SWITCH) in sh_mmcif_set_cmd()
390 if (opc == MMC_CMD_SEND_OP_COND || opc == MMC_CMD_ALL_SEND_CID || in sh_mmcif_set_cmd()
391 opc == MMC_CMD_SEND_CSD || opc == MMC_CMD_SEND_CID) in sh_mmcif_set_cmd()
394 if (opc == MMC_CMD_SEND_OP_COND) in sh_mmcif_set_cmd()
398 opc == MMC_CMD_SEND_CSD || opc == MMC_CMD_SEND_CID) in sh_mmcif_set_cmd()
401 return opc = ((opc << 24) | tmp); in sh_mmcif_set_cmd()
409 switch (opc) { in sh_mmcif_data_trans()
436 u32 opc = cmd->cmdidx; in sh_mmcif_start_cmd() local
454 if (opc == MMC_CMD_SWITCH) in sh_mmcif_start_cmd()
[all …]
H A Dsh_sdhi.c482 return opc | BIT(6); in sh_sdhi_set_cmd()
485 switch (opc) { in sh_sdhi_set_cmd()
487 return opc | (data ? 0x1c00 : 0x40); in sh_sdhi_set_cmd()
489 return opc | (data ? 0x1c00 : 0); in sh_sdhi_set_cmd()
491 return opc | 0x0700; in sh_sdhi_set_cmd()
495 return opc; in sh_sdhi_set_cmd()
504 switch (opc) { in sh_sdhi_data_trans()
510 opc); in sh_sdhi_data_trans()
514 switch (opc) { in sh_sdhi_data_trans()
536 unsigned short shcmd, opc = cmd->cmdidx; in sh_sdhi_start_cmd() local
[all …]
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm80xx_tracepoints.h79 TP_PROTO(u32 id, u32 opc, u32 htag, u32 qi, u32 pi, u32 ci),
81 TP_ARGS(id, opc, htag, qi, pi, ci),
85 __field(u32, opc)
94 __entry->opc = opc;
102 __entry->id, __entry->opc, __entry->htag, __entry->qi,
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/
H A D0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch13 opcodes/ppc-opc.c | 4 +---
16 diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
18 --- a/opcodes/ppc-opc.c
19 +++ b/opcodes/ppc-opc.c
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a32.h107 TCGv_i32 a32, int index, MemOp opc);
109 TCGv_i32 a32, int index, MemOp opc);
111 TCGv_i32 a32, int index, MemOp opc);
113 TCGv_i32 a32, int index, MemOp opc);
115 int index, MemOp opc);
117 int index, MemOp opc);
119 int index, MemOp opc);
121 int index, MemOp opc);
H A Dtranslate.h692 if (s->align_mem && !(opc & MO_AMASK)) { in finalize_memop_atom()
693 opc |= MO_ALIGN; in finalize_memop_atom()
695 return opc | atom | s->be_data; in finalize_memop_atom()
705 static inline MemOp finalize_memop(DisasContext *s, MemOp opc) in finalize_memop() argument
708 return finalize_memop_atom(s, opc, atom); in finalize_memop()
719 static inline MemOp finalize_memop_pair(DisasContext *s, MemOp opc) in finalize_memop_pair() argument
722 return finalize_memop_atom(s, opc, atom); in finalize_memop_pair()
732 static inline MemOp finalize_memop_asimd(DisasContext *s, MemOp opc) in finalize_memop_asimd() argument
743 if ((opc & MO_SIZE) == MO_128) { in finalize_memop_asimd()
744 return finalize_memop_atom(s, opc, MO_ATOM_IFALIGN_PAIR); in finalize_memop_asimd()
[all …]
/openbmc/linux/arch/mips/kvm/
H A Dvz.c651 u32 *opc; in is_eva_am_mapped() local
667 opc += 1; in is_eva_am_mapped()
829 opc += 1; in kvm_trap_vz_no_handler()
1225 opc += 1; in kvm_trap_vz_handle_gpsi()
1306 opc += 1; in kvm_trap_vz_handle_gsfc()
1413 opc, inst.word); in kvm_trap_vz_handle_gsfc()
1441 opc += 1; in kvm_trap_vz_handle_hc()
1464 u32 *opc, in kvm_trap_vz_no_handler_guest_exit() argument
1473 opc += 1; in kvm_trap_vz_no_handler_guest_exit()
1642 opc += 1; in kvm_trap_vz_handle_tlb_ld_miss()
[all …]
/openbmc/qemu/tcg/loongarch64/
H A Dtcg-insn-defs.c.inc549 encode_d_slot(LoongArchInsn opc, uint32_t d)
551 return opc | d;
557 return opc | d | j << 5;
563 return opc | d | j << 5 | k << 10;
590 return opc | d | k << 10;
606 return encode_dj_slots(opc, d, j);
615 return encode_djk_slots(opc, d, j, k);
651 return encode_djk_slots(opc, d, j, uk3);
716 return encode_dj_slots(opc, d, tj);
826 return encode_dj_slots(opc, td, j);
[all …]
/openbmc/qemu/tcg/tci/
H A Dtcg-target.c.inc698 static void tcg_out_op(TCGContext *s, TCGOpcode opc,
704 switch (opc) {
706 tcg_out_op_r(s, opc, args[0]);
710 tcg_out_op_l(s, opc, arg_label(args[0]));
736 tcg_out_ldst(s, opc, args[0], args[1], args[2]);
761 tcg_out_op_rrr(s, opc, args[0], args[1], args[2]);
790 tcg_out_op_rrrc(s, (opc == INDEX_op_brcond_i32
801 tcg_out_op_rr(s, opc, args[0], args[1]);
814 tcg_out_op_rr(s, opc, args[0], args[1]);
860 tcg_out_op_rrrrr(s, opc, args[0], args[1],
[all …]
/openbmc/linux/arch/powerpc/xmon/
H A DMakefile22 obj-y += ppc-dis.o ppc-opc.o
23 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/openbmc/qemu/tcg/arm/
H A Dtcg-target.c.inc835 opc = ARITH_MOV;
838 opc = ARITH_MVN;
885 opc = opinv;
904 opc = opneg;
1549 switch (opc & MO_SSIZE) {
1667 switch (opc & MO_SIZE) {
1809 switch (opc) {
2422 opc = ARITH_SUB;
2618 switch (opc) {
2814 switch (opc) {
[all …]
/openbmc/qemu/tcg/riscv/
H A Dtcg-target.c.inc373 tcg_out32(s, encode_r(opc, rd, rs1, rs2));
397 tcg_out32(s, encode_u(opc, rd, imm));
403 tcg_out32(s, encode_uj(opc, rd, imm));
663 switch (opc) {
1180 MemOp opc = get_memop(l->oi);
1198 MemOp opc = get_memop(l->oi);
1228 MemOp opc = get_memop(oi);
1236 unsigned s_bits = opc & MO_SIZE;
1349 switch (opc & (MO_SSIZE)) {
1401 switch (opc & (MO_SSIZE)) {
[all …]

1234