/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/ |
H A D | EmulateInstructionARM.h | 145 bool ConditionPassed(const uint32_t opcode); 147 uint32_t CurrentCond(const uint32_t opcode); 301 const uint32_t opcode, 332 bool EmulateLDRRtPCRelative(const uint32_t opcode, 378 bool EmulateIT(const uint32_t opcode, const ARMEncoding encoding); 384 bool EmulateB(const uint32_t opcode, const ARMEncoding encoding); 387 bool EmulateCB(const uint32_t opcode, const ARMEncoding encoding); 390 bool EmulateTB(const uint32_t opcode, const ARMEncoding encoding); 469 bool EmulateLDRImmediateARM(const uint32_t opcode, 482 bool EmulateLDRBImmediateARM(const uint32_t opcode, [all …]
|
H A D | EmulateInstructionARM.cpp | 1293 Rd = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0); in EmulateMOVRdRm() 2587 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12); in EmulateVPUSH() 2598 d = Bits32(opcode, 15, 12) << 1 | Bit32(opcode, 22); in EmulateVPUSH() 2679 d = Bit32(opcode, 22) << 4 | Bits32(opcode, 15, 12); in EmulateVPOP() 3477 Rn = Bit32(opcode, 7) << 3 | Bits32(opcode, 2, 0); in EmulateCMPReg() 3949 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDM() 4195 (BitIsSet(opcode, 14) && BitIsSet(opcode, 15))) in EmulateLDMDB() 11225 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM() 11260 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVLDM() 11419 if ((Bit32(opcode, 24) == Bit32(opcode, 23)) && BitIsSet(opcode, 21)) in EmulateVSTM() [all …]
|
/freebsd/crypto/openssl/crypto/perlasm/ |
H A D | x86_64-xlate.pl | 305 $self->{opcode} = $opcode; 510 $self->{opcode} = $opcode; 1024 @opcode; 1031 @opcode; 1049 @opcode; 1067 @opcode; 1079 @opcode; 1092 @opcode; 1106 @opcode; 1119 @opcode; [all …]
|
H A D | x86asm.pl | 25 { my $opcode = $AUTOLOAD; 29 $opcode =~ s/.*:://; 30 if ($opcode =~ /^push/) { $stack+=4; } 37 { my $opcode=shift; 150 local *opcode=shift; 157 push @opcode,$rxb; 163 { my @opcode=(0x8f); 164 rxb(\@opcode,$1,$2,-1,0x08); 165 push @opcode,0x78,0xc2; 168 push @opcode,$c=~/^0/?oct($c):$c; [all …]
|
H A D | s390x.pm | 2569 $out.=sprintf("%#06x",($i5<<8)|($opcode&0xff)); 2581 $out.=sprintf("%#06x",(($opcode>>4)<<8|$r1<<4|($opcode&0xf))).","; 2624 $out.=sprintf("%#06x",(($d2>>12)<<8|$opcode&0xff)); 2633 my ($opcode,$d2,$b2)=(shift,get_DB(shift)); 2860 $out.=sprintf("%#06x",(RXB($v1)<<8|$opcode&0xff)); 2869 my ($opcode,$v1)=(shift,get_V(shift)); 2872 $out.=sprintf("%#06x",($opcode&0xff00|($v1&0xf))).","; 2874 $out.=sprintf("%#06x",(RXB(0,$v1)<<8|$opcode&0xff)); 2904 $out.=sprintf("%#06x",(RXB(0,$v2)<<8|$opcode&0xff)); 2962 $out.=sprintf("%#06x",($opcode&0xff00|$r3)).","; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430InstrFormats.td | 54 let Inst{15-12} = opcode; 67 class I8rr<bits<4> opcode, 73 class I8ri<bits<4> opcode, 82 class I8rc<bits<4> opcode, 91 let Inst{15-12} = opcode; 99 class I8rm<bits<4> opcode, 108 class I8rn<bits<4> opcode, 114 class I8rp<bits<4> opcode, 120 class I8mr<bits<4> opcode, 129 class I8mi<bits<4> opcode, [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-zephyr.c | 51 const char *opcode; member 203 PARSE_FIELD_STR(z.opcode); in zephyr_print() 231 if (!strcmp(z.opcode, "USER_HIDE")) in zephyr_print() 249 !strcmp(z.opcode, "UNSUBSCRIBE")) { in zephyr_print() 265 if (!strcmp(z.opcode, "GIMME")) { in zephyr_print() 322 if (!strcmp(z.opcode, "USER_FLUSH")) { in zephyr_print() 327 if (!strcmp(z.opcode, "NONE") || in zephyr_print() 328 !strcmp(z.opcode, "OPSTAFF") || in zephyr_print() 331 !strcmp(z.opcode, "NET-VISIBLE") || in zephyr_print() 342 if (*z.opcode) in zephyr_print() [all …]
|
/freebsd/contrib/opencsd/decoder/source/i_dec/ |
H A D | trc_i_decode.cpp | 82 if(inst_ARM_is_indirect_branch(instr_info->opcode, info)) in DecodeA32() 87 else if(inst_ARM_is_direct_branch(instr_info->opcode)) in DecodeA32() 116 if (inst_ARM_wfiwfe(instr_info->opcode)) in DecodeA32() 121 instr_info->is_conditional = inst_ARM_is_conditional(instr_info->opcode); in DecodeA32() 162 inst_A64_wfiwfe(instr_info->opcode, info)) in DecodeA64() 168 if (inst_A64_Tstart(instr_info->opcode)) in DecodeA64() 184 uint32_t op_temp = (instr_info->opcode >> 16) & 0xFFFF; in DecodeT32() 185 op_temp |= ((instr_info->opcode & 0xFFFF) << 16); in DecodeT32() 186 instr_info->opcode = op_temp; in DecodeT32() 225 if (inst_Thumb_wfiwfe(instr_info->opcode)) in DecodeT32() [all …]
|
/freebsd/sys/dev/mfi/ |
H A D | mfi_debug.c | 123 const char *opcode; in mfi_print_dcmd() local 128 switch (dcmd->opcode) { in mfi_print_dcmd() 130 opcode = "CTRL_GETINFO"; in mfi_print_dcmd() 142 opcode = "EVENT_GET"; in mfi_print_dcmd() 145 opcode = "EVENT_WAIT"; in mfi_print_dcmd() 148 opcode = "LD_GET_LIST"; in mfi_print_dcmd() 151 opcode = "LD_GET_INFO"; in mfi_print_dcmd() 154 opcode = "LD_GET_PROP"; in mfi_print_dcmd() 157 opcode = "LD_SET_PROP"; in mfi_print_dcmd() 160 opcode = "CLUSTER"; in mfi_print_dcmd() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCInstrFormats.td | 22 let Inst{0-5} = opcode; 226 : I<opcode, OOL, IOL, asmstr, itin> { 239 : I<opcode, OOL, IOL, asmstr, itin> { 267 : I<opcode, OOL, IOL, asmstr, itin> { 280 : I<opcode, OOL, IOL, asmstr, itin> { 342 : I<opcode, OOL, IOL, asmstr, itin> { 407 : I<opcode, OOL, IOL, asmstr, itin> { 424 : I<opcode, OOL, IOL, asmstr, itin> { 439 : I<opcode, OOL, IOL, asmstr, itin> { 473 : I<opcode, OOL, IOL, asmstr, itin> { [all …]
|
/freebsd/usr.sbin/bluetooth/hccontrol/ |
H A D | send_recv.c | 46 hci_request(int s, int opcode, char const *cp, int cp_size, char *rp, int *rp_size) in hci_request() argument 58 c->opcode = (uint16_t) opcode; in hci_request() 59 c->opcode = htole16(c->opcode); in hci_request() 92 cc->opcode = le16toh(cc->opcode); in hci_request() 94 if (cc->opcode == 0x0000 || cc->opcode != opcode) in hci_request() 108 cs->opcode = le16toh(cs->opcode); in hci_request() 110 if (cs->opcode == 0x0000 || cs->opcode != opcode) in hci_request() 126 hci_simple_request(int s, int opcode, char *rp, int *rp_size) in hci_simple_request() argument 128 return (hci_request(s, opcode, NULL, 0, rp, rp_size)); in hci_simple_request()
|
/freebsd/contrib/ofed/libibverbs/ |
H A D | ibverbs.h | 67 #define IBV_INIT_CMD(cmd, size, opcode) \ argument 70 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 72 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 77 #define IBV_INIT_CMD_RESP(cmd, size, opcode, out, outsize) \ argument 80 (cmd)->command = IB_USER_VERBS_CMD_##opcode; \ 82 (cmd)->command = IB_USER_VERBS_CMD_##opcode##_V2; \ 93 (cmd)->hdr.command = IB_USER_VERBS_CMD_##opcode; \ 96 IB_USER_VERBS_CMD_##opcode##_V2; \ 107 IBV_INIT_CMD_RESP_EX_V(cmd, cmd_size, size, opcode, out, \ 111 IBV_INIT_CMD_RESP_EX_V(cmd, sizeof(*(cmd)), size, opcode, out, \ [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
H A D | ARMUtils.h | 57 return DecodeImmShift(Bits32(opcode, 5, 4), in DecodeImmShiftThumb() 58 Bits32(opcode, 14, 12) << 2 | Bits32(opcode, 7, 6), in DecodeImmShiftThumb() 66 return DecodeImmShift(Bits32(opcode, 6, 5), Bits32(opcode, 11, 7), shift_t); in DecodeImmShiftARM() 307 const uint32_t i = bit(opcode, 26); in ThumbExpandImm_C() 308 const uint32_t imm3 = bits(opcode, 14, 12); in ThumbExpandImm_C() 309 const uint32_t abcdefgh = bits(opcode, 7, 0); in ThumbExpandImm_C() 352 const uint32_t i = bit(opcode, 26); in ThumbImm12() 353 const uint32_t imm3 = bits(opcode, 14, 12); in ThumbImm12() 354 const uint32_t imm8 = bits(opcode, 7, 0); in ThumbImm12() 361 const uint32_t imm7 = bits(opcode, 6, 0); in ThumbImm7Scaled() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrFormatsC.td | 34 let Inst{1-0} = opcode; 49 let Inst{1-0} = opcode; 228 bits<2> opcode; 244 bits<2> opcode; 261 bits<2> opcode; 277 bits<2> opcode; 293 bits<2> opcode; 312 bits<2> opcode; 331 bits<2> opcode; 349 bits<2> opcode; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZInstrFormats.td | 2362 : InstRXb<opcode, (outs), 2369 : InstRXb<opcode, (outs), 2517 : InstRRS<opcode, (outs), 2523 : InstRRS<opcode, (outs), 2529 : InstRRS<opcode, (outs), 2546 : InstRIS<opcode, (outs), 2552 : InstRIS<opcode, (outs), 2558 : InstRIS<opcode, (outs), 2669 : InstRSYa<opcode, 3352 : InstSSb<opcode, [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/PPC64/ |
H A D | EmulateInstructionPPC64.cpp | 204 uint32_t rt = Bits32(opcode, 25, 21); in EmulateMFSPR() 229 uint32_t rt = Bits32(opcode, 25, 21); in EmulateLD() 230 uint32_t ra = Bits32(opcode, 20, 16); in EmulateLD() 231 uint32_t ds = Bits32(opcode, 15, 2); in EmulateLD() 259 uint32_t rs = Bits32(opcode, 25, 21); in EmulateSTD() 260 uint32_t ra = Bits32(opcode, 20, 16); in EmulateSTD() 261 uint32_t ds = Bits32(opcode, 15, 2); in EmulateSTD() 262 uint32_t u = Bits32(opcode, 1, 0); in EmulateSTD() 327 uint32_t rs = Bits32(opcode, 25, 21); in EmulateOR() 328 uint32_t ra = Bits32(opcode, 20, 16); in EmulateOR() [all …]
|
/freebsd/crypto/heimdal/kcm/ |
H A D | protocol.c | 56 kcm_operation opcode, in kcm_op_noop() argument 75 kcm_operation opcode, in kcm_op_get_name() argument 149 kcm_operation opcode, in kcm_op_initialize() argument 306 kcm_operation opcode, in kcm_op_retrieve() argument 440 kcm_operation opcode, in kcm_op_get_cred_uuid_list() argument 486 kcm_operation opcode, in kcm_op_get_cred_by_uuid() argument 601 kcm_operation opcode, in kcm_op_set_flags() argument 848 kcm_operation opcode, in kcm_op_get_ticket() argument 931 kcm_operation opcode, in kcm_op_move_cache() argument 1751 uint16_t opcode; in kcm_dispatch() local [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_hw.h | 302 uint16_t opcode; member 344 uint16_t opcode; member 370 uint16_t opcode; member 408 uint16_t opcode; member 423 uint16_t opcode; member 466 uint16_t opcode; member 483 uint16_t opcode; member 521 uint16_t opcode; member 549 uint16_t opcode; member 569 uint16_t opcode; member [all …]
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_transobj.c | 39 MLX5_SET(alloc_transport_domain_in, in, opcode, in mlx5_alloc_transport_domain() 56 MLX5_SET(dealloc_transport_domain_in, in, opcode, in mlx5_dealloc_transport_domain() 69 MLX5_SET(create_rq_in, in, opcode, MLX5_CMD_OP_CREATE_RQ); in mlx5_core_create_rq() 82 MLX5_SET(modify_rq_in, in, opcode, MLX5_CMD_OP_MODIFY_RQ); in mlx5_core_modify_rq() 92 MLX5_SET(destroy_rq_in, in, opcode, MLX5_CMD_OP_DESTROY_RQ); in mlx5_core_destroy_rq() 103 MLX5_SET(query_rq_in, in, opcode, MLX5_CMD_OP_QUERY_RQ); in mlx5_core_query_rq() 114 MLX5_SET(create_sq_in, in, opcode, MLX5_CMD_OP_CREATE_SQ); in mlx5_core_create_sq() 127 MLX5_SET(modify_sq_in, in, opcode, MLX5_CMD_OP_MODIFY_SQ); in mlx5_core_modify_sq() 137 MLX5_SET(destroy_sq_in, in, opcode, MLX5_CMD_OP_DESTROY_SQ); in mlx5_core_destroy_sq() 148 MLX5_SET(query_sq_in, in, opcode, MLX5_CMD_OP_QUERY_SQ); in mlx5_core_query_sq() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM64/ |
H A D | EmulateInstructionARM64.cpp | 616 const uint32_t S = Bit32(opcode, 29); in EmulateADDSUBImm() 696 uint32_t V = Bit32(opcode, 26); in EmulateLDPSTP() 697 uint32_t L = Bit32(opcode, 22); in EmulateLDPSTP() 700 uint32_t Rn = Bits32(opcode, 9, 5); in EmulateLDPSTP() 701 uint32_t Rt = Bits32(opcode, 4, 0); in EmulateLDPSTP() 931 uint32_t n = Bits32(opcode, 9, 5); in EmulateLDRSTRImm() 932 uint32_t t = Bits32(opcode, 4, 0); in EmulateLDRSTRImm() 1141 uint32_t t = Bits32(opcode, 4, 0); in EmulateCBZ() 1176 uint32_t t = Bits32(opcode, 4, 0); in EmulateTBZ() 1177 uint32_t bit_pos = (Bit32(opcode, 31) << 6) | (Bits32(opcode, 23, 19)); in EmulateTBZ() [all …]
|
/freebsd/sys/netgraph/bluetooth/hci/ |
H A D | ng_hci_cmds.c | 178 if (ep->opcode == 0x0000) { in ng_hci_process_command_complete() 196 ep->opcode = le16toh(ep->opcode); in ng_hci_process_command_complete() 200 switch (NG_HCI_OGF(ep->opcode)) { in ng_hci_process_command_complete() 250 NG_HCI_OGF(ep->opcode), NG_HCI_OCF(ep->opcode), in ng_hci_process_command_complete() 283 if (ep->opcode == 0x0000) in ng_hci_process_command_status() 295 ep->opcode = le16toh(ep->opcode); in ng_hci_process_command_status() 297 switch (NG_HCI_OGF(ep->opcode)) { in ng_hci_process_command_status() 361 if (mtod(m, ng_hci_cmd_pkt_t *)->opcode != opcode) { in complete_command() 396 u_int16_t opcode; in ng_hci_process_command_timeout() local 416 opcode = le16toh(mtod(m, ng_hci_cmd_pkt_t *)->opcode); in ng_hci_process_command_timeout() [all …]
|
/freebsd/sbin/ipfw/ |
H A D | ipv6.c | 93 if (cmd->o.opcode == O_IP6_SRC_ME || cmd->o.opcode == O_IP6_DST_ME) { in print_ip6() 97 if (cmd->o.opcode == O_IP6) { in print_ip6() 252 cmd->opcode = O_EXT_HDR; in fill_ext6hdr() 468 cmd->o.opcode = O_FLOW6ID; in fill_flow6() 483 cmd->opcode = O_IP_SRC_SET; in add_srcip6() 488 cmd->opcode = O_IP6_SRC_ME; in add_srcip6() 492 cmd->opcode = O_IP6_SRC; in add_srcip6() 494 cmd->opcode = O_IP6_SRC_MASK; in add_srcip6() 510 cmd->opcode = O_IP6_DST_ME; in add_dstip6() 514 cmd->opcode = O_IP6_DST; in add_dstip6() [all …]
|
/freebsd/tests/atf_python/sys/netpfil/ipfw/ |
H A D | insns.py | 71 def __init__(self, opcode, is_or, is_not, arg1): argument 72 if isinstance(opcode, Enum): 73 self.obj_type = opcode.value 74 self._enum = opcode 76 self.obj_type = opcode 121 return cls(opcode=insn.opcode, is_or=is_or, is_not=is_not, arg1=insn.arg1) 126 opcode = cls._parse(data) 127 opcode._enum = attr_type_enum 128 return opcode 170 attr = attr_map.get(hdr.opcode, None) [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | Instruction.def | 25 #define HANDLE_TERM_INST(num, opcode, Class) 27 #define HANDLE_TERM_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 41 #define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 55 #define HANDLE_BINARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 67 #define HANDLE_MEMORY_INST(num, opcode, Class) 69 #define HANDLE_MEMORY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 81 #define HANDLE_CAST_INST(num, opcode, Class) 83 #define HANDLE_CAST_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 97 #define HANDLE_FUNCLETPAD_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class) 109 #define HANDLE_OTHER_INST(num, opcode, Class) [all …]
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_response.c | 48 uint8_t opcode = 0xFF; in pqisrc_get_cmd_from_rcb() local 52 opcode = rcb->cdbp[0]; in pqisrc_get_cmd_from_rcb() 53 if (IS_BMIC_OPCODE(opcode)) in pqisrc_get_cmd_from_rcb() 57 return opcode; in pqisrc_get_cmd_from_rcb() 154 opcode == SCSI_MODE_SENSE || /* 0x1a */ in suppress_innocuous_error_prints() 155 opcode == SCSI_REPORT_LUNS || /* 0xa0 */ in suppress_innocuous_error_prints() 156 opcode == SCSI_LOG_SENSE || /* 0x4d */ in suppress_innocuous_error_prints() 157 opcode == SCSI_ATA_PASSTHRU16) /* 0x85 */ in suppress_innocuous_error_prints() 174 opcode, path, key, asc, ascq); in pqisrc_show_sense_data_simple() 230 opcode != SCSI_MODE_SENSE && /* 0x1a */ in pqisrc_is_innocuous_error() [all …]
|