/openbmc/linux/drivers/mmc/core/ |
H A D | sd_ops.c | 30 cmd.opcode = MMC_APP_CMD; in mmc_app_cmd() 101 cmd.opcode = SD_APP_SET_BUS_WIDTH; in mmc_app_set_bus_width() 123 cmd.opcode = SD_APP_OP_COND; in mmc_send_app_op_cond() 175 cmd.opcode = SD_SEND_IF_COND; in __mmc_send_if_cond() 243 cmd.opcode = SD_SEND_RELATIVE_ADDR; in mmc_send_relative_addr() 281 cmd.opcode = SD_APP_SEND_SCR; in mmc_app_send_scr() 345 cmd.opcode = SD_APP_SD_STATUS; in mmc_app_sd_status()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | gsi_trans.c | 408 dma_addr_t addr, enum ipa_cmd_opcode opcode) in gsi_trans_cmd_add() argument 434 trans->cmd_opcode[which] = opcode; in gsi_trans_cmd_add() 490 return opcode == IPA_CMD_NONE ? cpu_to_le16((u16)len) in gsi_tre_len_opcode() 491 : cpu_to_le16((u16)opcode); in gsi_tre_len_opcode() 500 tre_type = opcode == IPA_CMD_NONE ? GSI_RE_XFER : GSI_RE_IMMD_CMD; in gsi_tre_flags() 519 enum ipa_cmd_opcode opcode) in gsi_trans_tre_fill() argument 524 tre.len_opcode = gsi_tre_len_opcode(opcode, len); in gsi_trans_tre_fill() 526 tre.flags = gsi_tre_flags(last_tre, bei, opcode); in gsi_trans_tre_fill() 549 enum ipa_cmd_opcode opcode = IPA_CMD_NONE; in __gsi_trans_commit() local 577 opcode = *cmd_opcode++; in __gsi_trans_commit() [all …]
|
/openbmc/linux/drivers/infiniband/hw/efa/ |
H A D | efa_com_cmd.c | 18 create_qp_cmd.aq_common_desc.opcode = EFA_ADMIN_CREATE_QP; in efa_com_create_qp() 65 cmd.aq_common_desc.opcode = EFA_ADMIN_MODIFY_QP; in efa_com_modify_qp() 100 cmd.aq_common_desc.opcode = EFA_ADMIN_QUERY_QP; in efa_com_query_qp() 132 qp_cmd.aq_common_desc.opcode = EFA_ADMIN_DESTROY_QP; in efa_com_destroy_qp() 159 create_cmd.aq_common_desc.opcode = EFA_ADMIN_CREATE_CQ; in efa_com_create_cq() 235 mr_cmd.aq_common_desc.opcode = EFA_ADMIN_REG_MR; in efa_com_register_mr() 285 mr_cmd.aq_common_desc.opcode = EFA_ADMIN_DEREG_MR; in efa_com_dereg_mr() 312 ah_cmd.aq_common_desc.opcode = EFA_ADMIN_CREATE_AH; in efa_com_create_ah() 342 ah_cmd.aq_common_desc.opcode = EFA_ADMIN_DESTROY_AH; in efa_com_destroy_ah() 654 cmd.aq_common_descriptor.opcode = EFA_ADMIN_ALLOC_PD; in efa_com_alloc_pd() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_hw.c | 397 u32 opcode = 0; in qed_dmae_opcode() local 403 SET_FIELD(opcode, DMAE_CMD_SRC, in qed_dmae_opcode() 410 SET_FIELD(opcode, DMAE_CMD_DST, in qed_dmae_opcode() 421 SET_FIELD(opcode, DMAE_CMD_COMP_WORD_EN, 1); in qed_dmae_opcode() 422 SET_FIELD(opcode, DMAE_CMD_SRC_ADDR_RESET, 1); in qed_dmae_opcode() 425 SET_FIELD(opcode, DMAE_CMD_COMP_FUNC, 1); in qed_dmae_opcode() 432 SET_FIELD(opcode, DMAE_CMD_PORT_ID, port_id); in qed_dmae_opcode() 435 SET_FIELD(opcode, DMAE_CMD_SRC_ADDR_RESET, 1); in qed_dmae_opcode() 454 p_hwfn->dmae_info.p_dmae_cmd->opcode = cpu_to_le32(opcode); in qed_dmae_opcode() 478 le32_to_cpu(p_command->opcode), in qed_dmae_post_command() [all …]
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 63 static int spi_nor_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in spi_nor_write_reg() argument 65 struct spi_mem_op op = SPI_MEM_OP(SPI_MEM_OP_CMD(opcode, 1), in spi_nor_write_reg() 164 static u8 spi_nor_convert_opcode(u8 opcode, const u8 table[][2], size_t size) in spi_nor_convert_opcode() argument 169 if (table[i][0] == opcode) in spi_nor_convert_opcode() 173 return opcode; in spi_nor_convert_opcode() 176 static inline u8 spi_nor_convert_3to4_read(u8 opcode) in spi_nor_convert_3to4_read() argument 187 return spi_nor_convert_opcode(opcode, spi_nor_3to4_read, in spi_nor_convert_3to4_read() 548 u8 opcode; member 571 u8 opcode, in spi_nor_set_read_settings() argument 576 read->opcode = opcode; in spi_nor_set_read_settings() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | myrb.h | 578 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 583 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 590 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 598 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 606 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 616 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 626 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 635 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 644 enum myrb_cmd_opcode opcode; /* Byte 0 */ member 662 enum myrb_cmd_opcode opcode; /* Byte 0 */ member
|
/openbmc/linux/arch/x86/kernel/ |
H A D | step.c | 59 unsigned char opcode[15]; in is_setting_trap_flag() local 62 copied = access_process_vm(child, addr, opcode, sizeof(opcode), in is_setting_trap_flag() 65 switch (opcode[i]) { in is_setting_trap_flag()
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 358 u32 opcode; in gve_adminq_issue_cmd() local 387 opcode = be32_to_cpu(READ_ONCE(cmd->opcode)); in gve_adminq_issue_cmd() 389 switch (opcode) { in gve_adminq_issue_cmd() 512 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_TX_QUEUE); in gve_adminq_create_tx_queue() 570 cmd.opcode = cpu_to_be32(GVE_ADMINQ_CREATE_RX_QUEUE); in gve_adminq_create_rx_queue() 638 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESTROY_TX_QUEUE); in gve_adminq_destroy_tx_queue() 670 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESTROY_RX_QUEUE); in gve_adminq_destroy_rx_queue() 785 cmd.opcode = cpu_to_be32(GVE_ADMINQ_DESCRIBE_DEVICE); in gve_adminq_describe_device() 896 cmd.opcode = cpu_to_be32(GVE_ADMINQ_REGISTER_PAGE_LIST); in gve_adminq_register_page_list() 941 cmd.opcode = cpu_to_be32(GVE_ADMINQ_REPORT_STATS); in gve_adminq_report_stats() [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | psparse.c | 41 u32 acpi_ps_get_opcode_size(u32 opcode) in acpi_ps_get_opcode_size() argument 46 if (opcode > 0x00FF) { in acpi_ps_get_opcode_size() 70 u16 opcode; in acpi_ps_peek_opcode() local 73 opcode = (u16) ACPI_GET8(aml); in acpi_ps_peek_opcode() 75 if (opcode == AML_EXTENDED_PREFIX) { in acpi_ps_peek_opcode() 80 opcode = (u16) ((opcode << 8) | ACPI_GET8(aml)); in acpi_ps_peek_opcode() 83 return (opcode); in acpi_ps_peek_opcode()
|
H A D | dsobject.c | 321 u16 opcode, in acpi_ds_init_object_from_op() argument 331 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ds_init_object_from_op() 387 switch (opcode) { in acpi_ds_init_object_from_op() 416 opcode)); in acpi_ds_init_object_from_op() 470 ((u32)opcode) - AML_FIRST_LOCAL_OP; in acpi_ds_init_object_from_op() 489 ((u32)opcode) - AML_FIRST_ARG_OP; in acpi_ds_init_object_from_op() 528 opcode)); in acpi_ds_init_object_from_op()
|
H A D | psloop.c | 341 (walk_state->opcode)->object_type)) { in acpi_ps_parse_loop() 347 …se of AML opcode: %s (0x%4.4X)", acpi_ps_get_opcode_name(walk_state->opcode), walk_state->opcode)); in acpi_ps_parse_loop() 354 if ((walk_state->opcode & 0xFF00) == in acpi_ps_parse_loop() 411 opcode == AML_IF_OP) in acpi_ps_parse_loop() 413 opcode == AML_WHILE_OP))) { in acpi_ps_parse_loop() 523 walk_state->opcode = op->common.aml_opcode; in acpi_ps_parse_loop()
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A D | asm-prototypes.h | 25 long ucall_norets(unsigned long opcode, ...); 27 static inline long ucall_norets(unsigned long opcode, ...) in ucall_norets() argument 36 int64_t opcode, uint64_t msr);
|
/openbmc/linux/drivers/mmc/host/ |
H A D | usdhi6rol0.c | 512 host->mrq->cmd->opcode, host->mrq); in usdhi6_sg_advance() 560 mrq->cmd->opcode); in usdhi6_dma_complete() 936 u16 opc = cmd->opcode; in usdhi6_cmd_flags() 951 (cmd->opcode == SD_IO_RW_EXTENDED && in usdhi6_cmd_flags() 1041 (cmd->opcode == SD_IO_RW_EXTENDED && in usdhi6_rq_start() 1071 __func__, cmd->opcode); in usdhi6_rq_start() 1349 switch (mrq->cmd->opcode) { in usdhi6_stop_cmd() 1360 mrq->stop->opcode, mrq->cmd->opcode); in usdhi6_stop_cmd() 1390 (cmd->opcode == SD_IO_RW_EXTENDED && in usdhi6_end_cmd() 1397 (cmd->opcode == SD_IO_RW_EXTENDED && in usdhi6_end_cmd() [all …]
|
/openbmc/linux/drivers/media/firewire/ |
H A D | firedtv-avc.c | 77 u8 opcode; member 84 u8 opcode; member 163 switch (opcode) { in debug_fcp_opcode() 338 c->opcode = AVC_OPCODE_VENDOR; in avc_tuner_tuneqpsk() 419 c->opcode = AVC_OPCODE_DSD; in avc_tuner_dsd_dvb_c() 487 c->opcode = AVC_OPCODE_DSD; in avc_tuner_dsd_dvb_t() 637 c->opcode = AVC_OPCODE_DSD; in avc_tuner_set_pids() 680 c->opcode = AVC_OPCODE_DSIT; in avc_tuner_get_ts() 842 c->opcode = AVC_OPCODE_VENDOR; in avc_lnb_control() 886 c->opcode = AVC_OPCODE_VENDOR; in avc_register_remote_control() [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-wpcm-fiu.c | 66 static void wpcm_fiu_set_opcode(struct wpcm_fiu_spi *fiu, u8 opcode) in wpcm_fiu_set_opcode() argument 68 writeb(opcode, fiu->regs + FIU_UMA_CODE); in wpcm_fiu_set_opcode() 143 if (op->cmd.opcode == 0x0b) in wpcm_fiu_normal_match() 155 wpcm_fiu_set_opcode(fiu, op->cmd.opcode); in wpcm_fiu_normal_exec() 171 return op->cmd.opcode == 0x0b && op->addr.nbytes == 3 && in wpcm_fiu_fast_read_match() 202 wpcm_fiu_set_opcode(fiu, op->cmd.opcode); in wpcm_fiu_4ba_exec() 235 return op->cmd.opcode == 0x9f && op->addr.nbytes == 0 && in wpcm_fiu_rdid_match() 246 wpcm_fiu_set_opcode(fiu, op->cmd.opcode); in wpcm_fiu_rdid_exec() 252 wpcm_fiu_set_opcode(fiu, op->cmd.opcode); in wpcm_fiu_rdid_exec() 269 if (op->cmd.opcode == 0x0b) in wpcm_fiu_dummy_match() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | tid_rdma.c | 2205 qp->r_state = e->opcode; in tid_rdma_rcv_error() 2299 qp->r_state = e->opcode; in hfi1_rc_rcv_tid_rdma_read_req() 2429 if (wqe->wr.opcode == opcode) in find_tid_request() 2457 u32 opcode, aeth; in hfi1_rc_rcv_tid_rdma_read_resp() local 2858 u8 opcode; in hfi1_handle_kdeth_eflags() local 3220 switch (wqe->wr.opcode) { in hfi1_tid_rdma_wqe_interlock() 3228 switch (prev->wr.opcode) { in hfi1_tid_rdma_wqe_interlock() 3243 switch (prev->wr.opcode) { in hfi1_tid_rdma_wqe_interlock() 3775 qp->r_state = e->opcode; in hfi1_rc_rcv_tid_rdma_write_req() 4281 u8 opcode; in hfi1_rc_rcv_tid_rdma_write_data() local [all …]
|
/openbmc/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_rcfw.c | 79 static int bnxt_qplib_map_rc(u8 opcode) in bnxt_qplib_map_rc() argument 81 switch (opcode) { in bnxt_qplib_map_rc() 124 __func__, cookie, crsqe->opcode, in bnxt_re_is_fw_stalled() 156 return bnxt_qplib_map_rc(crsqe->opcode); in __wait_for_resp() 328 crsqe->opcode = opcode; in __send_message() 420 u8 opcode) in __send_message_basic_sanity() argument 428 return bnxt_qplib_map_rc(opcode); in __send_message_basic_sanity() 444 opcode); in __send_message_basic_sanity() 492 u8 opcode; in __bnxt_qplib_rcfw_send_message() local 500 rc = __send_message(rcfw, msg, opcode); in __bnxt_qplib_rcfw_send_message() [all …]
|
/openbmc/linux/arch/s390/kernel/ |
H A D | jump_label.c | 15 u16 opcode; member 22 insn->opcode = 0xc004; in jump_label_make_nop() 29 insn->opcode = 0xc0f4; in jump_label_make_branch()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | i440fx_fuzz.c | 48 uint8_t opcode; in ioport_fuzz_qtest() member 59 switch (a.opcode % ACTION_MAX) { in ioport_fuzz_qtest() 101 uint8_t opcode; in pciconfig_fuzz_qos() member 109 switch (a.opcode % ACTION_MAX) { in pciconfig_fuzz_qos()
|
/openbmc/linux/arch/riscv/kernel/probes/ |
H A D | uprobes.c | 34 probe_opcode_t opcode; in arch_uprobe_analyze_insn() local 36 opcode = *(probe_opcode_t *)(&auprobe->insn[0]); in arch_uprobe_analyze_insn() 38 auprobe->insn_size = GET_INSN_LENGTH(opcode); in arch_uprobe_analyze_insn() 40 switch (riscv_probe_decode_insn(&opcode, &auprobe->api)) { in arch_uprobe_analyze_insn()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/ |
H A D | dr_cmd.c | 16 MLX5_SET(query_esw_vport_context_in, in, opcode, in mlx5dr_cmd_query_esw_vport_context() 97 MLX5_SET(query_nic_vport_context_in, in, opcode, in dr_cmd_query_nic_vport_roce_en() 240 MLX5_SET(query_flow_table_in, in, opcode, in mlx5dr_cmd_query_flow_table() 271 MLX5_SET(general_obj_in_cmd_hdr, in, opcode, in mlx5dr_cmd_query_flow_sampler() 382 MLX5_SET(alloc_modify_header_context_in, in, opcode, in mlx5dr_cmd_alloc_modify_header() 449 MLX5_SET(destroy_flow_group_in, in, opcode, in mlx5dr_cmd_destroy_flow_group() 521 MLX5_SET(destroy_flow_table_in, in, opcode, in mlx5dr_cmd_destroy_flow_table() 630 MLX5_SET(general_obj_in_cmd_hdr, ptr, opcode, in mlx5dr_cmd_create_definer() 673 MLX5_SET(query_roce_address_in, in, opcode, in mlx5dr_cmd_query_gid() 711 MLX5_SET(general_obj_in_cmd_hdr, attr, opcode, in mlx5dr_cmd_create_modify_header_arg() [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | method-tracing.rst | 82 method, or an AML opcode. Note that the format of the log entries are 135 d. Filter out the method/opcode start/stop "AML tracer" when the 142 # echo "opcode" > trace_state 144 e. Filter out the method/opcode start/stop "AML tracer" when the 151 # echo "opcode-opcode" > trace_state 157 acpi.trace_method_name=\_SB.LID0._LID acpi.trace_state=opcode-once 215 "opcode" 219 during method/opcode execution of "trace_method_name" will be logged. 221 "opcode-once" 225 during method/opcode execution of "trace_method_name" will be logged only [all …]
|
/openbmc/qemu/target/avr/ |
H A D | disas.c | 96 #define INSN(opcode, format, ...) \ argument 97 static bool trans_##opcode(DisasContext *pctx, arg_##opcode * a) \ 99 output(#opcode, format, ##__VA_ARGS__); \ 103 #define INSN_MNEMONIC(opcode, mnemonic, format, ...) \ argument 104 static bool trans_##opcode(DisasContext *pctx, arg_##opcode * a) \
|
/openbmc/qemu/target/xtensa/ |
H A D | helper.c | 42 const XtensaOpcodeOps *opcode) in add_translator_to_hash() argument 44 if (!g_hash_table_insert(translator, (void *)name, (void *)opcode)) { in add_translator_to_hash() 56 if (t->opcode[i].op_flags & XTENSA_OP_NAME_ARRAY) { in hash_opcode_translators() 57 const char * const *name = t->opcode[i].name; in hash_opcode_translators() 62 (void *)(t->opcode + i)); in hash_opcode_translators() 66 (void *)t->opcode[i].name, in hash_opcode_translators() 67 (void *)(t->opcode + i)); in hash_opcode_translators()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | inst.c | 24 switch (insn.reg1i20_format.opcode) { in simu_pc() 58 switch (insn.reg0i26_format.opcode) { in simu_branch() 71 switch (insn.reg1i21_format.opcode) { in simu_branch() 89 switch (insn.reg2i16_format.opcode) { in simu_branch() 138 switch (insn.reg3_format.opcode) { in insns_not_supported() 144 switch (insn.reg2i14_format.opcode) { in insns_not_supported() 153 switch (insn.reg1i21_format.opcode) { in insns_not_supported()
|