Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/spmi/
Dspmi-mtk-pmif.c289 static int pmif_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmif_arb_cmd() argument
296 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmif_arb_cmd()
299 cmd = opc - SPMI_CMD_RESET; in pmif_arb_cmd()
311 static int pmif_spmi_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmif_spmi_read_cmd() argument
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()
355 cmd = (opc << 30) | (sid << 24) | ((len - 1) << 16) | addr; in pmif_spmi_read_cmd()
378 static int pmif_spmi_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in pmif_spmi_write_cmd() argument
[all …]
Dspmi-pmic-arb.c235 u32 (*fmt_cmd)(u8 opc, u8 sid, u16 addr, u8 bc);
236 int (*non_data_cmd)(struct spmi_controller *ctrl, u8 opc, u8 sid);
342 pmic_arb_non_data_cmd_v1(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v1() argument
356 cmd = ((opc | 0x40) << 27) | ((sid & 0xf) << 20); in pmic_arb_non_data_cmd_v1()
368 pmic_arb_non_data_cmd_v2(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_non_data_cmd_v2() argument
374 static int pmic_arb_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid) in pmic_arb_cmd() argument
378 dev_dbg(&ctrl->dev, "cmd op:0x%x sid:%d\n", opc, sid); in pmic_arb_cmd()
381 if (opc < SPMI_CMD_RESET || opc > SPMI_CMD_WAKEUP) in pmic_arb_cmd()
384 return pmic_arb->ver_ops->non_data_cmd(ctrl, opc, sid); in pmic_arb_cmd()
387 static int pmic_arb_fmt_read_cmd(struct spmi_pmic_arb_bus *bus, 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.12.1/drivers/misc/sgi-gru/
Dgruhandles.c59 static int wait_instruction_complete(void *h, enum mcs_op opc) in wait_instruction_complete() argument
75 update_mcs_stats(opc, get_cycles() - start_time); in wait_instruction_complete()
83 cch->opc = CCHOP_ALLOCATE; in cch_allocate()
97 cch->opc = CCHOP_START; in cch_start()
104 cch->opc = CCHOP_INTERRUPT; in cch_interrupt()
113 cch->opc = CCHOP_DEALLOCATE; in cch_deallocate()
128 cch->opc = CCHOP_INTERRUPT_SYNC; in cch_interrupt_sync()
145 tgh->opc = TGHOP_TLBINV; in tgh_invalidate()
161 tfh->opc = TFHOP_WRITE_ONLY; in tfh_write_only()
177 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.12.1/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.12.1/arch/s390/include/asm/
Dcpacf.h220 static __always_inline void __cpacf_query_rre(u32 opc, u8 r1, u8 r2, in __cpacf_query_rre() argument
228 : [opc] "i" (opc), [fc] "i" (fc), in __cpacf_query_rre()
233 static __always_inline void __cpacf_query_rrf(u32 opc, u8 r1, u8 r2, u8 r3, in __cpacf_query_rrf() argument
241 : [opc] "i" (opc), [fc] "i" (fc), [r1] "i" (r1), in __cpacf_query_rrf()
416 [opc] "i" (CPACF_KM) in cpacf_km()
448 [opc] "i" (CPACF_KMC) in cpacf_kmc()
476 [opc] "i" (CPACF_KIMD) in cpacf_kimd()
501 [opc] "i" (CPACF_KLMD) in cpacf_klmd()
530 [opc] "i" (CPACF_KMAC) in _cpacf_kmac()
581 [opc] "i" (CPACF_KMCTR) in cpacf_kmctr()
[all …]
Dfpu-insn-asm.h264 .macro MRXBOPC m opc v1 v2=0 v3=0 v4=0
266 .byte \opc
327 .macro VLEx vr1, disp, index="%r0", base, m3, opc
333 MRXBOPC \m3, \opc, v1
349 .macro VLEIx vr1, imm2, m3, opc
353 MRXBOPC \m3, \opc, v1
/linux-6.12.1/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,
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()
3076 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; in pm80xx_hw_event_ack_req() local
3085 pm8001_mpi_build_cmd(pm8001_ha, Qnum, opc, &payload, in pm80xx_hw_event_ack_req()
3794 u32 opc = (u32)((le32_to_cpu(pHeader)) & 0xFFF); in process_one_iomb() local
3796 switch (opc) { in process_one_iomb()
[all …]
Dpm8001_hwi.c3085 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; in pm8001_hw_event_ack_req() local
3094 pm8001_mpi_build_cmd(pm8001_ha, Qnum, opc, &payload, sizeof(payload), 0); in pm8001_hw_event_ack_req()
3716 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); in process_one_iomb() local
3720 switch (opc) { in process_one_iomb()
3843 opc); in process_one_iomb()
3925 u32 opc; in pm8001_chip_smp_req() local
3950 opc = OPC_INB_SMP_REQUEST; in pm8001_chip_smp_req()
3961 rc = pm8001_mpi_build_cmd(pm8001_ha, 0, opc, in pm8001_chip_smp_req()
3991 u32 opc = OPC_INB_SSPINIIOSTART; in pm8001_chip_ssp_io_req() local
4024 return pm8001_mpi_build_cmd(pm8001_ha, 0, opc, &ssp_cmd, in pm8001_chip_ssp_io_req()
[all …]
/linux-6.12.1/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.c1174 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in __kvm_mips_handle_exit() local
1195 cause, opc, run, vcpu); in __kvm_mips_handle_exit()
1200 kvm_debug("[%d]EXCCODE_INT @ %p\n", vcpu->vcpu_id, opc); in __kvm_mips_handle_exit()
1211 kvm_debug("EXCCODE_CPU: @ PC: %p\n", opc); in __kvm_mips_handle_exit()
1227 cause, kvm_read_c0_guest_status(&vcpu->arch.cop0), opc, in __kvm_mips_handle_exit()
1236 cause, opc, badvaddr); in __kvm_mips_handle_exit()
1294 opc += 1; in __kvm_mips_handle_exit()
1296 kvm_get_badinstr(opc, vcpu, &inst); in __kvm_mips_handle_exit()
1298 exccode, opc, inst, badvaddr, in __kvm_mips_handle_exit()
/linux-6.12.1/arch/s390/kernel/
Dftrace.c49 u16 opc; member
79 static const struct ftrace_insn orig = { .opc = 0xc004, .disp = 0 }; in ftrace_init_nop()
132 u16 opc; in ftrace_get_trampoline() local
138 if (get_kernel_nofault(opc, &trampoline->brasl_opc)) in ftrace_get_trampoline()
140 if (opc != 0xc015) in ftrace_get_trampoline()
149 return (struct ftrace_insn){ .opc = target ? 0xc005 : 0xc004, in ftrace_generate_branch_insn()
Dkprobes.c144 u16 opc; in swap_instruction() local
146 opc = args->arm_kprobe ? BREAKPOINT_INSTRUCTION : p->opcode; in swap_instruction()
147 s390_kernel_write(p->addr, &opc, sizeof(opc)); in swap_instruction()
/linux-6.12.1/arch/powerpc/xmon/
DMakefile20 obj-y += ppc-dis.o ppc-opc.o
21 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/linux-6.12.1/drivers/mmc/host/
Dsh_mmcif.c845 u32 opc = cmd->opcode; in sh_mmcif_set_cmd() local
899 if (opc == MMC_WRITE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) in sh_mmcif_set_cmd()
902 if (opc == MMC_READ_MULTIPLE_BLOCK || opc == MMC_WRITE_MULTIPLE_BLOCK) { in sh_mmcif_set_cmd()
908 if (opc == MMC_SEND_OP_COND || opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
909 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
912 if (opc == MMC_SEND_OP_COND) in sh_mmcif_set_cmd()
915 if (opc == MMC_ALL_SEND_CID || in sh_mmcif_set_cmd()
916 opc == MMC_SEND_CSD || opc == MMC_SEND_CID) in sh_mmcif_set_cmd()
919 return (opc << 24) | tmp; in sh_mmcif_set_cmd()
923 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.12.1/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.12.1/scripts/
Ddecodecode135 for opc in $op_bytes;
137 substr+="$opc"
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_parser_rt.c178 if (kb->opc == ICE_NPKB_OPC_EXTRACT) in ice_pk_build()
180 else if (kb->opc == ICE_NPKB_OPC_BUILD) in ice_pk_build()
183 else if (kb->opc == ICE_NPKB_OPC_BYPASS) in ice_pk_build()
187 kb->opc); in ice_pk_build()
460 alu->opc); in ice_dst_reg_bit_set()
505 switch (alu->opc) { in ice_alu_exe()
536 alu->opc); in ice_alu_exe()
Dice_lag.c216 u32 opc; in ice_lag_cfg_fltr() local
247 opc = ice_aqc_opc_add_sw_rules; in ice_lag_cfg_fltr()
250 opc = ice_aqc_opc_remove_sw_rules; in ice_lag_cfg_fltr()
253 err = ice_aq_sw_rules(&lag->pf->hw, s_rule, s_rule_sz, 1, opc, NULL); in ice_lag_cfg_fltr()
783 u16 buf_len, opc; in ice_lag_cfg_cp_fltr() local
805 opc = ice_aqc_opc_add_sw_rules; in ice_lag_cfg_cp_fltr()
807 opc = ice_aqc_opc_remove_sw_rules; in ice_lag_cfg_cp_fltr()
810 if (ice_aq_sw_rules(&lag->pf->hw, s_rule, buf_len, 1, opc, NULL)) { in ice_lag_cfg_cp_fltr()
/linux-6.12.1/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