Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/spmi/
Dspmi-mtk-pmif.c288 static int pmif_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmif_arb_cmd() argument
295 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmif_arb_cmd()
298 cmd = opc - SPMI_CMD_RESET; in pmif_arb_cmd()
310 static int pmif_spmi_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmif_spmi_read_cmd() argument
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()
351 cmd = (opc << 30) | (sid << 24) | ((len - 1) << 16) | addr; in pmif_spmi_read_cmd()
373 static int pmif_spmi_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmif_spmi_write_cmd() argument
[all …]
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);
293 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() argument
306 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_non_data_cmd_v1()
318 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() argument
324 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() argument
328 dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid); in pmic_arb_cmd()
331 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmic_arb_cmd()
334 return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid); in pmic_arb_cmd()
337 static int pmic_arb_fmt_read_cmd(struct spmi_pmic_arb *pmic_arb, u8 opc, u8 sid, in pmic_arb_fmt_read_cmd() argument
[all …]
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.1.9/drivers/misc/sgi-gru/
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 …]
Dgruhandles.h186 unsigned int opc:1; member
262 unsigned int opc:3; member
354 unsigned int opc:3; member
/linux-6.1.9/arch/mips/mm/
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 …]
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.1.9/arch/s390/include/asm/
Dcpacf.h184 : [mask] "d" ((unsigned long)mask), [opc] "i" (opcode) in __cpacf_query()
263 [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()
[all …]
Dvx-insn.h239 .macro MRXBOPC m opc v1 v2=0 v3=0 v4=0
241 .byte \opc
302 .macro VLEx vr1, disp, index="%r0", base, m3, opc
308 MRXBOPC \m3, \opc, v1
324 .macro VLEIx vr1, imm2, m3, opc
328 MRXBOPC \m3, \opc, v1
/linux-6.1.9/drivers/scsi/pm8001/
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,
Dpm8001_hwi.c1757 u32 opc = OPC_INB_SATA_ABORT; in pm8001_send_abort_all() local
1782 ret = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &task_abort, in pm8001_send_abort_all()
1799 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm8001_send_read_log() local
1846 res = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &sata_cmd, in pm8001_send_read_log()
3236 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; in pm8001_hw_event_ack_req() local
3245 pm8001_mpi_build_cmd(pm8001_ha, Qnum, opc, &payload, sizeof(payload), 0); in pm8001_hw_event_ack_req()
3871 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); in process_one_iomb() local
3875 switch (opc) { in process_one_iomb()
3998 opc); in process_one_iomb()
4080 u32 opc; in pm8001_chip_smp_req() local
[all …]
Dpm80xx_hwi.c1198 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_thermal_config() local
1223 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &payload, in pm80xx_set_thermal_config()
1243 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_sas_protocol_timer_config() local
1293 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &payload, in pm80xx_set_sas_protocol_timer_config()
1401 u32 opc = OPC_INB_KEK_MANAGEMENT; in pm80xx_encrypt_update() local
1420 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &payload, in pm80xx_encrypt_update()
1787 u32 opc = OPC_INB_SATA_ABORT; in pm80xx_send_abort_all() local
1811 ret = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &task_abort, in pm80xx_send_abort_all()
1829 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm80xx_send_read_log() local
1878 res = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &sata_cmd, in pm80xx_send_read_log()
[all …]
/linux-6.1.9/arch/mips/kvm/
Dvz.c651 u32 *opc; in is_eva_am_mapped() local
665 opc = (u32 *)vcpu->arch.pc; in is_eva_am_mapped()
667 opc += 1; in is_eva_am_mapped()
668 err = kvm_get_badinstr(opc, vcpu, &inst.word); in is_eva_am_mapped()
819 u32 *opc = (u32 *) vcpu->arch.pc; in kvm_trap_vz_no_handler() local
829 opc += 1; in kvm_trap_vz_no_handler()
830 kvm_get_badinstr(opc, vcpu, &inst); in kvm_trap_vz_no_handler()
833 exccode, opc, inst, badvaddr, in kvm_trap_vz_no_handler()
876 u32 *opc, u32 cause, in kvm_vz_gpsi_cop0() argument
1075 u32 *opc, u32 cause, in kvm_vz_gpsi_cache() argument
[all …]
Dmips.c1207 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in __kvm_mips_handle_exit() local
1228 cause, opc, run, vcpu); in __kvm_mips_handle_exit()
1233 kvm_debug("[%d]EXCCODE_INT @ %p\n", vcpu->vcpu_id, opc); in __kvm_mips_handle_exit()
1244 kvm_debug("EXCCODE_CPU: @ PC: %p\n", opc); in __kvm_mips_handle_exit()
1260 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, in __kvm_mips_handle_exit()
1269 cause, opc, badvaddr); in __kvm_mips_handle_exit()
1327 opc += 1; in __kvm_mips_handle_exit()
1329 kvm_get_badinstr(opc, vcpu, &inst); in __kvm_mips_handle_exit()
1331 exccode, opc, inst, badvaddr, in __kvm_mips_handle_exit()
/linux-6.1.9/arch/powerpc/xmon/
DMakefile23 obj-y += ppc-dis.o ppc-opc.o
24 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/linux-6.1.9/drivers/mmc/host/
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()
886 struct mmc_request *mrq, u32 opc) in sh_mmcif_data_trans() argument
[all …]
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 …]
/linux-6.1.9/arch/s390/kernel/
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()
Dkprobes.c194 u16 opc; in swap_instruction() local
196 opc = args->arm_kprobe ? BREAKPOINT_INSTRUCTION : p->opcode; in swap_instruction()
197 s390_kernel_write(p->addr, &opc, sizeof(opc)); in swap_instruction()
/linux-6.1.9/arch/ia64/kernel/
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 …]
Dunwind_i.h141 unsigned int opc : 4; member
/linux-6.1.9/arch/mips/include/asm/octeon/
Dcvmx-srxx-defs.h116 uint64_t opc:4; member
120 uint64_t opc:4;
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.1.9/scripts/
Ddecodecode125 for opc in $op_bytes;
127 substr+="$opc"
/linux-6.1.9/drivers/dma/ppc4xx/
Dadma.c146 cdb->attr, cdb->opc, le32_to_cpu(cdb->cnt), in print_cb()
373 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()
[all …]

12