Lines Matching +full:24 +full:- +full:bit
1 /*-
72 * Generic Services FC Type Bit mask macros:
111 uint32_t :24,
128 * @brief FC header in big-endian order
133 d_id:24;
135 s_id:24;
137 f_ctl:24;
147 * @brief FC header in little-endian order
151 uint32_t d_id:24,
154 uint32_t s_id:24,
156 uint32_t f_ctl:24,
170 * @brief FC VM header in big-endian order
219 /* (FC-LS) LS_RJT Reason Codes */
229 /* (FC-LS) LS_RJT Reason Codes Explanations */
261 #define FC_EXPL_INV_X_ID 0x03 /* invalid OX_ID - RX_ID combination */
285 resv1: 24;
290 resv1: 24;
307 resv1:24;
309 port_id:24;
316 resv1:24;
321 resv1:24;
369 payload_length:24;
371 hard_address:24;
377 port_id:24;
403 :24;
404 uint32_t :24,
416 port_id:24;
429 in_id:24;
548 hdr->revision = 1; in fcct_build_req_header()
549 hdr->in_id = 0; in fcct_build_req_header()
550 hdr->gs_type = FC_GS_TYPE_DIRECTORY_SERVICE; in fcct_build_req_header()
551 hdr->gs_subtype = FC_GS_SUBTYPE_NAME_SERVER; in fcct_build_req_header()
552 hdr->options = 0; in fcct_build_req_header()
553 hdr->resv1 = 0; in fcct_build_req_header()
554 hdr->cmd_rsp_code = ocs_htobe16(cmd); in fcct_build_req_header()
555 hdr->max_residual_size = ocs_htobe16(max_size/(sizeof(uint32_t))); /* words */ in fcct_build_req_header()
556 hdr->fragment_id = 0; in fcct_build_req_header()
557 hdr->reason_code = 0; in fcct_build_req_header()
558 hdr->reason_code_explanation = 0; in fcct_build_req_header()
559 hdr->vendor_specific = 0; in fcct_build_req_header()
582 port_id:24;
588 port_id:24;
594 port_id:24;
632 port_id:24;
640 port_id:24;
677 #define FCP_QUERY_TASK_SET BIT(0)
678 #define FCP_ABORT_TASK_SET BIT(1)
679 #define FCP_CLEAR_TASK_SET BIT(2)
680 #define FCP_QUERY_ASYNCHRONOUS_EVENT BIT(3)
681 #define FCP_LOGICAL_UNIT_RESET BIT(4)
682 #define FCP_TARGET_RESET BIT(5)
683 #define FCP_CLEAR_ACA BIT(6)
685 /* SPC-4 says that the maximum length of sense data is 252 bytes */
706 #define FCP_RSP_LEN_VALID BIT(0)
707 #define FCP_SNS_LEN_VALID BIT(1)
708 #define FCP_RESID_OVER BIT(2)
709 #define FCP_RESID_UNDER BIT(3)
710 #define FCP_CONF_REQ BIT(4)
711 #define FCP_BIDI_READ_RESID_OVER BIT(5)
712 #define FCP_BIDI_READ_RESID_UNDER BIT(6)
713 #define FCP_BIDI_RSP BIT(7)
725 /** FCP-4 Table 28, TMF response information: */