Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/spmi/
A Dspmi-mtk-pmif.c295 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmif_arb_cmd()
298 cmd = opc - SPMI_CMD_RESET; in pmif_arb_cmd()
330 if (opc >= 0x60 && opc <= 0x7f) in pmif_spmi_read_cmd()
331 opc = PMIF_CMD_REG; in pmif_spmi_read_cmd()
332 else if ((opc >= 0x20 && opc <= 0x2f) || (opc >= 0x38 && opc <= 0x3f)) in pmif_spmi_read_cmd()
333 opc = PMIF_CMD_EXT_REG_LONG; in pmif_spmi_read_cmd()
388 if (opc >= 0x40 && opc <= 0x5F) in pmif_spmi_write_cmd()
389 opc = PMIF_CMD_REG; in pmif_spmi_write_cmd()
390 else if ((opc <= 0xF) || (opc >= 0x30 && opc <= 0x37)) in pmif_spmi_write_cmd()
392 else if (opc >= 0x80) in pmif_spmi_write_cmd()
[all …]
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 …]
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()
/linux-6.3-rc2/drivers/misc/sgi-gru/
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 …]
A Dgruhandles.h186 unsigned int opc:1; member
262 unsigned int opc:3; member
354 unsigned int opc:3; member
/linux-6.3-rc2/arch/mips/mm/
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 …]
A Duasm-mips.c232 static void build_insn(u32 **buf, enum opcode opc, ...) in build_insn() argument
238 if (opc < 0 || opc >= insn_invalid || in build_insn()
239 (opc == insn_daddiu && r4k_daddiu_bug()) || in build_insn()
240 (insn_table[opc].match == 0 && insn_table[opc].fields == 0)) in build_insn()
241 panic("Unsupported Micro-assembler instruction %d", opc); in build_insn()
243 ip = &insn_table[opc]; in build_insn()
246 va_start(ap, opc); in build_insn()
/linux-6.3-rc2/arch/s390/include/asm/
A Dcpacf.h263 [opc] "i" (CPACF_KM) in cpacf_km()
295 [opc] "i" (CPACF_KMC) in cpacf_kmc()
323 [opc] "i" (CPACF_KIMD) in cpacf_kimd()
348 [opc] "i" (CPACF_KLMD) in cpacf_klmd()
376 [opc] "i" (CPACF_KMAC) in cpacf_kmac()
411 [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
444 [seed] "d" (s.pair), [opc] "i" (CPACF_PRNO) in cpacf_prno()
469 : [fc] "K" (CPACF_PRNO_TRNG), [opc] "i" (CPACF_PRNO) in cpacf_trng()
488 [opc] "i" (CPACF_PCC) in cpacf_pcc()
508 [opc] "i" (CPACF_PCKMO) in cpacf_pckmo()
[all …]
A Dvx-insn-asm.h242 .macro MRXBOPC m opc v1 v2=0 v3=0 v4=0
244 .byte \opc
305 .macro VLEx vr1, disp, index="%r0", base, m3, opc
311 MRXBOPC \m3, \opc, v1
327 .macro VLEIx vr1, imm2, m3, opc
331 MRXBOPC \m3, \opc, v1
/linux-6.3-rc2/drivers/scsi/pm8001/
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,
A Dpm80xx_hwi.c1401 u32 opc = OPC_INB_KEK_MANAGEMENT; in pm80xx_encrypt_update() local
3779 switch (opc) { in process_one_iomb()
4100 u32 opc; in pm80xx_chip_smp_req() local
4128 opc = OPC_INB_SMP_REQUEST; in pm80xx_chip_smp_req()
4270 u32 opc = OPC_INB_SSPINIIOSTART; in pm80xx_chip_ssp_io_req() local
4467 opc = OPC_INB_SATA_DIF_ENC_IO; in pm80xx_chip_sata_req()
4606 ccb->ccb_tag, opc, in pm80xx_chip_sata_req()
4678 u32 opc; in pm80xx_chip_reg_dev_req() local
4711 opc = OPC_INB_REG_DEV; in pm80xx_chip_reg_dev_req()
4847 u32 tag, opc; in pm8001_set_phy_profile_single() local
[all …]
A Dpm8001_hwi.c3775 switch (opc) { in process_one_iomb()
3898 opc); in process_one_iomb()
3980 u32 opc; in pm8001_chip_smp_req() local
4005 opc = OPC_INB_SMP_REQUEST; in pm8001_chip_smp_req()
4046 u32 opc = OPC_INB_SSPINIIOSTART; in pm8001_chip_ssp_io_req() local
4216 u32 opc; in pm8001_chip_reg_dev_req() local
4247 opc = OPC_INB_REG_DEV; in pm8001_chip_reg_dev_req()
4374 u32 opc, device_id; in pm8001_chip_abort_task() local
4379 opc = OPC_INB_SSP_ABORT; in pm8001_chip_abort_task()
4381 opc = OPC_INB_SATA_ABORT; in pm8001_chip_abort_task()
[all …]
/linux-6.3-rc2/arch/mips/kvm/
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 …]
A Dmips.c1182 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in __kvm_mips_handle_exit() local
1203 cause, opc, run, vcpu); in __kvm_mips_handle_exit()
1208 kvm_debug("[%d]EXCCODE_INT @ %p\n", vcpu->vcpu_id, opc); in __kvm_mips_handle_exit()
1219 kvm_debug("EXCCODE_CPU: @ PC: %p\n", opc); in __kvm_mips_handle_exit()
1235 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, in __kvm_mips_handle_exit()
1244 cause, opc, badvaddr); in __kvm_mips_handle_exit()
1302 opc += 1; in __kvm_mips_handle_exit()
1304 kvm_get_badinstr(opc, vcpu, &inst); in __kvm_mips_handle_exit()
1306 exccode, opc, inst, badvaddr, in __kvm_mips_handle_exit()
/linux-6.3-rc2/arch/powerpc/xmon/
A DMakefile24 obj-y += ppc-dis.o ppc-opc.o
25 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/linux-6.3-rc2/drivers/mmc/host/
A Dsh_mmcif.c808 u32 opc = cmd->opcode; in sh_mmcif_set_cmd() local
862 if (opc == MMC_WRITE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
865 if (opc == MMC_READ_MULTIPLE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
871 if (opc == MMC_SEND_OP_COND || opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
872 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
875 if (opc == MMC_SEND_OP_COND) in sh_mmcif_set_cmd()
878 if (opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
879 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
882 return (opc << 24) | tmp; in sh_mmcif_set_cmd()
890 switch (opc) { in sh_mmcif_data_trans()
[all …]
A Dusdhi6rol0.c288 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()
982 return opc; in usdhi6_cmd_flags()
990 int opc = usdhi6_cmd_flags(host); in usdhi6_rq_start() local
993 if (opc < 0) in usdhi6_rq_start()
[all …]
/linux-6.3-rc2/arch/s390/kernel/
A Dftrace.c48 u16 opc; member
153 u16 opc; in ftrace_get_trampoline() local
159 if (get_kernel_nofault(opc, &trampoline->brasl_opc)) in ftrace_get_trampoline()
161 if (opc != 0xc015) in ftrace_get_trampoline()
A Dkprobes.c193 u16 opc; in swap_instruction() local
195 opc = args->arm_kprobe ? BREAKPOINT_INSTRUCTION : p->opcode; in swap_instruction()
196 s390_kernel_write(p->addr, &opc, sizeof(opc)); in swap_instruction()
/linux-6.3-rc2/arch/ia64/kernel/
A Dunwind.c1360 enum unw_insn_opcode opc; in emit_nat_info() local
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()
1424 opc = UNW_INSN_MOVE2; in compile_reg()
1468 opc = UNW_INSN_ADD_SP; in compile_reg()
1472 opc = UNW_INSN_ADD_PSP; in compile_reg()
1480 insn.opc = opc; in compile_reg()
1677 insn.opc = UNW_INSN_ADD; in build_script()
1734 opc = next_insn.opc; in run_script()
[all …]
A Dunwind_i.h141 unsigned int opc : 4; member
/linux-6.3-rc2/arch/mips/include/asm/octeon/
A Dcvmx-srxx-defs.h116 uint64_t opc:4; member
120 uint64_t opc:4;
A Dcvmx-iob-defs.h401 uint64_t opc:4; member
407 uint64_t opc:4;
420 uint64_t opc:4; member
426 uint64_t opc:4;
/linux-6.3-rc2/scripts/
A Ddecodecode130 for opc in $op_bytes;
132 substr+="$opc"
/linux-6.3-rc2/drivers/dma/ppc4xx/
A Dadma.c373 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
381 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
389 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pq()
402 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
409 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_dma01pq()
420 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pq()
470 hw_desc->opc = dopc; in ppc440spe_desc_init_dma01pqzero_sum()
473 hw_desc->opc = DMA_CDB_OPC_DCHECK128; in ppc440spe_desc_init_dma01pqzero_sum()
516 hw_desc->opc = DMA_CDB_OPC_MV_SG1_SG2; in ppc440spe_desc_init_memcpy()
918 cdb->opc = 0; in ppc440spe_adma_device_clear_eot_status()
[all …]

Completed in 91 milliseconds

12