| /linux/drivers/spmi/ |
| H A D | spmi-mtk-pmif.c | 289 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 …]
|
| H A D | spmi-pmic-arb.c | 235 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 …]
|
| H A D | spmi-apple-controller.c | 39 static inline u32 apple_spmi_pack_cmd(u8 opc, u8 sid, u16 saddr, size_t len) in apple_spmi_pack_cmd() argument 41 return opc | sid << 8 | saddr << 16 | (len - 1) | (1 << 15); in apple_spmi_pack_cmd() 61 static int spmi_read_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in spmi_read_cmd() argument 65 u32 spmi_cmd = apple_spmi_pack_cmd(opc, sid, saddr, len); in spmi_read_cmd() 93 static int spmi_write_cmd(struct spmi_controller *ctrl, u8 opc, u8 sid, in spmi_write_cmd() argument 97 u32 spmi_cmd = apple_spmi_pack_cmd(opc, sid, saddr, len); in spmi_write_cmd()
|
| /linux/drivers/misc/sgi-gru/ |
| H A D | gruhandles.c | 59 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 …]
|
| H A D | gruhandles.h | 186 unsigned int opc:1; member 262 unsigned int opc:3; member 354 unsigned int opc:3; member
|
| H A D | gru_instructions.h | 70 int opc; member 96 unsigned char opc: 8; /* opcode */ member
|
| /linux/arch/mips/mm/ |
| H A D | uasm-micromips.c | 156 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 D | uasm-mips.c | 232 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/arch/s390/include/asm/ |
| H A D | cpacf.h | 226 static __always_inline void __cpacf_query_rre(u32 opc, u8 r1, u8 r2, in __cpacf_query_rre() argument 234 : [opc] "i" (opc), [fc] "i" (fc), in __cpacf_query_rre() 239 static __always_inline void __cpacf_query_rrf(u32 opc, u8 r1, u8 r2, u8 r3, in __cpacf_query_rrf() argument 247 : [opc] "i" (opc), [fc] "i" (fc), [r1] "i" (r1), in __cpacf_query_rrf() 422 [opc] "i" (CPACF_KM) in cpacf_km() 454 [opc] "i" (CPACF_KMC) in cpacf_kmc() 482 [opc] "i" (CPACF_KIMD) in cpacf_kimd() 507 [opc] "i" (CPACF_KLMD) in cpacf_klmd() 536 [opc] "i" (CPACF_KMAC) in _cpacf_kmac() 587 [opc] "i" (CPACF_KMCTR) in cpacf_kmctr() [all …]
|
| H A D | fpu-insn-asm.h | 264 .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/drivers/scsi/pm8001/ |
| H A D | pm80xx_tracepoints.h | 79 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,
|
| /linux/arch/mips/kvm/ |
| H A D | vz.c | 651 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 …]
|
| H A D | mips.c | 1173 u32 __user *opc = (u32 __user *) vcpu->arch.pc; in __kvm_mips_handle_exit() local 1194 cause, opc, run, vcpu); in __kvm_mips_handle_exit() 1199 kvm_debug("[%d]EXCCODE_INT @ %p\n", vcpu->vcpu_id, opc); in __kvm_mips_handle_exit() 1210 kvm_debug("EXCCODE_CPU: @ PC: %p\n", opc); in __kvm_mips_handle_exit() 1226 cause, kvm_read_c0_guest_status(&vcpu->arch.cop0), opc, in __kvm_mips_handle_exit() 1235 cause, opc, badvaddr); in __kvm_mips_handle_exit() 1293 opc += 1; in __kvm_mips_handle_exit() 1295 kvm_get_badinstr(opc, vcpu, &inst); in __kvm_mips_handle_exit() 1297 exccode, opc, inst, badvaddr, in __kvm_mips_handle_exit()
|
| /linux/arch/s390/kernel/ |
| H A D | ftrace.c | 50 u16 opc; member 80 static const struct ftrace_insn orig = { .opc = 0xc004, .disp = 0 }; in ftrace_init_nop() 133 u16 opc; in ftrace_get_trampoline() local 139 if (get_kernel_nofault(opc, &trampoline->brasl_opc)) in ftrace_get_trampoline() 141 if (opc != 0xc015) in ftrace_get_trampoline() 150 return (struct ftrace_insn){ .opc = target ? 0xc005 : 0xc004, in ftrace_generate_branch_insn()
|
| /linux/drivers/mmc/host/ |
| H A D | usdhi6rol0.c | 281 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/arch/mips/include/asm/octeon/ |
| H A D | cvmx-srxx-defs.h | 116 uint64_t opc:4; member 120 uint64_t opc:4;
|
| H A D | cvmx-iob-defs.h | 401 uint64_t opc:4; member 407 uint64_t opc:4; 420 uint64_t opc:4; member 426 uint64_t opc:4;
|
| /linux/scripts/ |
| H A D | decodecode | 135 for opc in $op_bytes; 137 substr+="$opc"
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_parser_rt.c | 176 if (kb->opc == ICE_NPKB_OPC_EXTRACT) in ice_pk_build() 178 else if (kb->opc == ICE_NPKB_OPC_BUILD) in ice_pk_build() 181 else if (kb->opc == ICE_NPKB_OPC_BYPASS) in ice_pk_build() 185 kb->opc); in ice_pk_build() 458 alu->opc); in ice_dst_reg_bit_set() 503 switch (alu->opc) { in ice_alu_exe() 534 alu->opc); in ice_alu_exe()
|
| H A D | ice_parser.h | 43 u8 opc; member 116 enum ice_alu_opcode opc; member
|
| H A D | ice_switch.c | 1887 enum ice_adminq_opc opc) in ice_aq_alloc_free_vsi_list() argument 1906 if (opc == ice_aqc_opc_alloc_res) in ice_aq_alloc_free_vsi_list() 1917 if (opc == ice_aqc_opc_free_res) in ice_aq_alloc_free_vsi_list() 1920 status = ice_aq_alloc_free_res(hw, sw_buf, buf_len, opc); in ice_aq_alloc_free_vsi_list() 1924 if (opc == ice_aqc_opc_alloc_res) { in ice_aq_alloc_free_vsi_list() 1945 u8 num_rules, enum ice_adminq_opc opc, struct ice_sq_cd *cd) in ice_aq_sw_rules() argument 1951 if (opc != ice_aqc_opc_add_sw_rules && in ice_aq_sw_rules() 1952 opc != ice_aqc_opc_update_sw_rules && in ice_aq_sw_rules() 1953 opc != ice_aqc_opc_remove_sw_rules) in ice_aq_sw_rules() 1956 ice_fill_dflt_direct_cmd_desc(&desc, opc); in ice_aq_sw_rules() [all …]
|
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_solver.h | 24 u32 opc; /* operations per cycle */ member
|
| H A D | aie2_solver.c | 94 if (qos_meet(xrs, rqos, cdop->qos_cap.opc * cu_clk_freq / 1000)) in sanity_check() 130 if (!qos_meet(xrs, rqos, cdop->qos_cap.opc * freq / 1000)) in set_dpm_level()
|
| /linux/drivers/dma/ppc4xx/ |
| H A D | adma.c | 146 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 …]
|
| H A D | dma.h | 108 u8 opc; /* opcode */ member
|