Home
last modified time | relevance | path

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

123

/OK3568_Linux_fs/kernel/arch/mips/kvm/
H A Ddyntrans.c30 static int kvm_mips_trans_replace(struct kvm_vcpu *vcpu, u32 *opc, in kvm_mips_trans_replace() argument
33 unsigned long vaddr = (unsigned long)opc; in kvm_mips_trans_replace()
39 err = put_user(replace.word, opc); in kvm_mips_trans_replace()
52 __func__, opc); in kvm_mips_trans_replace()
68 int kvm_mips_trans_cache_index(union mips_instruction inst, u32 *opc, in kvm_mips_trans_cache_index() argument
74 return kvm_mips_trans_replace(vcpu, opc, nop_inst); in kvm_mips_trans_cache_index()
81 int kvm_mips_trans_cache_va(union mips_instruction inst, u32 *opc, in kvm_mips_trans_cache_va() argument
94 return kvm_mips_trans_replace(vcpu, opc, synci_inst); in kvm_mips_trans_cache_va()
97 int kvm_mips_trans_mfc0(union mips_instruction inst, u32 *opc, in kvm_mips_trans_mfc0() argument
121 return kvm_mips_trans_replace(vcpu, opc, mfc0_inst); in kvm_mips_trans_mfc0()
[all …]
H A Dtrap_emul.c46 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in kvm_trap_emul_no_handler() local
56 opc += 1; in kvm_trap_emul_no_handler()
57 kvm_get_badinstr(opc, vcpu, &inst); in kvm_trap_emul_no_handler()
60 exccode, opc, inst, badvaddr, in kvm_trap_emul_no_handler()
70 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in kvm_trap_emul_handle_cop_unusable() local
83 er = kvm_mips_emulate_fpu_exc(cause, opc, vcpu); in kvm_trap_emul_handle_cop_unusable()
90 er = kvm_mips_emulate_inst(cause, opc, vcpu); in kvm_trap_emul_handle_cop_unusable()
118 static int kvm_mips_bad_load(u32 cause, u32 *opc, struct kvm_vcpu *vcpu) in kvm_mips_bad_load() argument
132 opc += 1; in kvm_mips_bad_load()
133 err = kvm_get_badinstr(opc, vcpu, &inst.word); in kvm_mips_bad_load()
[all …]
H A Dvz.c653 u32 *opc; in is_eva_am_mapped() local
667 opc = (u32 *)vcpu->arch.pc; in is_eva_am_mapped()
669 opc += 1; in is_eva_am_mapped()
670 err = kvm_get_badinstr(opc, vcpu, &inst.word); in is_eva_am_mapped()
821 u32 *opc = (u32 *) vcpu->arch.pc; in kvm_trap_vz_no_handler() local
831 opc += 1; in kvm_trap_vz_no_handler()
832 kvm_get_badinstr(opc, vcpu, &inst); in kvm_trap_vz_no_handler()
835 exccode, opc, inst, badvaddr, in kvm_trap_vz_no_handler()
878 u32 *opc, u32 cause, in kvm_vz_gpsi_cop0() argument
1077 u32 *opc, u32 cause, in kvm_vz_gpsi_cache() argument
[all …]
H A Demulate.c273 int kvm_get_badinstr(u32 *opc, struct kvm_vcpu *vcpu, u32 *out) in kvm_get_badinstr() argument
279 return kvm_get_inst(opc, vcpu, out); in kvm_get_badinstr()
294 int kvm_get_badinstrp(u32 *opc, struct kvm_vcpu *vcpu, u32 *out) in kvm_get_badinstrp() argument
300 return kvm_get_inst(opc, vcpu, out); in kvm_get_badinstrp()
1264 u32 *opc, u32 cause, in kvm_mips_emulate_CP0() argument
1325 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0()
1331 kvm_mips_trans_mfc0(inst, opc, vcpu); in kvm_mips_emulate_CP0()
1455 kvm_mips_trans_mtc0(inst, opc, vcpu); in kvm_mips_emulate_CP0()
1522 kvm_mips_trans_mtc0(inst, opc, vcpu); in kvm_mips_emulate_CP0()
2184 u32 *opc, u32 cause, in kvm_mips_emulate_cache() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/misc/sgi-gru/
H A Dgruhandles.c65 static int wait_instruction_complete(void *h, enum mcs_op opc) in wait_instruction_complete() argument
81 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()
[all …]
/OK3568_Linux_fs/u-boot/drivers/mmc/
H A Dsh_mmcif.c334 u32 opc = cmd->cmdidx; in sh_mmcif_set_cmd() local
355 if (opc == MMC_CMD_SWITCH) in sh_mmcif_set_cmd()
377 if (opc == MMC_CMD_WRITE_SINGLE_BLOCK || in sh_mmcif_set_cmd()
378 opc == MMC_CMD_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
381 if (opc == MMC_CMD_READ_MULTIPLE_BLOCK || in sh_mmcif_set_cmd()
382 opc == MMC_CMD_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
387 if (opc == MMC_CMD_SEND_OP_COND || opc == MMC_CMD_ALL_SEND_CID || in sh_mmcif_set_cmd()
388 opc == MMC_CMD_SEND_CSD || opc == MMC_CMD_SEND_CID) in sh_mmcif_set_cmd()
391 if (opc == MMC_CMD_SEND_OP_COND) in sh_mmcif_set_cmd()
394 if (opc == MMC_CMD_ALL_SEND_CID || in sh_mmcif_set_cmd()
[all …]
H A Dsh_sdhi.c478 struct mmc_data *data, unsigned short opc) in sh_sdhi_set_cmd() argument
483 return opc | BIT(6); in sh_sdhi_set_cmd()
486 switch (opc) { in sh_sdhi_set_cmd()
488 return opc | (data ? 0x1c00 : 0x40); in sh_sdhi_set_cmd()
490 return opc | (data ? 0x1c00 : 0); in sh_sdhi_set_cmd()
492 return opc | 0x0700; in sh_sdhi_set_cmd()
496 return opc; in sh_sdhi_set_cmd()
501 struct mmc_data *data, unsigned short opc) in sh_sdhi_data_trans() argument
505 switch (opc) { in sh_sdhi_data_trans()
511 opc); in sh_sdhi_data_trans()
[all …]
/OK3568_Linux_fs/kernel/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 …]
H A Duasm-mips.c230 static void build_insn(u32 **buf, enum opcode opc, ...) in build_insn() argument
236 if (opc < 0 || opc >= insn_invalid || in build_insn()
237 (opc == insn_daddiu && r4k_daddiu_bug()) || in build_insn()
238 (insn_table[opc].match == 0 && insn_table[opc].fields == 0)) in build_insn()
239 panic("Unsupported Micro-assembler instruction %d", opc); in build_insn()
241 ip = &insn_table[opc]; in build_insn()
244 va_start(ap, opc); in build_insn()
/OK3568_Linux_fs/kernel/arch/s390/include/asm/
H A Dcpacf.h185 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (opcode) in __cpacf_query()
262 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KM) in cpacf_km()
292 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMC) in cpacf_kmc()
318 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KIMD) in cpacf_kimd()
341 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KLMD) in cpacf_klmd()
367 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMAC) in cpacf_kmac()
400 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
432 [seed] "a" (r4), [slen] "d" (r5), [opc] "i" (CPACF_PRNO) in cpacf_prno()
457 : [fc] "d" (r0), [opc] "i" (CPACF_PRNO) in cpacf_trng()
476 : [fc] "d" (r0), [pba] "a" (r1), [opc] "i" (CPACF_PCC) in cpacf_pcc()
[all …]
H A Dftrace.h46 u16 opc; member
55 insn->opc = 0xc004; in ftrace_generate_nop_insn()
59 insn->opc = 0xc0f4; in ftrace_generate_nop_insn()
87 insn->opc = 0xc005; in ftrace_generate_call_insn()
/OK3568_Linux_fs/kernel/drivers/spmi/
H A Dspmi-pmic-arb.c190 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
191 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
292 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() argument
305 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_non_data_cmd_v1()
317 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() argument
323 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() argument
327 dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid); in pmic_arb_cmd()
330 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmic_arb_cmd()
333 return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid); in pmic_arb_cmd()
336 static int pmic_arb_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmic_arb_read_cmd() argument
[all …]
/OK3568_Linux_fs/kernel/arch/mips/include/asm/
H A Dkvm_host.h901 u32 *opc,
978 int kvm_get_inst(u32 *opc, struct kvm_vcpu *vcpu, u32 *out);
980 int kvm_get_badinstr(u32 *opc, struct kvm_vcpu *vcpu, u32 *out);
981 int kvm_get_badinstrp(u32 *opc, struct kvm_vcpu *vcpu, u32 *out);
1011 u32 *opc,
1017 u32 *opc,
1021 u32 *opc,
1025 u32 *opc,
1029 u32 *opc,
1033 u32 *opc,
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/binutils/binutils/
H A D0008-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
/OK3568_Linux_fs/kernel/drivers/staging/hikey9xx/
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()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsh_mmcif.c806 u32 opc = cmd->opcode; in sh_mmcif_set_cmd() local
860 if (opc == MMC_WRITE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
863 if (opc == MMC_READ_MULTIPLE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
869 if (opc == MMC_SEND_OP_COND || opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
870 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
873 if (opc == MMC_SEND_OP_COND) in sh_mmcif_set_cmd()
876 if (opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
877 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
880 return (opc << 24) | tmp; in sh_mmcif_set_cmd()
884 struct mmc_request *mrq, u32 opc) in sh_mmcif_data_trans() argument
[all …]
H A Dusdhi6rol0.c281 int opc = host->mrq ? host->mrq->cmd->opcode : -1; in usdhi6_error_code() local
288 err, rsp54, host->wait, opc); in usdhi6_error_code()
292 err, rsp54, host->wait, opc); in usdhi6_error_code()
936 u16 opc = cmd->opcode; in usdhi6_cmd_flags() local
940 opc |= USDHI6_SD_CMD_APP; in usdhi6_cmd_flags()
944 opc |= USDHI6_SD_CMD_DATA; in usdhi6_cmd_flags()
947 opc |= USDHI6_SD_CMD_READ; in usdhi6_cmd_flags()
953 opc |= USDHI6_SD_CMD_MULTI; in usdhi6_cmd_flags()
955 opc |= USDHI6_SD_CMD_CMD12_AUTO_OFF; in usdhi6_cmd_flags()
960 opc |= USDHI6_SD_CMD_MODE_RSP_NONE; in usdhi6_cmd_flags()
[all …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/qemu/qemu/
H A D0013-target-ppc-fix-xscvqpdp-register-access.patch30 opc = tcg_const_i32(ctx->opcode);
36 gen_helper_xscvqpdp(cpu_env, opc, xt, xb);
37 tcg_temp_free_i32(opc);
H A D0014-target-ppc-move-xscvqpdp-to-decodetree.patch87 - TCGv_i32 opc;
94 - opc = tcg_const_i32(ctx->opcode);
98 - gen_helper_xscvqpdp(cpu_env, opc, xt, xb);
99 - tcg_temp_free_i32(opc);
/OK3568_Linux_fs/u-boot/common/
H A Dbedbug.c756 struct opcode *opc; in asmppc() local
776 if ((opc = find_opcode_by_name (scratch)) == (struct opcode *) 0) { in asmppc()
783 printf ("asmppc: Opcode = \"%s\"\n", opc->name); in asmppc()
787 if (opc->fields[i] == 0) in asmppc()
796 instr = opc->opcode; in asmppc()
801 oper[n_operands] = &operands[opc->fields[n_operands] - 1]; in asmppc()
823 if ((param = parse_operand (memaddr, opc, oper[n_operands], in asmppc()
855 int parse_operand (unsigned long memaddr, struct opcode *opc, in parse_operand() argument
869 if (opc->hint & H_RELATIVE) in parse_operand()
/OK3568_Linux_fs/kernel/arch/ia64/kernel/
H A Dunwind.c1360 enum unw_insn_opcode opc; in emit_nat_info() local
1368 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info()
1372 opc = UNW_INSN_SETNAT_MEMSTK; in emit_nat_info()
1376 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info()
1381 opc = UNW_INSN_SETNAT_TYPE; in emit_nat_info()
1387 opc = UNW_INSN_SETNAT_MEMSTK; in emit_nat_info()
1395 insn.opc = opc; in emit_nat_info()
1405 enum unw_insn_opcode opc; in compile_reg() local
1413 opc = UNW_INSN_MOVE; in compile_reg()
1420 opc = UNW_INSN_MOVE_STACKED; in compile_reg()
[all …]
/OK3568_Linux_fs/kernel/arch/powerpc/xmon/
H A DMakefile23 obj-y += ppc-dis.o ppc-opc.o
24 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dhsa-common.h437 hsa_insn_basic (unsigned nops, int opc);
438 hsa_insn_basic (unsigned nops, int opc, BrigType16_t t,
518 hsa_insn_br (unsigned nops, int opc, BrigType16_t t, BrigWidth8_t width,
638 hsa_insn_mem (int opc, BrigType16_t t, hsa_op_base *arg0, hsa_op_base *arg1);
655 hsa_insn_mem (unsigned nops, int opc, BrigType16_t t,
680 hsa_insn_atomic (int nops, int opc, enum BrigAtomicOperation aop,
715 hsa_insn_signal (int nops, int opc, enum BrigAtomicOperation sop,
743 hsa_insn_seg (int opc, BrigType16_t destt, BrigType16_t srct,
1396 DEBUG_FUNCTION void debug_hsa_operand (hsa_op_base *opc);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dhsa-common.h437 hsa_insn_basic (unsigned nops, int opc);
438 hsa_insn_basic (unsigned nops, int opc, BrigType16_t t,
518 hsa_insn_br (unsigned nops, int opc, BrigType16_t t, BrigWidth8_t width,
638 hsa_insn_mem (int opc, BrigType16_t t, hsa_op_base *arg0, hsa_op_base *arg1);
655 hsa_insn_mem (unsigned nops, int opc, BrigType16_t t,
680 hsa_insn_atomic (int nops, int opc, enum BrigAtomicOperation aop,
715 hsa_insn_signal (int nops, int opc, enum BrigAtomicOperation sop,
743 hsa_insn_seg (int opc, BrigType16_t destt, BrigType16_t srct,
1396 DEBUG_FUNCTION void debug_hsa_operand (hsa_op_base *opc);
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_rf.c778 static bool is_valid_global_op_class_ch(const struct op_class_t *opc, u8 ch) in is_valid_global_op_class_ch() argument
783 if (opc < global_op_class in is_valid_global_op_class_ch()
784 || (((u8 *)opc) - ((u8 *)global_op_class)) % sizeof(struct op_class_t) in is_valid_global_op_class_ch()
787 …, opc, global_op_class, sizeof(struct op_class_t), (((u8 *)opc) - ((u8 *)global_op_class)) % sizeo… in is_valid_global_op_class_ch()
791 array_idx = (((u8 *)opc) - ((u8 *)global_op_class)) / sizeof(struct op_class_t); in is_valid_global_op_class_ch()
814 const struct op_class_t *opc = get_global_op_class_by_id(gid); in get_sub_op_class() local
818 if (!opc) in get_sub_op_class()
821 if (!is_valid_global_op_class_ch(opc, ch)) { in get_sub_op_class()
825 if (opc->bw == OPC_BW20) in get_sub_op_class()
828 bw = opc_bw_to_ch_width(opc->bw); in get_sub_op_class()

123