Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/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.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()
/Linux-v5.15/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-v5.15/drivers/spmi/
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 …]
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-v5.15/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.c1200 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in kvm_mips_handle_exit() local
1221 cause, opc, run, vcpu); in kvm_mips_handle_exit()
1226 kvm_debug("[%d]EXCCODE_INT @ %p\n", vcpu->vcpu_id, opc); in kvm_mips_handle_exit()
1237 kvm_debug("EXCCODE_CPU: @ PC: %p\n", opc); in kvm_mips_handle_exit()
1253 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, in kvm_mips_handle_exit()
1262 cause, opc, badvaddr); in kvm_mips_handle_exit()
1320 opc += 1; in kvm_mips_handle_exit()
1322 kvm_get_badinstr(opc, vcpu, &inst); in kvm_mips_handle_exit()
1324 exccode, opc, inst, badvaddr, in kvm_mips_handle_exit()
/Linux-v5.15/arch/powerpc/xmon/
DMakefile23 obj-y += ppc-dis.o ppc-opc.o
24 obj-$(CONFIG_SPU_BASE) += spu-dis.o spu-opc.o
/Linux-v5.15/drivers/mmc/host/
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 …]
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-v5.15/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-v5.15/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-v5.15/arch/s390/kernel/
Dftrace.c48 u16 opc; member
181 insn->opc = 0xc004; in ftrace_generate_nop_insn()
196 insn->opc = 0xc005; in ftrace_generate_call_insn()
Dkprobes.c146 u16 opc; in swap_instruction() local
148 opc = args->arm_kprobe ? BREAKPOINT_INSTRUCTION : p->opcode; in swap_instruction()
149 s390_kernel_write(p->addr, &opc, sizeof(opc)); in swap_instruction()
Dalternative.c20 u16 opc; member
/Linux-v5.15/drivers/scsi/pm8001/
Dpm80xx_hwi.c1189 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_thermal_config() local
1213 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_set_thermal_config()
1234 u32 opc = OPC_INB_SET_CONTROLLER_CONFIG; in pm80xx_set_sas_protocol_timer_config() local
1288 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_set_sas_protocol_timer_config()
1397 u32 opc = OPC_INB_KEK_MANAGEMENT; in pm80xx_encrypt_update() local
1416 rc = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm80xx_encrypt_update()
1776 u32 opc = OPC_INB_SATA_ABORT; in pm80xx_send_abort_all() local
1811 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, in pm80xx_send_abort_all()
1831 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm80xx_send_read_log() local
1887 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, in pm80xx_send_read_log()
[all …]
Dpm8001_hwi.c1759 u32 opc = OPC_INB_SATA_ABORT; in pm8001_send_abort_all() local
1792 ret = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &task_abort, in pm8001_send_abort_all()
1810 u32 opc = OPC_INB_SATA_HOST_OPSTART; in pm8001_send_read_log() local
1864 res = pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &sata_cmd, in pm8001_send_read_log()
3320 u32 opc = OPC_INB_SAS_HW_EVENT_ACK; in pm8001_hw_event_ack_req() local
3331 pm8001_mpi_build_cmd(pm8001_ha, circularQ, opc, &payload, in pm8001_hw_event_ack_req()
3959 u8 opc = (u8)((le32_to_cpu(pHeader)) & 0xFFF); in process_one_iomb() local
3963 switch (opc) { in process_one_iomb()
4086 opc); in process_one_iomb()
4168 u32 opc; in pm8001_chip_smp_req() local
[all …]
/Linux-v5.15/drivers/net/ethernet/intel/ice/
Dice_switch.c465 enum ice_adminq_opc opc) in ice_aq_alloc_free_vsi_list() argument
493 if (opc == ice_aqc_opc_free_res) in ice_aq_alloc_free_vsi_list()
496 status = ice_aq_alloc_free_res(hw, 1, sw_buf, buf_len, opc, NULL); in ice_aq_alloc_free_vsi_list()
500 if (opc == ice_aqc_opc_alloc_res) { in ice_aq_alloc_free_vsi_list()
523 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_sw_rules() argument
528 if (opc != ice_aqc_opc_add_sw_rules && in ice_aq_sw_rules()
529 opc != ice_aqc_opc_update_sw_rules && in ice_aq_sw_rules()
530 opc != ice_aqc_opc_remove_sw_rules) in ice_aq_sw_rules()
533 ice_fill_dflt_direct_cmd_desc(&desc, opc); in ice_aq_sw_rules()
539 if (opc != ice_aqc_opc_add_sw_rules && in ice_aq_sw_rules()
[all …]
Dice_common.h42 enum ice_adminq_opc opc, struct ice_sq_cd *cd);
93 enum ice_adminq_opc opc, struct ice_sq_cd *cd);
/Linux-v5.15/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