/openbmc/u-boot/include/dt-bindings/sound/ |
H A D | azalia.h | 25 #define AZALIA_SET_BYTE(codec, nid, opcode, val, byte) \ argument 28 ((opcode) + (byte)) << AZALIA_VERB_SHIFT | \ 32 #define AZALIA_WORD(codec, nid, opcode, val) \ argument 33 (AZALIA_SET_BYTE(codec, nid, opcode, val, 0) | \ 34 AZALIA_SET_BYTE(codec, nid, opcode, val, 1) | \ 35 AZALIA_SET_BYTE(codec, nid, opcode, val, 2) | \ 36 AZALIA_SET_BYTE(codec, nid, opcode, val, 3))
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_uc.c | 105 switch (wqe->wr.opcode) { in qib_make_uc_req() 242 u32 opcode; in qib_uc_rcv() local 265 opcode >>= 24; in qib_uc_rcv() 282 switch (opcode) { in qib_uc_rcv() 303 opcode == OP(SEND_LAST) || in qib_uc_rcv() 317 if (opcode == OP(SEND_FIRST) || in qib_uc_rcv() 318 opcode == OP(SEND_ONLY) || in qib_uc_rcv() 331 switch (opcode) { in qib_uc_rcv() 351 if (opcode == OP(SEND_ONLY)) in qib_uc_rcv() 388 wc.opcode = IB_WC_RECV; in qib_uc_rcv() [all …]
|
H A D | qib_rc.c | 740 u32 opcode; in reset_psn() local 754 opcode = wqe->wr.opcode; in reset_psn() 775 opcode = wqe->wr.opcode; in reset_psn() 783 switch (opcode) { in reset_psn() 886 u32 opcode; in qib_rc_send_complete() local 1273 u32 opcode, in qib_rc_rcv_resp() argument 1635 if (!e || e->opcode != (u8) opcode || old_req) in qib_rc_rcv_error() 1719 u32 opcode; in qib_rc_rcv() local 1744 opcode >>= 24; in qib_rc_rcv() 1984 e->opcode = opcode; in qib_rc_rcv() [all …]
|
/openbmc/linux/tools/arch/x86/lib/ |
H A D | inat.c | 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute() argument 15 return inat_primary_table[opcode]; in inat_get_opcode_attribute() 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute() argument 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute() argument 75 if (!inat_is_group(table[opcode]) && vex_p) { in inat_get_avx_attribute() 81 return table[opcode]; in inat_get_avx_attribute()
|
/openbmc/linux/arch/x86/lib/ |
H A D | inat.c | 13 insn_attr_t inat_get_opcode_attribute(insn_byte_t opcode) in inat_get_opcode_attribute() argument 15 return inat_primary_table[opcode]; in inat_get_opcode_attribute() 26 insn_attr_t inat_get_escape_attribute(insn_byte_t opcode, int lpfx_id, in inat_get_escape_attribute() argument 37 if (inat_has_variant(table[opcode]) && lpfx_id) { in inat_get_escape_attribute() 42 return table[opcode]; in inat_get_escape_attribute() 65 insn_attr_t inat_get_avx_attribute(insn_byte_t opcode, insn_byte_t vex_m, in inat_get_avx_attribute() argument 75 if (!inat_is_group(table[opcode]) && vex_p) { in inat_get_avx_attribute() 81 return table[opcode]; in inat_get_avx_attribute()
|
/openbmc/linux/drivers/infiniband/sw/rdmavt/ |
H A D | trace_tx.h | 17 #define wr_opcode_name(opcode) { IB_WR_##opcode, #opcode } argument 18 #define show_wr_opcode(opcode) \ argument 19 __print_symbolic(opcode, \ 60 __field(u32, opcode) 80 __entry->opcode = wqe->wr.opcode; 103 __entry->opcode, show_wr_opcode(__entry->opcode), 127 __field(enum ib_wr_opcode, opcode) 139 __entry->opcode = wqe->wr.opcode; 152 __entry->opcode,
|
H A D | trace_cq.h | 17 #define wc_opcode_name(opcode) { IB_WC_##opcode, #opcode } argument 18 #define show_wc_opcode(opcode) \ argument 19 __print_symbolic(opcode, \ 76 __field(u32, opcode) 87 __entry->opcode = wc->opcode; 100 __entry->opcode, show_wc_opcode(__entry->opcode),
|
/openbmc/qemu/target/mips/tcg/ |
H A D | micromips_translate.c.inc | 873 switch (ctx->opcode & 0xf) { 888 if ((ctx->opcode >> 4) & 1) { 910 int enc_rs = (ctx->opcode & 3) | ((ctx->opcode >> 1) & 4); 928 switch (ctx->opcode & 0x3f) { 1631 ctx->opcode = (ctx->opcode << 16) | insn; 1633 rt = (ctx->opcode >> 21) & 0x1f; 1634 rs = (ctx->opcode >> 16) & 0x1f; 1636 rr = (ctx->opcode >> 6) & 0x1f; 1637 imm = (int16_t) ctx->opcode; 1642 minor = ctx->opcode & 0x3f; [all …]
|
/openbmc/qemu/target/ppc/ |
H A D | internal.h | 64 static inline uint32_t name(uint32_t opcode) \ 66 return extract32(opcode, shift, nb); \ 70 static inline int32_t name(uint32_t opcode) \ 72 return sextract32(opcode, shift, nb); \ 76 static inline uint32_t name(uint32_t opcode) \ 126 static inline uint32_t SPR(uint32_t opcode) in SPR() argument 128 uint32_t sprn = _SPR(opcode); in SPR() 183 static inline target_ulong LI(uint32_t opcode) in LI() argument 185 return (opcode >> 0) & 0x03FFFFFC; in LI() 188 static inline uint32_t BD(uint32_t opcode) in BD() argument [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | uc.c | 118 switch (wqe->wr.opcode) { in hfi1_make_uc_req() 266 u32 opcode = packet->opcode; in hfi1_uc_rcv() local 298 switch (opcode) { in hfi1_uc_rcv() 318 if (opcode == OP(SEND_MIDDLE) || in hfi1_uc_rcv() 319 opcode == OP(SEND_LAST) || in hfi1_uc_rcv() 333 if (opcode == OP(SEND_FIRST) || in hfi1_uc_rcv() 334 opcode == OP(SEND_ONLY) || in hfi1_uc_rcv() 347 switch (opcode) { in hfi1_uc_rcv() 367 if (opcode == OP(SEND_ONLY)) in hfi1_uc_rcv() 406 wc.opcode = IB_WC_RECV; in hfi1_uc_rcv() [all …]
|
/openbmc/linux/drivers/cxl/core/ |
H A D | mbox.c | 125 u16 opcode) in cxl_set_security_cmd_enabled() argument 127 switch (opcode) { in cxl_set_security_cmd_enabled() 174 u16 opcode) in cxl_set_poison_cmd_enabled() argument 176 switch (opcode) { in cxl_set_poison_cmd_enabled() 205 if (c->opcode == opcode) in cxl_mem_find_command() 215 c = cxl_mem_find_command(opcode); in cxl_mem_opcode_to_name() 325 switch (opcode) { in cxl_payload_from_user_allowed() 344 .opcode = opcode, in cxl_mbox_cmd_ctor() 410 .opcode = send_cmd->raw.opcode in cxl_to_mem_cmd_raw() 457 .opcode = c->opcode in cxl_to_mem_cmd() [all …]
|
/openbmc/linux/drivers/infiniband/sw/siw/ |
H A D | siw_cq.c | 72 wc->opcode = map_wc_opcode[cqe->opcode]; in siw_reap_cqe() 76 cq->cq_get % cq->num_cqe, cqe->opcode, in siw_reap_cqe() 86 u8 opcode = cqe->opcode; in siw_reap_cqe() local 89 if (opcode >= SIW_NUM_OPCODES) { in siw_reap_cqe() 90 opcode = 0; in siw_reap_cqe() 95 wc->opcode = map_wc_opcode[opcode]; in siw_reap_cqe()
|
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_comp.c | 93 switch (opcode) { in wr_to_wc_opcode() 233 switch (qp->comp.opcode) { in check_ack() 253 pkt->opcode == in check_ack() 256 pkt->opcode == in check_ack() 268 switch (pkt->opcode) { in check_ack() 422 wc->opcode = wr_to_wc_opcode(wqe->wr.opcode); in make_send_cqe() 428 uwc->opcode = wr_to_wc_opcode(wqe->wr.opcode); in make_send_cqe() 468 if (wqe->wr.opcode == IB_WR_SEND || in do_complete() 539 qp->comp.opcode = -1; in complete_wqe() 731 qp->comp.opcode = -1; in rxe_completer() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_hcall.c | 934 opcode, " (H_CLEAN_SLB)"); in h_clean_slb() 1506 if (opcode <= MAX_HCALL_OPCODE) { in spapr_register_hypercall() 1507 assert((opcode & 0x3) == 0); in spapr_register_hypercall() 1510 } else if (opcode >= SVM_HCALL_BASE && opcode <= SVM_HCALL_MAX) { in spapr_register_hypercall() 1512 assert((opcode & 0x3) == 0); in spapr_register_hypercall() 1516 assert((opcode >= KVMPPC_HCALL_BASE) && (opcode <= KVMPPC_HCALL_MAX)); in spapr_register_hypercall() 1530 if ((opcode <= MAX_HCALL_OPCODE) in spapr_hypercall() 1531 && ((opcode & 0x3) == 0)) { in spapr_hypercall() 1537 } else if ((opcode >= SVM_HCALL_BASE) && in spapr_hypercall() 1538 (opcode <= SVM_HCALL_MAX)) { in spapr_hypercall() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | nsp32_debug.c | 47 #define group(opcode) (((opcode) >> 5) & 7) argument 63 static void print_opcodek(unsigned char opcode) in print_opcodek() argument 65 const char **table = commands[ group(opcode) ]; in print_opcodek() 69 printk("%s[%02x] ", reserved, opcode); in print_opcodek() 72 printk("%s(notext)[%02x] ", unknown, opcode); in print_opcodek() 75 printk("%s[%02x] ", vendor, opcode); in print_opcodek() 78 if (table[opcode & 0x1f] != unknown) in print_opcodek() 79 printk("%s[%02x] ", table[opcode & 0x1f], opcode); in print_opcodek() 81 printk("%s[%02x] ", unknown, opcode); in print_opcodek()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | psutils.c | 56 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) in acpi_ps_init_op() argument 61 op->common.aml_opcode = opcode; in acpi_ps_init_op() 65 (opcode))->name, in acpi_ps_init_op() 85 union acpi_parse_object *acpi_ps_alloc_op(u16 opcode, u8 *aml) in acpi_ps_alloc_op() argument 93 op_info = acpi_ps_get_opcode_info(opcode); in acpi_ps_alloc_op() 101 } else if (opcode == AML_INT_BYTELIST_OP) { in acpi_ps_alloc_op() 121 acpi_ps_init_op(op, opcode); in acpi_ps_alloc_op() 126 if (opcode == AML_SCOPE_OP) { in acpi_ps_alloc_op()
|
H A D | exoparg2.c | 63 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_2A_0T_0R() 67 switch (walk_state->opcode) { in acpi_ex_opcode_2A_0T_0R() 102 walk_state->opcode)); in acpi_ex_opcode_2A_0T_0R() 130 acpi_ps_get_opcode_name(walk_state->opcode)); in acpi_ex_opcode_2A_2T_1R() 134 switch (walk_state->opcode) { in acpi_ex_opcode_2A_2T_1R() 167 walk_state->opcode)); in acpi_ex_opcode_2A_2T_1R() 245 acpi_ex_do_math_op(walk_state->opcode, in acpi_ex_opcode_2A_1T_1R() 251 switch (walk_state->opcode) { in acpi_ex_opcode_2A_1T_1R() 419 walk_state->opcode)); in acpi_ex_opcode_2A_1T_1R() 504 switch (walk_state->opcode) { in acpi_ex_opcode_2A_0T_1R() [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | pl330.c | 308 uint8_t opcode; member 708 ns = !!(opcode & 2); in pl330_dmago() 736 uint8_t bs = opcode & 3; in pl330_dmald() 786 uint8_t lc = (opcode & 2) >> 1; in pl330_dmalp() 814 uint8_t bs = opcode & 3; in pl330_dmalpend() 914 uint8_t bs = opcode & 3; in pl330_dmast() 1018 uint8_t bs = opcode & 3; in pl330_dmawfp() 1110 uint8_t opcode; in pl330_fetch_insn() local 1116 if ((opcode & insn_desc[i].opmask) == insn_desc[i].opcode) { in pl330_fetch_insn() 1303 uint8_t opcode; in pl330_debug_exec() local [all …]
|
/openbmc/linux/arch/x86/events/intel/ |
H A D | p4.c | 308 .opcode = P4_OPCODE(P4_EVENT_X87_FP_UOP), 316 .opcode = P4_OPCODE(P4_EVENT_TC_MISC), 330 .opcode = P4_OPCODE(P4_EVENT_TC_MS_XFER), 373 .opcode = P4_OPCODE(P4_EVENT_WC_BUFFER), 382 .opcode = P4_OPCODE(P4_EVENT_B2B_CYCLES), 388 .opcode = P4_OPCODE(P4_EVENT_BNR), 394 .opcode = P4_OPCODE(P4_EVENT_SNOOP), 400 .opcode = P4_OPCODE(P4_EVENT_RESPONSE), 454 .opcode = P4_OPCODE(P4_EVENT_UOP_TYPE), 724 esel = P4_OPCODE_ESEL(bind->opcode); in p4_pmu_event_map() [all …]
|
/openbmc/linux/drivers/mmc/core/ |
H A D | mmc_ops.c | 74 cmd.opcode = MMC_SEND_STATUS; in __mmc_send_status() 103 cmd.opcode = MMC_SELECT_CARD; in _mmc_select_card() 139 cmd.opcode = MMC_SET_DSR; in mmc_set_dsr() 166 cmd.opcode = MMC_GO_IDLE_STATE; in mmc_go_idle() 233 cmd.opcode = MMC_SEND_OP_COND; in mmc_send_op_cond() 266 cmd.opcode = opcode; in mmc_send_cxd_native() 294 cmd.opcode = opcode; in mmc_send_adtc_data() 312 if (opcode == MMC_SEND_CSD || opcode == MMC_SEND_CID) { in mmc_send_adtc_data() 613 cmd.opcode = MMC_SWITCH; in __mmc_switch() 695 cmd.opcode = opcode; in mmc_send_tuning() [all …]
|
/openbmc/linux/arch/x86/kernel/kprobes/ |
H A D | core.c | 142 kprobe_opcode_t opcode; in can_boost() local 150 if (insn->opcode.nbytes == 2) in can_boost() 166 opcode = insn->opcode.bytes[0]; in can_boost() 168 switch (opcode) { in can_boost() 234 buf[0] = kp->opcode; in __recover_probed_insn() 477 switch (p->ainsn.opcode) { in kprobe_emulate_ifmodifiers() 603 insn_byte_t opcode = insn->opcode.bytes[0]; in prepare_emulation() local 605 switch (opcode) { in prepare_emulation() 615 p->ainsn.opcode = opcode; in prepare_emulation() 653 opcode = insn->opcode.bytes[1]; in prepare_emulation() [all …]
|
/openbmc/qemu/target/ppc/translate/ |
H A D | vsx-impl.c.inc | 112 if (xT(ctx->opcode) < 32) { 403 if (xS(ctx->opcode) < 32) { 423 if (xS(ctx->opcode) < 32) { 443 if (xS(ctx->opcode) < 32) { 465 if (xS(ctx->opcode) < 32) { 484 if (xS(ctx->opcode) < 32) { 503 if (xS(ctx->opcode) < 32) { 522 if (xT(ctx->opcode) < 32) { 535 if (!rA(ctx->opcode)) { 549 if (xT(ctx->opcode) < 32) { [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | cmdhdr.h | 45 static inline u32 iwl_cmd_id(u8 opcode, u8 groupid, u8 version) in iwl_cmd_id() argument 47 return opcode + (groupid << 8) + (version << 16); in iwl_cmd_id() 51 #define WIDE_ID(grp, opcode) (((grp) << 8) | (opcode)) argument 52 #define DEF_ID(opcode) ((1 << 8) | (opcode)) argument
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | cmd_tracepoint.h | 14 TP_PROTO(const char *command_str, u16 opcode, u16 op_mod, 16 TP_ARGS(command_str, opcode, op_mod, status_str, status, syndrome, err), 18 __field(u16, opcode) 26 __entry->opcode = opcode; 34 __get_str(command_str), __entry->opcode, __entry->op_mod,
|
/openbmc/linux/arch/mips/kernel/ |
H A D | traps.c | 539 offset = opcode & OFFSET; in simulate_ll() 579 offset = opcode & OFFSET; in simulate_sc() 672 if ((opcode & OPCODE) == SPEC3 && (opcode & FUNC) == RDHWR) { in simulate_rdhwr_normal() 699 if ((opcode & OPCODE) == SPEC0 && (opcode & FUNC) == SYNC) { in simulate_sync() 1116 u32 opcode, tcode = 0; in do_tr() local 1130 if (!(opcode & OPCODE)) in do_tr() 1136 if (!(opcode & OPCODE)) in do_tr() 1225 opcode = mmop[0]; in do_ri() 1226 opcode = (opcode << 16) | mmop[1]; in do_ri() 1407 unsigned int opcode; in do_cpu() local [all …]
|