Searched refs:OPCODE_MASK (Results 1 – 8 of 8) sorted by relevance
68 #define OPCODE_MASK 0x78U macro70 #define OPCODE(packet) ((*buffer_at((packet), 2) & OPCODE_MASK) >> OPCODE_SHIFT)72 (*buffer_at((packet), 2) = (*buffer_at((packet), 2) & ~OPCODE_MASK) | ((opcode) << OPCODE_SHIFT))
261 switch (pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) { in read_pdu_data() 904 if ((hpdu->pduh_Opcode & OPCODE_MASK) == IOP_SCSI_Data_out) in receive_reject_pdu() 1087 (pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) == TOP_SCSI_Data_in) { in receive_pdu() 1108 (pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) == TOP_Logout_Response)) { in receive_pdu() 1110 switch (pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) { in receive_pdu() 1169 if ((pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) == TOP_NOP_In && in receive_pdu()
38 #define OPCODE_MASK 0x3f /* Mask for opcode */ macro
854 (rx_pdu->pdu_hdr.pduh_Opcode & OPCODE_MASK) == IOP_Login_Request) in acknowledge_text()
793 #define OPCODE_MASK 0xfe1fffff macro28297 *instruction &= OPCODE_MASK; in negate_data_op()28591 temp = newinsn = (temp & OPCODE_MASK) | OPCODE_SUB << DATA_OP_SHIFT; in md_apply_fix()
794 #define OPCODE_MASK 0xfe1fffff macro28336 *instruction &= OPCODE_MASK; in negate_data_op()28630 temp = newinsn = (temp & OPCODE_MASK) | OPCODE_SUB << DATA_OP_SHIFT; in md_apply_fix()
2727 (LITERAL_MASK, COND_MASK, OPCODE_MASK, DATA_OP_SHIFT): Define.