Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
mpi2.h File Reference

Go to the source code of this file.

Data Structures

struct  _MPI2_SYSTEM_INTERFACE_REGS
 
struct  _MPI2_DEFAULT_REQUEST_DESCRIPTOR
 
struct  _MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR
 
struct  _MPI2_SCSI_IO_REQUEST_DESCRIPTOR
 
struct  _MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR
 
struct  _MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR
 
union  _MPI2_REQUEST_DESCRIPTOR_UNION
 
struct  _MPI2_DEFAULT_REPLY_DESCRIPTOR
 
struct  _MPI2_ADDRESS_REPLY_DESCRIPTOR
 
struct  _MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR
 
struct  _MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR
 
struct  _MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR
 
struct  _MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR
 
union  _MPI2_REPLY_DESCRIPTORS_UNION
 
struct  _MPI2_REQUEST_HEADER
 
struct  _MPI2_DEFAULT_REPLY
 
struct  _MPI2_VERSION_STRUCT
 
union  _MPI2_VERSION_UNION
 
struct  _MPI2_SGE_SIMPLE32
 
struct  _MPI2_SGE_SIMPLE64
 
struct  _MPI2_SGE_SIMPLE_UNION
 
struct  _MPI2_SGE_CHAIN32
 
struct  _MPI2_SGE_CHAIN64
 
struct  _MPI2_SGE_CHAIN_UNION
 
struct  _MPI2_SGE_TRANSACTION32
 
struct  _MPI2_SGE_TRANSACTION64
 
struct  _MPI2_SGE_TRANSACTION96
 
struct  _MPI2_SGE_TRANSACTION128
 
struct  _MPI2_SGE_TRANSACTION_UNION
 
struct  _MPI2_MPI_SGE_IO_UNION
 
struct  _MPI2_SGE_TRANS_SIMPLE_UNION
 
struct  _MPI2_MPI_SGE_UNION
 
struct  _MPI2_IEEE_SGE_SIMPLE32
 
struct  _MPI2_IEEE_SGE_SIMPLE64
 
union  _MPI2_IEEE_SGE_SIMPLE_UNION
 
union  _MPI2_IEEE_SGE_CHAIN_UNION
 
struct  _MPI2_IEEE_SGE_UNION
 
union  _MPI2_SIMPLE_SGE_UNION
 
union  _MPI2_SGE_IO_UNION
 

Macros

#define MPI2_VERSION_MAJOR   (0x02)
 
#define MPI2_VERSION_MINOR   (0x00)
 
#define MPI2_VERSION_MAJOR_MASK   (0xFF00)
 
#define MPI2_VERSION_MAJOR_SHIFT   (8)
 
#define MPI2_VERSION_MINOR_MASK   (0x00FF)
 
#define MPI2_VERSION_MINOR_SHIFT   (0)
 
#define MPI2_VERSION
 
#define MPI2_VERSION_02_00   (0x0200)
 
#define MPI2_HEADER_VERSION_UNIT   (0x19)
 
#define MPI2_HEADER_VERSION_DEV   (0x00)
 
#define MPI2_HEADER_VERSION_UNIT_MASK   (0xFF00)
 
#define MPI2_HEADER_VERSION_UNIT_SHIFT   (8)
 
#define MPI2_HEADER_VERSION_DEV_MASK   (0x00FF)
 
#define MPI2_HEADER_VERSION_DEV_SHIFT   (0)
 
#define MPI2_HEADER_VERSION   ((MPI2_HEADER_VERSION_UNIT << 8) | MPI2_HEADER_VERSION_DEV)
 
#define MPI2_IOC_STATE_RESET   (0x00000000)
 
#define MPI2_IOC_STATE_READY   (0x10000000)
 
#define MPI2_IOC_STATE_OPERATIONAL   (0x20000000)
 
#define MPI2_IOC_STATE_FAULT   (0x40000000)
 
#define MPI2_IOC_STATE_MASK   (0xF0000000)
 
#define MPI2_IOC_STATE_SHIFT   (28)
 
#define MPI2_FAULT_PRODUCT_SPECIFIC_MIN   (0x0000)
 
#define MPI2_FAULT_PRODUCT_SPECIFIC_MAX   (0xEFFF)
 
#define MPI2_DOORBELL_OFFSET   (0x00000000)
 
#define MPI2_DOORBELL_USED   (0x08000000)
 
#define MPI2_DOORBELL_WHO_INIT_MASK   (0x07000000)
 
#define MPI2_DOORBELL_WHO_INIT_SHIFT   (24)
 
#define MPI2_DOORBELL_FAULT_CODE_MASK   (0x0000FFFF)
 
#define MPI2_DOORBELL_DATA_MASK   (0x0000FFFF)
 
#define MPI2_DOORBELL_FUNCTION_MASK   (0xFF000000)
 
#define MPI2_DOORBELL_FUNCTION_SHIFT   (24)
 
#define MPI2_DOORBELL_ADD_DWORDS_MASK   (0x00FF0000)
 
#define MPI2_DOORBELL_ADD_DWORDS_SHIFT   (16)
 
#define MPI2_WRITE_SEQUENCE_OFFSET   (0x00000004)
 
#define MPI2_WRSEQ_KEY_VALUE_MASK   (0x0000000F)
 
#define MPI2_WRSEQ_FLUSH_KEY_VALUE   (0x0)
 
#define MPI2_WRSEQ_1ST_KEY_VALUE   (0xF)
 
#define MPI2_WRSEQ_2ND_KEY_VALUE   (0x4)
 
#define MPI2_WRSEQ_3RD_KEY_VALUE   (0xB)
 
#define MPI2_WRSEQ_4TH_KEY_VALUE   (0x2)
 
#define MPI2_WRSEQ_5TH_KEY_VALUE   (0x7)
 
#define MPI2_WRSEQ_6TH_KEY_VALUE   (0xD)
 
#define MPI2_HOST_DIAGNOSTIC_OFFSET   (0x00000008)
 
#define MPI2_DIAG_BOOT_DEVICE_SELECT_MASK   (0x00001800)
 
#define MPI2_DIAG_BOOT_DEVICE_SELECT_DEFAULT   (0x00000000)
 
#define MPI2_DIAG_BOOT_DEVICE_SELECT_HCDW   (0x00000800)
 
#define MPI2_DIAG_CLEAR_FLASH_BAD_SIG   (0x00000400)
 
#define MPI2_DIAG_FORCE_HCB_ON_RESET   (0x00000200)
 
#define MPI2_DIAG_HCB_MODE   (0x00000100)
 
#define MPI2_DIAG_DIAG_WRITE_ENABLE   (0x00000080)
 
#define MPI2_DIAG_FLASH_BAD_SIG   (0x00000040)
 
#define MPI2_DIAG_RESET_HISTORY   (0x00000020)
 
#define MPI2_DIAG_DIAG_RW_ENABLE   (0x00000010)
 
#define MPI2_DIAG_RESET_ADAPTER   (0x00000004)
 
#define MPI2_DIAG_HOLD_IOC_RESET   (0x00000002)
 
#define MPI2_DIAG_RW_DATA_OFFSET   (0x00000010)
 
#define MPI2_DIAG_RW_ADDRESS_LOW_OFFSET   (0x00000014)
 
#define MPI2_DIAG_RW_ADDRESS_HIGH_OFFSET   (0x00000018)
 
#define MPI2_HOST_INTERRUPT_STATUS_OFFSET   (0x00000030)
 
#define MPI2_HIS_SYS2IOC_DB_STATUS   (0x80000000)
 
#define MPI2_HIS_IOP_DOORBELL_STATUS   MPI2_HIS_SYS2IOC_DB_STATUS
 
#define MPI2_HIS_RESET_IRQ_STATUS   (0x40000000)
 
#define MPI2_HIS_REPLY_DESCRIPTOR_INTERRUPT   (0x00000008)
 
#define MPI2_HIS_IOC2SYS_DB_STATUS   (0x00000001)
 
#define MPI2_HIS_DOORBELL_INTERRUPT   MPI2_HIS_IOC2SYS_DB_STATUS
 
#define MPI2_HOST_INTERRUPT_MASK_OFFSET   (0x00000034)
 
#define MPI2_HIM_RESET_IRQ_MASK   (0x40000000)
 
#define MPI2_HIM_REPLY_INT_MASK   (0x00000008)
 
#define MPI2_HIM_RIM   MPI2_HIM_REPLY_INT_MASK
 
#define MPI2_HIM_IOC2SYS_DB_MASK   (0x00000001)
 
#define MPI2_HIM_DIM   MPI2_HIM_IOC2SYS_DB_MASK
 
#define MPI2_DCR_DATA_OFFSET   (0x00000038)
 
#define MPI2_DCR_ADDRESS_OFFSET   (0x0000003C)
 
#define MPI2_REPLY_FREE_HOST_INDEX_OFFSET   (0x00000048)
 
#define MPI2_REPLY_POST_HOST_INDEX_OFFSET   (0x0000006C)
 
#define MPI2_REPLY_POST_HOST_INDEX_MASK   (0x00FFFFFF)
 
#define MPI2_RPHI_MSIX_INDEX_MASK   (0xFF000000)
 
#define MPI2_RPHI_MSIX_INDEX_SHIFT   (24)
 
#define MPI2_HCB_SIZE_OFFSET   (0x00000074)
 
#define MPI2_HCB_SIZE_SIZE_MASK   (0xFFFFF000)
 
#define MPI2_HCB_SIZE_HCB_ENABLE   (0x00000001)
 
#define MPI2_HCB_ADDRESS_LOW_OFFSET   (0x00000078)
 
#define MPI2_HCB_ADDRESS_HIGH_OFFSET   (0x0000007C)
 
#define MPI2_REQUEST_DESCRIPTOR_POST_LOW_OFFSET   (0x000000C0)
 
#define MPI2_REQUEST_DESCRIPTOR_POST_HIGH_OFFSET   (0x000000C4)
 
#define MPI2_HARD_RESET_PCIE_FIRST_READ_DELAY_MICRO_SEC   (50000)
 
#define MPI2_HARD_RESET_PCIE_RESET_READ_WINDOW_MICRO_SEC   (255000)
 
#define MPI2_HARD_RESET_PCIE_SECOND_READ_DELAY_MICRO_SEC   (256000)
 
#define MPI2_REQ_DESCRIPT_FLAGS_TYPE_MASK   (0x0E)
 
#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO   (0x00)
 
#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_TARGET   (0x02)
 
#define MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY   (0x06)
 
#define MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE   (0x08)
 
#define MPI2_REQ_DESCRIPT_FLAGS_RAID_ACCELERATOR   (0x0A)
 
#define MPI2_REQ_DESCRIPT_FLAGS_IOC_FIFO_MARKER   (0x01)
 
#define MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK   (0x0F)
 
#define MPI2_RPY_DESCRIPT_FLAGS_SCSI_IO_SUCCESS   (0x00)
 
#define MPI2_RPY_DESCRIPT_FLAGS_ADDRESS_REPLY   (0x01)
 
#define MPI2_RPY_DESCRIPT_FLAGS_TARGETASSIST_SUCCESS   (0x02)
 
#define MPI2_RPY_DESCRIPT_FLAGS_TARGET_COMMAND_BUFFER   (0x03)
 
#define MPI2_RPY_DESCRIPT_FLAGS_RAID_ACCELERATOR_SUCCESS   (0x05)
 
#define MPI2_RPY_DESCRIPT_FLAGS_UNUSED   (0x0F)
 
#define MPI2_RPY_DESCRIPT_UNUSED_WORD0_MARK   (0xFFFFFFFF)
 
#define MPI2_RPY_DESCRIPT_UNUSED_WORD1_MARK   (0xFFFFFFFF)
 
#define MPI2_ADDRESS_REPLY_SMID_INVALID   (0x00)
 
#define MPI2_RPY_DESCRIPT_TCB_FLAGS_PHYNUM_MASK   (0x3F)
 
#define MPI2_FUNCTION_SCSI_IO_REQUEST   (0x00) /* SCSI IO */
 
#define MPI2_FUNCTION_SCSI_TASK_MGMT   (0x01) /* SCSI Task Management */
 
#define MPI2_FUNCTION_IOC_INIT   (0x02) /* IOC Init */
 
#define MPI2_FUNCTION_IOC_FACTS   (0x03) /* IOC Facts */
 
#define MPI2_FUNCTION_CONFIG   (0x04) /* Configuration */
 
#define MPI2_FUNCTION_PORT_FACTS   (0x05) /* Port Facts */
 
#define MPI2_FUNCTION_PORT_ENABLE   (0x06) /* Port Enable */
 
#define MPI2_FUNCTION_EVENT_NOTIFICATION   (0x07) /* Event Notification */
 
#define MPI2_FUNCTION_EVENT_ACK   (0x08) /* Event Acknowledge */
 
#define MPI2_FUNCTION_FW_DOWNLOAD   (0x09) /* FW Download */
 
#define MPI2_FUNCTION_TARGET_ASSIST   (0x0B) /* Target Assist */
 
#define MPI2_FUNCTION_TARGET_STATUS_SEND   (0x0C) /* Target Status Send */
 
#define MPI2_FUNCTION_TARGET_MODE_ABORT   (0x0D) /* Target Mode Abort */
 
#define MPI2_FUNCTION_FW_UPLOAD   (0x12) /* FW Upload */
 
#define MPI2_FUNCTION_RAID_ACTION   (0x15) /* RAID Action */
 
#define MPI2_FUNCTION_RAID_SCSI_IO_PASSTHROUGH   (0x16) /* SCSI IO RAID Passthrough */
 
#define MPI2_FUNCTION_TOOLBOX   (0x17) /* Toolbox */
 
#define MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR   (0x18) /* SCSI Enclosure Processor */
 
#define MPI2_FUNCTION_SMP_PASSTHROUGH   (0x1A) /* SMP Passthrough */
 
#define MPI2_FUNCTION_SAS_IO_UNIT_CONTROL   (0x1B) /* SAS IO Unit Control */
 
#define MPI2_FUNCTION_SATA_PASSTHROUGH   (0x1C) /* SATA Passthrough */
 
#define MPI2_FUNCTION_DIAG_BUFFER_POST   (0x1D) /* Diagnostic Buffer Post */
 
#define MPI2_FUNCTION_DIAG_RELEASE   (0x1E) /* Diagnostic Release */
 
#define MPI2_FUNCTION_TARGET_CMD_BUF_BASE_POST   (0x24) /* Target Command Buffer Post Base */
 
#define MPI2_FUNCTION_TARGET_CMD_BUF_LIST_POST   (0x25) /* Target Command Buffer Post List */
 
#define MPI2_FUNCTION_RAID_ACCELERATOR   (0x2C) /* RAID Accelerator*/
 
#define MPI2_FUNCTION_HOST_BASED_DISCOVERY_ACTION   (0x2F)
 
#define MPI2_FUNCTION_PWR_MGMT_CONTROL   (0x30)
 
#define MPI2_FUNCTION_SEND_HOST_MESSAGE   (0x31)
 
#define MPI2_FUNCTION_MIN_PRODUCT_SPECIFIC   (0xF0)
 
#define MPI2_FUNCTION_MAX_PRODUCT_SPECIFIC   (0xFF)
 
#define MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET   (0x40)
 
#define MPI2_FUNCTION_HANDSHAKE   (0x42)
 
#define MPI2_IOCSTATUS_MASK   (0x7FFF)
 
#define MPI2_IOCSTATUS_SUCCESS   (0x0000)
 
#define MPI2_IOCSTATUS_INVALID_FUNCTION   (0x0001)
 
#define MPI2_IOCSTATUS_BUSY   (0x0002)
 
#define MPI2_IOCSTATUS_INVALID_SGL   (0x0003)
 
#define MPI2_IOCSTATUS_INTERNAL_ERROR   (0x0004)
 
#define MPI2_IOCSTATUS_INVALID_VPID   (0x0005)
 
#define MPI2_IOCSTATUS_INSUFFICIENT_RESOURCES   (0x0006)
 
#define MPI2_IOCSTATUS_INVALID_FIELD   (0x0007)
 
#define MPI2_IOCSTATUS_INVALID_STATE   (0x0008)
 
#define MPI2_IOCSTATUS_OP_STATE_NOT_SUPPORTED   (0x0009)
 
#define MPI2_IOCSTATUS_CONFIG_INVALID_ACTION   (0x0020)
 
#define MPI2_IOCSTATUS_CONFIG_INVALID_TYPE   (0x0021)
 
#define MPI2_IOCSTATUS_CONFIG_INVALID_PAGE   (0x0022)
 
#define MPI2_IOCSTATUS_CONFIG_INVALID_DATA   (0x0023)
 
#define MPI2_IOCSTATUS_CONFIG_NO_DEFAULTS   (0x0024)
 
#define MPI2_IOCSTATUS_CONFIG_CANT_COMMIT   (0x0025)
 
#define MPI2_IOCSTATUS_SCSI_RECOVERED_ERROR   (0x0040)
 
#define MPI2_IOCSTATUS_SCSI_INVALID_DEVHANDLE   (0x0042)
 
#define MPI2_IOCSTATUS_SCSI_DEVICE_NOT_THERE   (0x0043)
 
#define MPI2_IOCSTATUS_SCSI_DATA_OVERRUN   (0x0044)
 
#define MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN   (0x0045)
 
#define MPI2_IOCSTATUS_SCSI_IO_DATA_ERROR   (0x0046)
 
#define MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR   (0x0047)
 
#define MPI2_IOCSTATUS_SCSI_TASK_TERMINATED   (0x0048)
 
#define MPI2_IOCSTATUS_SCSI_RESIDUAL_MISMATCH   (0x0049)
 
#define MPI2_IOCSTATUS_SCSI_TASK_MGMT_FAILED   (0x004A)
 
#define MPI2_IOCSTATUS_SCSI_IOC_TERMINATED   (0x004B)
 
#define MPI2_IOCSTATUS_SCSI_EXT_TERMINATED   (0x004C)
 
#define MPI2_IOCSTATUS_EEDP_GUARD_ERROR   (0x004D)
 
#define MPI2_IOCSTATUS_EEDP_REF_TAG_ERROR   (0x004E)
 
#define MPI2_IOCSTATUS_EEDP_APP_TAG_ERROR   (0x004F)
 
#define MPI2_IOCSTATUS_TARGET_INVALID_IO_INDEX   (0x0062)
 
#define MPI2_IOCSTATUS_TARGET_ABORTED   (0x0063)
 
#define MPI2_IOCSTATUS_TARGET_NO_CONN_RETRYABLE   (0x0064)
 
#define MPI2_IOCSTATUS_TARGET_NO_CONNECTION   (0x0065)
 
#define MPI2_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH   (0x006A)
 
#define MPI2_IOCSTATUS_TARGET_DATA_OFFSET_ERROR   (0x006D)
 
#define MPI2_IOCSTATUS_TARGET_TOO_MUCH_WRITE_DATA   (0x006E)
 
#define MPI2_IOCSTATUS_TARGET_IU_TOO_SHORT   (0x006F)
 
#define MPI2_IOCSTATUS_TARGET_ACK_NAK_TIMEOUT   (0x0070)
 
#define MPI2_IOCSTATUS_TARGET_NAK_RECEIVED   (0x0071)
 
#define MPI2_IOCSTATUS_SAS_SMP_REQUEST_FAILED   (0x0090)
 
#define MPI2_IOCSTATUS_SAS_SMP_DATA_OVERRUN   (0x0091)
 
#define MPI2_IOCSTATUS_DIAGNOSTIC_RELEASED   (0x00A0)
 
#define MPI2_IOCSTATUS_RAID_ACCEL_ERROR   (0x00B0)
 
#define MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE   (0x8000)
 
#define MPI2_IOCLOGINFO_TYPE_MASK   (0xF0000000)
 
#define MPI2_IOCLOGINFO_TYPE_SHIFT   (28)
 
#define MPI2_IOCLOGINFO_TYPE_NONE   (0x0)
 
#define MPI2_IOCLOGINFO_TYPE_SCSI   (0x1)
 
#define MPI2_IOCLOGINFO_TYPE_FC   (0x2)
 
#define MPI2_IOCLOGINFO_TYPE_SAS   (0x3)
 
#define MPI2_IOCLOGINFO_TYPE_ISCSI   (0x4)
 
#define MPI2_IOCLOGINFO_LOG_DATA_MASK   (0x0FFFFFFF)
 
#define MPI2_LUN_FIRST_LEVEL_ADDRESSING   (0x0000FFFF)
 
#define MPI2_LUN_SECOND_LEVEL_ADDRESSING   (0xFFFF0000)
 
#define MPI2_LUN_THIRD_LEVEL_ADDRESSING   (0x0000FFFF)
 
#define MPI2_LUN_FOURTH_LEVEL_ADDRESSING   (0xFFFF0000)
 
#define MPI2_LUN_LEVEL_1_WORD   (0xFF00)
 
#define MPI2_LUN_LEVEL_1_DWORD   (0x0000FF00)
 
#define MPI2_SGE_FLAGS_LAST_ELEMENT   (0x80)
 
#define MPI2_SGE_FLAGS_END_OF_BUFFER   (0x40)
 
#define MPI2_SGE_FLAGS_ELEMENT_TYPE_MASK   (0x30)
 
#define MPI2_SGE_FLAGS_LOCAL_ADDRESS   (0x08)
 
#define MPI2_SGE_FLAGS_DIRECTION   (0x04)
 
#define MPI2_SGE_FLAGS_ADDRESS_SIZE   (0x02)
 
#define MPI2_SGE_FLAGS_END_OF_LIST   (0x01)
 
#define MPI2_SGE_FLAGS_SHIFT   (24)
 
#define MPI2_SGE_LENGTH_MASK   (0x00FFFFFF)
 
#define MPI2_SGE_CHAIN_LENGTH_MASK   (0x0000FFFF)
 
#define MPI2_SGE_FLAGS_TRANSACTION_ELEMENT   (0x00)
 
#define MPI2_SGE_FLAGS_SIMPLE_ELEMENT   (0x10)
 
#define MPI2_SGE_FLAGS_CHAIN_ELEMENT   (0x30)
 
#define MPI2_SGE_FLAGS_ELEMENT_MASK   (0x30)
 
#define MPI2_SGE_FLAGS_SYSTEM_ADDRESS   (0x00)
 
#define MPI2_SGE_FLAGS_IOC_TO_HOST   (0x00)
 
#define MPI2_SGE_FLAGS_HOST_TO_IOC   (0x04)
 
#define MPI2_SGE_FLAGS_DEST   (MPI2_SGE_FLAGS_IOC_TO_HOST)
 
#define MPI2_SGE_FLAGS_SOURCE   (MPI2_SGE_FLAGS_HOST_TO_IOC)
 
#define MPI2_SGE_FLAGS_32_BIT_ADDRESSING   (0x00)
 
#define MPI2_SGE_FLAGS_64_BIT_ADDRESSING   (0x02)
 
#define MPI2_SGE_FLAGS_32_BIT_CONTEXT   (0x00)
 
#define MPI2_SGE_FLAGS_64_BIT_CONTEXT   (0x02)
 
#define MPI2_SGE_FLAGS_96_BIT_CONTEXT   (0x04)
 
#define MPI2_SGE_FLAGS_128_BIT_CONTEXT   (0x06)
 
#define MPI2_SGE_CHAIN_OFFSET_MASK   (0x00FF0000)
 
#define MPI2_SGE_CHAIN_OFFSET_SHIFT   (16)
 
#define MPI2_SGE_SET_FLAGS(f)   ((U32)(f) << MPI2_SGE_FLAGS_SHIFT)
 
#define MPI2_SGE_GET_FLAGS(f)   (((f) & ~MPI2_SGE_LENGTH_MASK) >> MPI2_SGE_FLAGS_SHIFT)
 
#define MPI2_SGE_LENGTH(f)   ((f) & MPI2_SGE_LENGTH_MASK)
 
#define MPI2_SGE_CHAIN_LENGTH(f)   ((f) & MPI2_SGE_CHAIN_LENGTH_MASK)
 
#define MPI2_SGE_SET_FLAGS_LENGTH(f, l)   (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGTH(l))
 
#define MPI2_pSGE_GET_FLAGS(psg)   MPI2_SGE_GET_FLAGS((psg)->FlagsLength)
 
#define MPI2_pSGE_GET_LENGTH(psg)   MPI2_SGE_LENGTH((psg)->FlagsLength)
 
#define MPI2_pSGE_SET_FLAGS_LENGTH(psg, f, l)   (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l)
 
#define MPI2_pSGE_SET_FLAGS(psg, f)   (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f)
 
#define MPI2_pSGE_SET_LENGTH(psg, l)   (psg)->FlagsLength |= MPI2_SGE_LENGTH(l)
 
#define MPI2_GET_CHAIN_OFFSET(x)   ((x & MPI2_SGE_CHAIN_OFFSET_MASK) >> MPI2_SGE_CHAIN_OFFSET_SHIFT)
 
#define MPI2_IEEE_SGE_FLAGS_ELEMENT_TYPE_MASK   (0x80)
 
#define MPI2_IEEE32_SGE_FLAGS_SHIFT   (24)
 
#define MPI2_IEEE32_SGE_LENGTH_MASK   (0x00FFFFFF)
 
#define MPI2_IEEE_SGE_FLAGS_SIMPLE_ELEMENT   (0x00)
 
#define MPI2_IEEE_SGE_FLAGS_CHAIN_ELEMENT   (0x80)
 
#define MPI2_IEEE_SGE_FLAGS_ADDR_MASK   (0x03)
 
#define MPI2_IEEE_SGE_FLAGS_SYSTEM_ADDR   (0x00)
 
#define MPI2_IEEE_SGE_FLAGS_IOCDDR_ADDR   (0x01)
 
#define MPI2_IEEE_SGE_FLAGS_IOCPLB_ADDR   (0x02)
 
#define MPI2_IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)
 
#define MPI2_IEEE_SGE_FLAGS_SYSTEMPLBPCI_ADDR   (0x03)
 
#define MPI2_IEEE_SGE_FLAGS_SYSTEMPLBCPI_ADDR   (MPI2_IEEE_SGE_FLAGS_SYSTEMPLBPCI_ADDR) /* typo in name */
 
#define MPI2_IEEE32_SGE_SET_FLAGS(f)   ((U32)(f) << MPI2_IEEE32_SGE_FLAGS_SHIFT)
 
#define MPI2_IEEE32_SGE_GET_FLAGS(f)   (((f) & ~MPI2_IEEE32_SGE_LENGTH_MASK) >> MPI2_IEEE32_SGE_FLAGS_SHIFT)
 
#define MPI2_IEEE32_SGE_LENGTH(f)   ((f) & MPI2_IEEE32_SGE_LENGTH_MASK)
 
#define MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f, l)   (MPI2_IEEE32_SGE_SET_FLAGS(f) | MPI2_IEEE32_SGE_LENGTH(l))
 
#define MPI2_IEEE32_pSGE_GET_FLAGS(psg)   MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength)
 
#define MPI2_IEEE32_pSGE_GET_LENGTH(psg)   MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength)
 
#define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH(psg, f, l)   (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f,l)
 
#define MPI2_IEEE32_pSGE_SET_FLAGS(psg, f)   (psg)->FlagsLength |= MPI2_IEEE32_SGE_SET_FLAGS(f)
 
#define MPI2_IEEE32_pSGE_SET_LENGTH(psg, l)   (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l)
 
#define MPI2_SGLFLAGS_ADDRESS_SPACE_MASK   (0x0C)
 
#define MPI2_SGLFLAGS_SYSTEM_ADDRESS_SPACE   (0x00)
 
#define MPI2_SGLFLAGS_IOCDDR_ADDRESS_SPACE   (0x04)
 
#define MPI2_SGLFLAGS_IOCPLB_ADDRESS_SPACE   (0x08)
 
#define MPI2_SGLFLAGS_IOCPLBNTA_ADDRESS_SPACE   (0x0C)
 
#define MPI2_SGLFLAGS_SGL_TYPE_MASK   (0x03)
 
#define MPI2_SGLFLAGS_SGL_TYPE_MPI   (0x00)
 
#define MPI2_SGLFLAGS_SGL_TYPE_IEEE32   (0x01)
 
#define MPI2_SGLFLAGS_SGL_TYPE_IEEE64   (0x02)
 

Typedefs

typedef struct
_MPI2_SYSTEM_INTERFACE_REGS 
MPI2_SYSTEM_INTERFACE_REGS
 
typedef struct
_MPI2_SYSTEM_INTERFACE_REGS 
PTR_MPI2_SYSTEM_INTERFACE_REGS
 
typedef struct
_MPI2_SYSTEM_INTERFACE_REGS 
Mpi2SystemInterfaceRegs_t
 
typedef struct
_MPI2_SYSTEM_INTERFACE_REGS 
pMpi2SystemInterfaceRegs_t
 
typedef struct
_MPI2_DEFAULT_REQUEST_DESCRIPTOR 
MPI2_DEFAULT_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_DEFAULT_REQUEST_DESCRIPTOR 
PTR_MPI2_DEFAULT_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_DEFAULT_REQUEST_DESCRIPTOR 
Mpi2DefaultRequestDescriptor_t
 
typedef struct
_MPI2_DEFAULT_REQUEST_DESCRIPTOR 
pMpi2DefaultRequestDescriptor_t
 
typedef struct
_MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR 
MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR 
PTR_MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR 
Mpi2HighPriorityRequestDescriptor_t
 
typedef struct
_MPI2_HIGH_PRIORITY_REQUEST_DESCRIPTOR 
pMpi2HighPriorityRequestDescriptor_t
 
typedef struct
_MPI2_SCSI_IO_REQUEST_DESCRIPTOR 
MPI2_SCSI_IO_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_IO_REQUEST_DESCRIPTOR 
PTR_MPI2_SCSI_IO_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_IO_REQUEST_DESCRIPTOR 
Mpi2SCSIIORequestDescriptor_t
 
typedef struct
_MPI2_SCSI_IO_REQUEST_DESCRIPTOR 
pMpi2SCSIIORequestDescriptor_t
 
typedef struct
_MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR 
MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR 
PTR_MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR 
Mpi2SCSITargetRequestDescriptor_t
 
typedef struct
_MPI2_SCSI_TARGET_REQUEST_DESCRIPTOR 
pMpi2SCSITargetRequestDescriptor_t
 
typedef struct
_MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR 
MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR 
PTR_MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR
 
typedef struct
_MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR 
Mpi2RAIDAcceleratorRequestDescriptor_t
 
typedef struct
_MPI2_RAID_ACCEL_REQUEST_DESCRIPTOR 
pMpi2RAIDAcceleratorRequestDescriptor_t
 
typedef union
_MPI2_REQUEST_DESCRIPTOR_UNION 
MPI2_REQUEST_DESCRIPTOR_UNION
 
typedef union
_MPI2_REQUEST_DESCRIPTOR_UNION 
PTR_MPI2_REQUEST_DESCRIPTOR_UNION
 
typedef union
_MPI2_REQUEST_DESCRIPTOR_UNION 
Mpi2RequestDescriptorUnion_t
 
typedef union
_MPI2_REQUEST_DESCRIPTOR_UNION 
pMpi2RequestDescriptorUnion_t
 
typedef struct
_MPI2_DEFAULT_REPLY_DESCRIPTOR 
MPI2_DEFAULT_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_DEFAULT_REPLY_DESCRIPTOR 
PTR_MPI2_DEFAULT_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_DEFAULT_REPLY_DESCRIPTOR 
Mpi2DefaultReplyDescriptor_t
 
typedef struct
_MPI2_DEFAULT_REPLY_DESCRIPTOR 
pMpi2DefaultReplyDescriptor_t
 
typedef struct
_MPI2_ADDRESS_REPLY_DESCRIPTOR 
MPI2_ADDRESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_ADDRESS_REPLY_DESCRIPTOR 
PTR_MPI2_ADDRESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_ADDRESS_REPLY_DESCRIPTOR 
Mpi2AddressReplyDescriptor_t
 
typedef struct
_MPI2_ADDRESS_REPLY_DESCRIPTOR 
pMpi2AddressReplyDescriptor_t
 
typedef struct
_MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR 
MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR 
PTR_MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR 
Mpi2SCSIIOSuccessReplyDescriptor_t
 
typedef struct
_MPI2_SCSI_IO_SUCCESS_REPLY_DESCRIPTOR 
pMpi2SCSIIOSuccessReplyDescriptor_t
 
typedef struct
_MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR 
MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR 
PTR_MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR 
Mpi2TargetAssistSuccessReplyDescriptor_t
 
typedef struct
_MPI2_TARGETASSIST_SUCCESS_REPLY_DESCRIPTOR 
pMpi2TargetAssistSuccessReplyDescriptor_t
 
typedef struct
_MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR 
MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR 
PTR_MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR 
Mpi2TargetCommandBufferReplyDescriptor_t
 
typedef struct
_MPI2_TARGET_COMMAND_BUFFER_REPLY_DESCRIPTOR 
pMpi2TargetCommandBufferReplyDescriptor_t
 
typedef struct
_MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR 
MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR 
PTR_MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR
 
typedef struct
_MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR 
Mpi2RAIDAcceleratorSuccessReplyDescriptor_t
 
typedef struct
_MPI2_RAID_ACCELERATOR_SUCCESS_REPLY_DESCRIPTOR 
pMpi2RAIDAcceleratorSuccessReplyDescriptor_t
 
typedef union
_MPI2_REPLY_DESCRIPTORS_UNION 
MPI2_REPLY_DESCRIPTORS_UNION
 
typedef union
_MPI2_REPLY_DESCRIPTORS_UNION 
PTR_MPI2_REPLY_DESCRIPTORS_UNION
 
typedef union
_MPI2_REPLY_DESCRIPTORS_UNION 
Mpi2ReplyDescriptorsUnion_t
 
typedef union
_MPI2_REPLY_DESCRIPTORS_UNION 
pMpi2ReplyDescriptorsUnion_t
 
typedef struct _MPI2_REQUEST_HEADER MPI2_REQUEST_HEADER
 
typedef struct _MPI2_REQUEST_HEADER PTR_MPI2_REQUEST_HEADER
 
typedef struct _MPI2_REQUEST_HEADER MPI2RequestHeader_t
 
typedef struct _MPI2_REQUEST_HEADER pMPI2RequestHeader_t
 
typedef struct _MPI2_DEFAULT_REPLY MPI2_DEFAULT_REPLY
 
typedef struct _MPI2_DEFAULT_REPLY PTR_MPI2_DEFAULT_REPLY
 
typedef struct _MPI2_DEFAULT_REPLY MPI2DefaultReply_t
 
typedef struct _MPI2_DEFAULT_REPLY pMPI2DefaultReply_t
 
typedef struct _MPI2_VERSION_STRUCT MPI2_VERSION_STRUCT
 
typedef union _MPI2_VERSION_UNION MPI2_VERSION_UNION
 
typedef struct _MPI2_SGE_SIMPLE32 MPI2_SGE_SIMPLE32
 
typedef struct _MPI2_SGE_SIMPLE32 PTR_MPI2_SGE_SIMPLE32
 
typedef struct _MPI2_SGE_SIMPLE32 Mpi2SGESimple32_t
 
typedef struct _MPI2_SGE_SIMPLE32 pMpi2SGESimple32_t
 
typedef struct _MPI2_SGE_SIMPLE64 MPI2_SGE_SIMPLE64
 
typedef struct _MPI2_SGE_SIMPLE64 PTR_MPI2_SGE_SIMPLE64
 
typedef struct _MPI2_SGE_SIMPLE64 Mpi2SGESimple64_t
 
typedef struct _MPI2_SGE_SIMPLE64 pMpi2SGESimple64_t
 
typedef struct
_MPI2_SGE_SIMPLE_UNION 
MPI2_SGE_SIMPLE_UNION
 
typedef struct
_MPI2_SGE_SIMPLE_UNION 
PTR_MPI2_SGE_SIMPLE_UNION
 
typedef struct
_MPI2_SGE_SIMPLE_UNION 
Mpi2SGESimpleUnion_t
 
typedef struct
_MPI2_SGE_SIMPLE_UNION 
pMpi2SGESimpleUnion_t
 
typedef struct _MPI2_SGE_CHAIN32 MPI2_SGE_CHAIN32
 
typedef struct _MPI2_SGE_CHAIN32 PTR_MPI2_SGE_CHAIN32
 
typedef struct _MPI2_SGE_CHAIN32 Mpi2SGEChain32_t
 
typedef struct _MPI2_SGE_CHAIN32 pMpi2SGEChain32_t
 
typedef struct _MPI2_SGE_CHAIN64 MPI2_SGE_CHAIN64
 
typedef struct _MPI2_SGE_CHAIN64 PTR_MPI2_SGE_CHAIN64
 
typedef struct _MPI2_SGE_CHAIN64 Mpi2SGEChain64_t
 
typedef struct _MPI2_SGE_CHAIN64 pMpi2SGEChain64_t
 
typedef struct
_MPI2_SGE_CHAIN_UNION 
MPI2_SGE_CHAIN_UNION
 
typedef struct
_MPI2_SGE_CHAIN_UNION 
PTR_MPI2_SGE_CHAIN_UNION
 
typedef struct
_MPI2_SGE_CHAIN_UNION 
Mpi2SGEChainUnion_t
 
typedef struct
_MPI2_SGE_CHAIN_UNION 
pMpi2SGEChainUnion_t
 
typedef struct
_MPI2_SGE_TRANSACTION32 
MPI2_SGE_TRANSACTION32
 
typedef struct
_MPI2_SGE_TRANSACTION32 
PTR_MPI2_SGE_TRANSACTION32
 
typedef struct
_MPI2_SGE_TRANSACTION32 
Mpi2SGETransaction32_t
 
typedef struct
_MPI2_SGE_TRANSACTION32 
pMpi2SGETransaction32_t
 
typedef struct
_MPI2_SGE_TRANSACTION64 
MPI2_SGE_TRANSACTION64
 
typedef struct
_MPI2_SGE_TRANSACTION64 
PTR_MPI2_SGE_TRANSACTION64
 
typedef struct
_MPI2_SGE_TRANSACTION64 
Mpi2SGETransaction64_t
 
typedef struct
_MPI2_SGE_TRANSACTION64 
pMpi2SGETransaction64_t
 
typedef struct
_MPI2_SGE_TRANSACTION96 
MPI2_SGE_TRANSACTION96
 
typedef struct
_MPI2_SGE_TRANSACTION96 
PTR_MPI2_SGE_TRANSACTION96
 
typedef struct
_MPI2_SGE_TRANSACTION96 
Mpi2SGETransaction96_t
 
typedef struct
_MPI2_SGE_TRANSACTION96 
pMpi2SGETransaction96_t
 
typedef struct
_MPI2_SGE_TRANSACTION128 
MPI2_SGE_TRANSACTION128
 
typedef struct
_MPI2_SGE_TRANSACTION128 
PTR_MPI2_SGE_TRANSACTION128
 
typedef struct
_MPI2_SGE_TRANSACTION128 
Mpi2SGETransaction_t128
 
typedef struct
_MPI2_SGE_TRANSACTION128 
pMpi2SGETransaction_t128
 
typedef struct
_MPI2_SGE_TRANSACTION_UNION 
MPI2_SGE_TRANSACTION_UNION
 
typedef struct
_MPI2_SGE_TRANSACTION_UNION 
PTR_MPI2_SGE_TRANSACTION_UNION
 
typedef struct
_MPI2_SGE_TRANSACTION_UNION 
Mpi2SGETransactionUnion_t
 
typedef struct
_MPI2_SGE_TRANSACTION_UNION 
pMpi2SGETransactionUnion_t
 
typedef struct
_MPI2_MPI_SGE_IO_UNION 
MPI2_MPI_SGE_IO_UNION
 
typedef struct
_MPI2_MPI_SGE_IO_UNION 
PTR_MPI2_MPI_SGE_IO_UNION
 
typedef struct
_MPI2_MPI_SGE_IO_UNION 
Mpi2MpiSGEIOUnion_t
 
typedef struct
_MPI2_MPI_SGE_IO_UNION 
pMpi2MpiSGEIOUnion_t
 
typedef struct
_MPI2_SGE_TRANS_SIMPLE_UNION 
MPI2_SGE_TRANS_SIMPLE_UNION
 
typedef struct
_MPI2_SGE_TRANS_SIMPLE_UNION 
PTR_MPI2_SGE_TRANS_SIMPLE_UNION
 
typedef struct
_MPI2_SGE_TRANS_SIMPLE_UNION 
Mpi2SGETransSimpleUnion_t
 
typedef struct
_MPI2_SGE_TRANS_SIMPLE_UNION 
pMpi2SGETransSimpleUnion_t
 
typedef struct _MPI2_MPI_SGE_UNION MPI2_MPI_SGE_UNION
 
typedef struct _MPI2_MPI_SGE_UNION PTR_MPI2_MPI_SGE_UNION
 
typedef struct _MPI2_MPI_SGE_UNION Mpi2MpiSgeUnion_t
 
typedef struct _MPI2_MPI_SGE_UNION pMpi2MpiSgeUnion_t
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE32 
MPI2_IEEE_SGE_SIMPLE32
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE32 
PTR_MPI2_IEEE_SGE_SIMPLE32
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE32 
Mpi2IeeeSgeSimple32_t
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE32 
pMpi2IeeeSgeSimple32_t
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE64 
MPI2_IEEE_SGE_SIMPLE64
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE64 
PTR_MPI2_IEEE_SGE_SIMPLE64
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE64 
Mpi2IeeeSgeSimple64_t
 
typedef struct
_MPI2_IEEE_SGE_SIMPLE64 
pMpi2IeeeSgeSimple64_t
 
typedef union
_MPI2_IEEE_SGE_SIMPLE_UNION 
MPI2_IEEE_SGE_SIMPLE_UNION
 
typedef union
_MPI2_IEEE_SGE_SIMPLE_UNION 
PTR_MPI2_IEEE_SGE_SIMPLE_UNION
 
typedef union
_MPI2_IEEE_SGE_SIMPLE_UNION 
Mpi2IeeeSgeSimpleUnion_t
 
typedef union
_MPI2_IEEE_SGE_SIMPLE_UNION 
pMpi2IeeeSgeSimpleUnion_t
 
typedef MPI2_IEEE_SGE_SIMPLE32 MPI2_IEEE_SGE_CHAIN32
 
typedef MPI2_IEEE_SGE_SIMPLE64 MPI2_IEEE_SGE_CHAIN64
 
typedef union
_MPI2_IEEE_SGE_CHAIN_UNION 
MPI2_IEEE_SGE_CHAIN_UNION
 
typedef union
_MPI2_IEEE_SGE_CHAIN_UNION 
PTR_MPI2_IEEE_SGE_CHAIN_UNION
 
typedef union
_MPI2_IEEE_SGE_CHAIN_UNION 
Mpi2IeeeSgeChainUnion_t
 
typedef union
_MPI2_IEEE_SGE_CHAIN_UNION 
pMpi2IeeeSgeChainUnion_t
 
typedef struct _MPI2_IEEE_SGE_UNION MPI2_IEEE_SGE_UNION
 
typedef struct _MPI2_IEEE_SGE_UNION PTR_MPI2_IEEE_SGE_UNION
 
typedef struct _MPI2_IEEE_SGE_UNION Mpi2IeeeSgeUnion_t
 
typedef struct _MPI2_IEEE_SGE_UNION pMpi2IeeeSgeUnion_t
 
typedef union
_MPI2_SIMPLE_SGE_UNION 
MPI2_SIMPLE_SGE_UNION
 
typedef union
_MPI2_SIMPLE_SGE_UNION 
PTR_MPI2_SIMPLE_SGE_UNION
 
typedef union
_MPI2_SIMPLE_SGE_UNION 
Mpi2SimpleSgeUntion_t
 
typedef union
_MPI2_SIMPLE_SGE_UNION 
pMpi2SimpleSgeUntion_t
 
typedef union _MPI2_SGE_IO_UNION MPI2_SGE_IO_UNION
 
typedef union _MPI2_SGE_IO_UNION PTR_MPI2_SGE_IO_UNION
 
typedef union _MPI2_SGE_IO_UNION Mpi2SGEIOUnion_t
 
typedef union _MPI2_SGE_IO_UNION pMpi2SGEIOUnion_t
 

Macro Definition Documentation

#define MPI2_ADDRESS_REPLY_SMID_INVALID   (0x00)

Definition at line 419 of file mpi2.h.

#define MPI2_DCR_ADDRESS_OFFSET   (0x0000003C)

Definition at line 249 of file mpi2.h.

#define MPI2_DCR_DATA_OFFSET   (0x00000038)

Definition at line 248 of file mpi2.h.

#define MPI2_DIAG_BOOT_DEVICE_SELECT_DEFAULT   (0x00000000)

Definition at line 204 of file mpi2.h.

#define MPI2_DIAG_BOOT_DEVICE_SELECT_HCDW   (0x00000800)

Definition at line 205 of file mpi2.h.

#define MPI2_DIAG_BOOT_DEVICE_SELECT_MASK   (0x00001800)

Definition at line 203 of file mpi2.h.

#define MPI2_DIAG_CLEAR_FLASH_BAD_SIG   (0x00000400)

Definition at line 207 of file mpi2.h.

#define MPI2_DIAG_DIAG_RW_ENABLE   (0x00000010)

Definition at line 213 of file mpi2.h.

#define MPI2_DIAG_DIAG_WRITE_ENABLE   (0x00000080)

Definition at line 210 of file mpi2.h.

#define MPI2_DIAG_FLASH_BAD_SIG   (0x00000040)

Definition at line 211 of file mpi2.h.

#define MPI2_DIAG_FORCE_HCB_ON_RESET   (0x00000200)

Definition at line 208 of file mpi2.h.

#define MPI2_DIAG_HCB_MODE   (0x00000100)

Definition at line 209 of file mpi2.h.

#define MPI2_DIAG_HOLD_IOC_RESET   (0x00000002)

Definition at line 215 of file mpi2.h.

#define MPI2_DIAG_RESET_ADAPTER   (0x00000004)

Definition at line 214 of file mpi2.h.

#define MPI2_DIAG_RESET_HISTORY   (0x00000020)

Definition at line 212 of file mpi2.h.

#define MPI2_DIAG_RW_ADDRESS_HIGH_OFFSET   (0x00000018)

Definition at line 222 of file mpi2.h.

#define MPI2_DIAG_RW_ADDRESS_LOW_OFFSET   (0x00000014)

Definition at line 221 of file mpi2.h.

#define MPI2_DIAG_RW_DATA_OFFSET   (0x00000010)

Definition at line 220 of file mpi2.h.

#define MPI2_DOORBELL_ADD_DWORDS_MASK   (0x00FF0000)

Definition at line 181 of file mpi2.h.

#define MPI2_DOORBELL_ADD_DWORDS_SHIFT   (16)

Definition at line 182 of file mpi2.h.

#define MPI2_DOORBELL_DATA_MASK   (0x0000FFFF)

Definition at line 176 of file mpi2.h.

#define MPI2_DOORBELL_FAULT_CODE_MASK   (0x0000FFFF)

Definition at line 175 of file mpi2.h.

#define MPI2_DOORBELL_FUNCTION_MASK   (0xFF000000)

Definition at line 179 of file mpi2.h.

#define MPI2_DOORBELL_FUNCTION_SHIFT   (24)

Definition at line 180 of file mpi2.h.

#define MPI2_DOORBELL_OFFSET   (0x00000000)

Definition at line 169 of file mpi2.h.

#define MPI2_DOORBELL_USED   (0x08000000)

Definition at line 172 of file mpi2.h.

#define MPI2_DOORBELL_WHO_INIT_MASK   (0x07000000)

Definition at line 173 of file mpi2.h.

#define MPI2_DOORBELL_WHO_INIT_SHIFT   (24)

Definition at line 174 of file mpi2.h.

#define MPI2_FAULT_PRODUCT_SPECIFIC_MAX   (0xEFFF)

Definition at line 128 of file mpi2.h.

#define MPI2_FAULT_PRODUCT_SPECIFIC_MIN   (0x0000)

Definition at line 127 of file mpi2.h.

#define MPI2_FUNCTION_CONFIG   (0x04) /* Configuration */

Definition at line 506 of file mpi2.h.

#define MPI2_FUNCTION_DIAG_BUFFER_POST   (0x1D) /* Diagnostic Buffer Post */

Definition at line 523 of file mpi2.h.

#define MPI2_FUNCTION_DIAG_RELEASE   (0x1E) /* Diagnostic Release */

Definition at line 524 of file mpi2.h.

#define MPI2_FUNCTION_EVENT_ACK   (0x08) /* Event Acknowledge */

Definition at line 510 of file mpi2.h.

#define MPI2_FUNCTION_EVENT_NOTIFICATION   (0x07) /* Event Notification */

Definition at line 509 of file mpi2.h.

#define MPI2_FUNCTION_FW_DOWNLOAD   (0x09) /* FW Download */

Definition at line 511 of file mpi2.h.

#define MPI2_FUNCTION_FW_UPLOAD   (0x12) /* FW Upload */

Definition at line 515 of file mpi2.h.

#define MPI2_FUNCTION_HANDSHAKE   (0x42)

Definition at line 544 of file mpi2.h.

#define MPI2_FUNCTION_HOST_BASED_DISCOVERY_ACTION   (0x2F)

Definition at line 529 of file mpi2.h.

#define MPI2_FUNCTION_IOC_FACTS   (0x03) /* IOC Facts */

Definition at line 505 of file mpi2.h.

#define MPI2_FUNCTION_IOC_INIT   (0x02) /* IOC Init */

Definition at line 504 of file mpi2.h.

#define MPI2_FUNCTION_IOC_MESSAGE_UNIT_RESET   (0x40)

Definition at line 543 of file mpi2.h.

#define MPI2_FUNCTION_MAX_PRODUCT_SPECIFIC   (0xFF)

Definition at line 537 of file mpi2.h.

#define MPI2_FUNCTION_MIN_PRODUCT_SPECIFIC   (0xF0)

Definition at line 535 of file mpi2.h.

#define MPI2_FUNCTION_PORT_ENABLE   (0x06) /* Port Enable */

Definition at line 508 of file mpi2.h.

#define MPI2_FUNCTION_PORT_FACTS   (0x05) /* Port Facts */

Definition at line 507 of file mpi2.h.

#define MPI2_FUNCTION_PWR_MGMT_CONTROL   (0x30)

Definition at line 531 of file mpi2.h.

#define MPI2_FUNCTION_RAID_ACCELERATOR   (0x2C) /* RAID Accelerator*/

Definition at line 527 of file mpi2.h.

#define MPI2_FUNCTION_RAID_ACTION   (0x15) /* RAID Action */

Definition at line 516 of file mpi2.h.

#define MPI2_FUNCTION_RAID_SCSI_IO_PASSTHROUGH   (0x16) /* SCSI IO RAID Passthrough */

Definition at line 517 of file mpi2.h.

#define MPI2_FUNCTION_SAS_IO_UNIT_CONTROL   (0x1B) /* SAS IO Unit Control */

Definition at line 521 of file mpi2.h.

#define MPI2_FUNCTION_SATA_PASSTHROUGH   (0x1C) /* SATA Passthrough */

Definition at line 522 of file mpi2.h.

#define MPI2_FUNCTION_SCSI_ENCLOSURE_PROCESSOR   (0x18) /* SCSI Enclosure Processor */

Definition at line 519 of file mpi2.h.

#define MPI2_FUNCTION_SCSI_IO_REQUEST   (0x00) /* SCSI IO */

Definition at line 502 of file mpi2.h.

#define MPI2_FUNCTION_SCSI_TASK_MGMT   (0x01) /* SCSI Task Management */

Definition at line 503 of file mpi2.h.

#define MPI2_FUNCTION_SEND_HOST_MESSAGE   (0x31)

Definition at line 533 of file mpi2.h.

#define MPI2_FUNCTION_SMP_PASSTHROUGH   (0x1A) /* SMP Passthrough */

Definition at line 520 of file mpi2.h.

#define MPI2_FUNCTION_TARGET_ASSIST   (0x0B) /* Target Assist */

Definition at line 512 of file mpi2.h.

#define MPI2_FUNCTION_TARGET_CMD_BUF_BASE_POST   (0x24) /* Target Command Buffer Post Base */

Definition at line 525 of file mpi2.h.

#define MPI2_FUNCTION_TARGET_CMD_BUF_LIST_POST   (0x25) /* Target Command Buffer Post List */

Definition at line 526 of file mpi2.h.

#define MPI2_FUNCTION_TARGET_MODE_ABORT   (0x0D) /* Target Mode Abort */

Definition at line 514 of file mpi2.h.

#define MPI2_FUNCTION_TARGET_STATUS_SEND   (0x0C) /* Target Status Send */

Definition at line 513 of file mpi2.h.

#define MPI2_FUNCTION_TOOLBOX   (0x17) /* Toolbox */

Definition at line 518 of file mpi2.h.

#define MPI2_GET_CHAIN_OFFSET (   x)    ((x & MPI2_SGE_CHAIN_OFFSET_MASK) >> MPI2_SGE_CHAIN_OFFSET_SHIFT)

Definition at line 991 of file mpi2.h.

#define MPI2_HARD_RESET_PCIE_FIRST_READ_DELAY_MICRO_SEC   (50000)

Definition at line 282 of file mpi2.h.

#define MPI2_HARD_RESET_PCIE_RESET_READ_WINDOW_MICRO_SEC   (255000)

Definition at line 283 of file mpi2.h.

#define MPI2_HARD_RESET_PCIE_SECOND_READ_DELAY_MICRO_SEC   (256000)

Definition at line 284 of file mpi2.h.

#define MPI2_HCB_ADDRESS_HIGH_OFFSET   (0x0000007C)

Definition at line 272 of file mpi2.h.

#define MPI2_HCB_ADDRESS_LOW_OFFSET   (0x00000078)

Definition at line 271 of file mpi2.h.

#define MPI2_HCB_SIZE_HCB_ENABLE   (0x00000001)

Definition at line 269 of file mpi2.h.

#define MPI2_HCB_SIZE_OFFSET   (0x00000074)

Definition at line 267 of file mpi2.h.

#define MPI2_HCB_SIZE_SIZE_MASK   (0xFFFFF000)

Definition at line 268 of file mpi2.h.

#define MPI2_HEADER_VERSION   ((MPI2_HEADER_VERSION_UNIT << 8) | MPI2_HEADER_VERSION_DEV)

Definition at line 109 of file mpi2.h.

#define MPI2_HEADER_VERSION_DEV   (0x00)

Definition at line 104 of file mpi2.h.

#define MPI2_HEADER_VERSION_DEV_MASK   (0x00FF)

Definition at line 107 of file mpi2.h.

#define MPI2_HEADER_VERSION_DEV_SHIFT   (0)

Definition at line 108 of file mpi2.h.

#define MPI2_HEADER_VERSION_UNIT   (0x19)

Definition at line 103 of file mpi2.h.

#define MPI2_HEADER_VERSION_UNIT_MASK   (0xFF00)

Definition at line 105 of file mpi2.h.

#define MPI2_HEADER_VERSION_UNIT_SHIFT   (8)

Definition at line 106 of file mpi2.h.

#define MPI2_HIM_DIM   MPI2_HIM_IOC2SYS_DB_MASK

Definition at line 243 of file mpi2.h.

#define MPI2_HIM_IOC2SYS_DB_MASK   (0x00000001)

Definition at line 242 of file mpi2.h.

#define MPI2_HIM_REPLY_INT_MASK   (0x00000008)

Definition at line 240 of file mpi2.h.

#define MPI2_HIM_RESET_IRQ_MASK   (0x40000000)

Definition at line 239 of file mpi2.h.

#define MPI2_HIM_RIM   MPI2_HIM_REPLY_INT_MASK

Definition at line 241 of file mpi2.h.

#define MPI2_HIS_DOORBELL_INTERRUPT   MPI2_HIS_IOC2SYS_DB_STATUS

Definition at line 233 of file mpi2.h.

#define MPI2_HIS_IOC2SYS_DB_STATUS   (0x00000001)

Definition at line 232 of file mpi2.h.

#define MPI2_HIS_IOP_DOORBELL_STATUS   MPI2_HIS_SYS2IOC_DB_STATUS

Definition at line 229 of file mpi2.h.

#define MPI2_HIS_REPLY_DESCRIPTOR_INTERRUPT   (0x00000008)

Definition at line 231 of file mpi2.h.

#define MPI2_HIS_RESET_IRQ_STATUS   (0x40000000)

Definition at line 230 of file mpi2.h.

#define MPI2_HIS_SYS2IOC_DB_STATUS   (0x80000000)

Definition at line 228 of file mpi2.h.

#define MPI2_HOST_DIAGNOSTIC_OFFSET   (0x00000008)

Definition at line 201 of file mpi2.h.

#define MPI2_HOST_INTERRUPT_MASK_OFFSET   (0x00000034)

Definition at line 238 of file mpi2.h.

#define MPI2_HOST_INTERRUPT_STATUS_OFFSET   (0x00000030)

Definition at line 227 of file mpi2.h.

#define MPI2_IEEE32_pSGE_GET_FLAGS (   psg)    MPI2_IEEE32_SGE_GET_FLAGS((psg)->FlagsLength)

Definition at line 1103 of file mpi2.h.

#define MPI2_IEEE32_pSGE_GET_LENGTH (   psg)    MPI2_IEEE32_SGE_LENGTH((psg)->FlagsLength)

Definition at line 1104 of file mpi2.h.

#define MPI2_IEEE32_pSGE_SET_FLAGS (   psg,
  f 
)    (psg)->FlagsLength |= MPI2_IEEE32_SGE_SET_FLAGS(f)

Definition at line 1108 of file mpi2.h.

#define MPI2_IEEE32_pSGE_SET_FLAGS_LENGTH (   psg,
  f,
  l 
)    (psg)->FlagsLength = MPI2_IEEE32_SGE_SET_FLAGS_LENGTH(f,l)

Definition at line 1105 of file mpi2.h.

#define MPI2_IEEE32_pSGE_SET_LENGTH (   psg,
  l 
)    (psg)->FlagsLength |= MPI2_IEEE32_SGE_LENGTH(l)

Definition at line 1109 of file mpi2.h.

#define MPI2_IEEE32_SGE_FLAGS_SHIFT   (24)

Definition at line 1068 of file mpi2.h.

#define MPI2_IEEE32_SGE_GET_FLAGS (   f)    (((f) & ~MPI2_IEEE32_SGE_LENGTH_MASK) >> MPI2_IEEE32_SGE_FLAGS_SHIFT)

Definition at line 1098 of file mpi2.h.

#define MPI2_IEEE32_SGE_LENGTH (   f)    ((f) & MPI2_IEEE32_SGE_LENGTH_MASK)

Definition at line 1099 of file mpi2.h.

#define MPI2_IEEE32_SGE_LENGTH_MASK   (0x00FFFFFF)

Definition at line 1070 of file mpi2.h.

#define MPI2_IEEE32_SGE_SET_FLAGS (   f)    ((U32)(f) << MPI2_IEEE32_SGE_FLAGS_SHIFT)

Definition at line 1097 of file mpi2.h.

#define MPI2_IEEE32_SGE_SET_FLAGS_LENGTH (   f,
  l 
)    (MPI2_IEEE32_SGE_SET_FLAGS(f) | MPI2_IEEE32_SGE_LENGTH(l))

Definition at line 1101 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_ADDR_MASK   (0x03)

Definition at line 1079 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_CHAIN_ELEMENT   (0x80)

Definition at line 1075 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_ELEMENT_TYPE_MASK   (0x80)

Definition at line 1066 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_IOCDDR_ADDR   (0x01)

Definition at line 1082 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_IOCPLB_ADDR   (0x02)

Definition at line 1084 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)

Definition at line 1085 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_SIMPLE_ELEMENT   (0x00)

Definition at line 1074 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_SYSTEM_ADDR   (0x00)

Definition at line 1080 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_SYSTEMPLBCPI_ADDR   (MPI2_IEEE_SGE_FLAGS_SYSTEMPLBPCI_ADDR) /* typo in name */

Definition at line 1089 of file mpi2.h.

#define MPI2_IEEE_SGE_FLAGS_SYSTEMPLBPCI_ADDR   (0x03)

Definition at line 1087 of file mpi2.h.

#define MPI2_IOC_STATE_FAULT   (0x40000000)

Definition at line 121 of file mpi2.h.

#define MPI2_IOC_STATE_MASK   (0xF0000000)

Definition at line 123 of file mpi2.h.

#define MPI2_IOC_STATE_OPERATIONAL   (0x20000000)

Definition at line 120 of file mpi2.h.

#define MPI2_IOC_STATE_READY   (0x10000000)

Definition at line 119 of file mpi2.h.

#define MPI2_IOC_STATE_RESET   (0x00000000)

Definition at line 118 of file mpi2.h.

#define MPI2_IOC_STATE_SHIFT   (28)

Definition at line 124 of file mpi2.h.

#define MPI2_IOCLOGINFO_LOG_DATA_MASK   (0x0FFFFFFF)

Definition at line 658 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_FC   (0x2)

Definition at line 655 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_ISCSI   (0x4)

Definition at line 657 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_MASK   (0xF0000000)

Definition at line 651 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_NONE   (0x0)

Definition at line 653 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_SAS   (0x3)

Definition at line 656 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_SCSI   (0x1)

Definition at line 654 of file mpi2.h.

#define MPI2_IOCLOGINFO_TYPE_SHIFT   (28)

Definition at line 652 of file mpi2.h.

#define MPI2_IOCSTATUS_BUSY   (0x0002)

Definition at line 562 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_CANT_COMMIT   (0x0025)

Definition at line 580 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_INVALID_ACTION   (0x0020)

Definition at line 575 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_INVALID_DATA   (0x0023)

Definition at line 578 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_INVALID_PAGE   (0x0022)

Definition at line 577 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_INVALID_TYPE   (0x0021)

Definition at line 576 of file mpi2.h.

#define MPI2_IOCSTATUS_CONFIG_NO_DEFAULTS   (0x0024)

Definition at line 579 of file mpi2.h.

#define MPI2_IOCSTATUS_DIAGNOSTIC_RELEASED   (0x00A0)

Definition at line 633 of file mpi2.h.

#define MPI2_IOCSTATUS_EEDP_APP_TAG_ERROR   (0x004F)

Definition at line 605 of file mpi2.h.

#define MPI2_IOCSTATUS_EEDP_GUARD_ERROR   (0x004D)

Definition at line 603 of file mpi2.h.

#define MPI2_IOCSTATUS_EEDP_REF_TAG_ERROR   (0x004E)

Definition at line 604 of file mpi2.h.

#define MPI2_IOCSTATUS_FLAG_LOG_INFO_AVAILABLE   (0x8000)

Definition at line 645 of file mpi2.h.

#define MPI2_IOCSTATUS_INSUFFICIENT_RESOURCES   (0x0006)

Definition at line 566 of file mpi2.h.

#define MPI2_IOCSTATUS_INTERNAL_ERROR   (0x0004)

Definition at line 564 of file mpi2.h.

#define MPI2_IOCSTATUS_INVALID_FIELD   (0x0007)

Definition at line 567 of file mpi2.h.

#define MPI2_IOCSTATUS_INVALID_FUNCTION   (0x0001)

Definition at line 561 of file mpi2.h.

#define MPI2_IOCSTATUS_INVALID_SGL   (0x0003)

Definition at line 563 of file mpi2.h.

#define MPI2_IOCSTATUS_INVALID_STATE   (0x0008)

Definition at line 568 of file mpi2.h.

#define MPI2_IOCSTATUS_INVALID_VPID   (0x0005)

Definition at line 565 of file mpi2.h.

#define MPI2_IOCSTATUS_MASK   (0x7FFF)

Definition at line 554 of file mpi2.h.

#define MPI2_IOCSTATUS_OP_STATE_NOT_SUPPORTED   (0x0009)

Definition at line 569 of file mpi2.h.

#define MPI2_IOCSTATUS_RAID_ACCEL_ERROR   (0x00B0)

Definition at line 639 of file mpi2.h.

#define MPI2_IOCSTATUS_SAS_SMP_DATA_OVERRUN   (0x0091)

Definition at line 627 of file mpi2.h.

#define MPI2_IOCSTATUS_SAS_SMP_REQUEST_FAILED   (0x0090)

Definition at line 626 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_DATA_OVERRUN   (0x0044)

Definition at line 589 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_DATA_UNDERRUN   (0x0045)

Definition at line 590 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_DEVICE_NOT_THERE   (0x0043)

Definition at line 588 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_EXT_TERMINATED   (0x004C)

Definition at line 597 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_INVALID_DEVHANDLE   (0x0042)

Definition at line 587 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_IO_DATA_ERROR   (0x0046)

Definition at line 591 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_IOC_TERMINATED   (0x004B)

Definition at line 596 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_PROTOCOL_ERROR   (0x0047)

Definition at line 592 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_RECOVERED_ERROR   (0x0040)

Definition at line 586 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_RESIDUAL_MISMATCH   (0x0049)

Definition at line 594 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_TASK_MGMT_FAILED   (0x004A)

Definition at line 595 of file mpi2.h.

#define MPI2_IOCSTATUS_SCSI_TASK_TERMINATED   (0x0048)

Definition at line 593 of file mpi2.h.

#define MPI2_IOCSTATUS_SUCCESS   (0x0000)

Definition at line 560 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_ABORTED   (0x0063)

Definition at line 612 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_ACK_NAK_TIMEOUT   (0x0070)

Definition at line 619 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_DATA_OFFSET_ERROR   (0x006D)

Definition at line 616 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_INVALID_IO_INDEX   (0x0062)

Definition at line 611 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_IU_TOO_SHORT   (0x006F)

Definition at line 618 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_NAK_RECEIVED   (0x0071)

Definition at line 620 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_NO_CONN_RETRYABLE   (0x0064)

Definition at line 613 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_NO_CONNECTION   (0x0065)

Definition at line 614 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_TOO_MUCH_WRITE_DATA   (0x006E)

Definition at line 617 of file mpi2.h.

#define MPI2_IOCSTATUS_TARGET_XFER_COUNT_MISMATCH   (0x006A)

Definition at line 615 of file mpi2.h.

#define MPI2_LUN_FIRST_LEVEL_ADDRESSING   (0x0000FFFF)

Definition at line 726 of file mpi2.h.

#define MPI2_LUN_FOURTH_LEVEL_ADDRESSING   (0xFFFF0000)

Definition at line 729 of file mpi2.h.

#define MPI2_LUN_LEVEL_1_DWORD   (0x0000FF00)

Definition at line 731 of file mpi2.h.

#define MPI2_LUN_LEVEL_1_WORD   (0xFF00)

Definition at line 730 of file mpi2.h.

#define MPI2_LUN_SECOND_LEVEL_ADDRESSING   (0xFFFF0000)

Definition at line 727 of file mpi2.h.

#define MPI2_LUN_THIRD_LEVEL_ADDRESSING   (0x0000FFFF)

Definition at line 728 of file mpi2.h.

#define MPI2_pSGE_GET_FLAGS (   psg)    MPI2_SGE_GET_FLAGS((psg)->FlagsLength)

Definition at line 983 of file mpi2.h.

#define MPI2_pSGE_GET_LENGTH (   psg)    MPI2_SGE_LENGTH((psg)->FlagsLength)

Definition at line 984 of file mpi2.h.

#define MPI2_pSGE_SET_FLAGS (   psg,
  f 
)    (psg)->FlagsLength |= MPI2_SGE_SET_FLAGS(f)

Definition at line 988 of file mpi2.h.

#define MPI2_pSGE_SET_FLAGS_LENGTH (   psg,
  f,
  l 
)    (psg)->FlagsLength = MPI2_SGE_SET_FLAGS_LENGTH(f,l)

Definition at line 985 of file mpi2.h.

#define MPI2_pSGE_SET_LENGTH (   psg,
  l 
)    (psg)->FlagsLength |= MPI2_SGE_LENGTH(l)

Definition at line 989 of file mpi2.h.

#define MPI2_REPLY_FREE_HOST_INDEX_OFFSET   (0x00000048)

Definition at line 254 of file mpi2.h.

#define MPI2_REPLY_POST_HOST_INDEX_MASK   (0x00FFFFFF)

Definition at line 260 of file mpi2.h.

#define MPI2_REPLY_POST_HOST_INDEX_OFFSET   (0x0000006C)

Definition at line 259 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_DEFAULT_TYPE   (0x08)

Definition at line 311 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY   (0x06)

Definition at line 310 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_IOC_FIFO_MARKER   (0x01)

Definition at line 314 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_RAID_ACCELERATOR   (0x0A)

Definition at line 312 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO   (0x00)

Definition at line 308 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_TARGET   (0x02)

Definition at line 309 of file mpi2.h.

#define MPI2_REQ_DESCRIPT_FLAGS_TYPE_MASK   (0x0E)

Definition at line 307 of file mpi2.h.

#define MPI2_REQUEST_DESCRIPTOR_POST_HIGH_OFFSET   (0x000000C4)

Definition at line 278 of file mpi2.h.

#define MPI2_REQUEST_DESCRIPTOR_POST_LOW_OFFSET   (0x000000C0)

Definition at line 277 of file mpi2.h.

#define MPI2_RPHI_MSIX_INDEX_MASK   (0xFF000000)

Definition at line 261 of file mpi2.h.

#define MPI2_RPHI_MSIX_INDEX_SHIFT   (24)

Definition at line 262 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_ADDRESS_REPLY   (0x01)

Definition at line 399 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_RAID_ACCELERATOR_SUCCESS   (0x05)

Definition at line 402 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_SCSI_IO_SUCCESS   (0x00)

Definition at line 398 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_TARGET_COMMAND_BUFFER   (0x03)

Definition at line 401 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_TARGETASSIST_SUCCESS   (0x02)

Definition at line 400 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK   (0x0F)

Definition at line 397 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_FLAGS_UNUSED   (0x0F)

Definition at line 403 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_TCB_FLAGS_PHYNUM_MASK   (0x3F)

Definition at line 466 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_UNUSED_WORD0_MARK   (0xFFFFFFFF)

Definition at line 406 of file mpi2.h.

#define MPI2_RPY_DESCRIPT_UNUSED_WORD1_MARK   (0xFFFFFFFF)

Definition at line 407 of file mpi2.h.

#define MPI2_SGE_CHAIN_LENGTH (   f)    ((f) & MPI2_SGE_CHAIN_LENGTH_MASK)

Definition at line 979 of file mpi2.h.

#define MPI2_SGE_CHAIN_LENGTH_MASK   (0x0000FFFF)

Definition at line 935 of file mpi2.h.

#define MPI2_SGE_CHAIN_OFFSET_MASK   (0x00FF0000)

Definition at line 968 of file mpi2.h.

#define MPI2_SGE_CHAIN_OFFSET_SHIFT   (16)

Definition at line 969 of file mpi2.h.

#define MPI2_SGE_FLAGS_128_BIT_CONTEXT   (0x06)

Definition at line 966 of file mpi2.h.

#define MPI2_SGE_FLAGS_32_BIT_ADDRESSING   (0x00)

Definition at line 958 of file mpi2.h.

#define MPI2_SGE_FLAGS_32_BIT_CONTEXT   (0x00)

Definition at line 963 of file mpi2.h.

#define MPI2_SGE_FLAGS_64_BIT_ADDRESSING   (0x02)

Definition at line 959 of file mpi2.h.

#define MPI2_SGE_FLAGS_64_BIT_CONTEXT   (0x02)

Definition at line 964 of file mpi2.h.

#define MPI2_SGE_FLAGS_96_BIT_CONTEXT   (0x04)

Definition at line 965 of file mpi2.h.

#define MPI2_SGE_FLAGS_ADDRESS_SIZE   (0x02)

Definition at line 929 of file mpi2.h.

#define MPI2_SGE_FLAGS_CHAIN_ELEMENT   (0x30)

Definition at line 941 of file mpi2.h.

#define MPI2_SGE_FLAGS_DEST   (MPI2_SGE_FLAGS_IOC_TO_HOST)

Definition at line 953 of file mpi2.h.

#define MPI2_SGE_FLAGS_DIRECTION   (0x04)

Definition at line 928 of file mpi2.h.

#define MPI2_SGE_FLAGS_ELEMENT_MASK   (0x30)

Definition at line 942 of file mpi2.h.

#define MPI2_SGE_FLAGS_ELEMENT_TYPE_MASK   (0x30)

Definition at line 926 of file mpi2.h.

#define MPI2_SGE_FLAGS_END_OF_BUFFER   (0x40)

Definition at line 925 of file mpi2.h.

#define MPI2_SGE_FLAGS_END_OF_LIST   (0x01)

Definition at line 930 of file mpi2.h.

#define MPI2_SGE_FLAGS_HOST_TO_IOC   (0x04)

Definition at line 951 of file mpi2.h.

#define MPI2_SGE_FLAGS_IOC_TO_HOST   (0x00)

Definition at line 950 of file mpi2.h.

#define MPI2_SGE_FLAGS_LAST_ELEMENT   (0x80)

Definition at line 924 of file mpi2.h.

#define MPI2_SGE_FLAGS_LOCAL_ADDRESS   (0x08)

Definition at line 927 of file mpi2.h.

#define MPI2_SGE_FLAGS_SHIFT   (24)

Definition at line 932 of file mpi2.h.

#define MPI2_SGE_FLAGS_SIMPLE_ELEMENT   (0x10)

Definition at line 940 of file mpi2.h.

#define MPI2_SGE_FLAGS_SOURCE   (MPI2_SGE_FLAGS_HOST_TO_IOC)

Definition at line 954 of file mpi2.h.

#define MPI2_SGE_FLAGS_SYSTEM_ADDRESS   (0x00)

Definition at line 946 of file mpi2.h.

#define MPI2_SGE_FLAGS_TRANSACTION_ELEMENT   (0x00)

Definition at line 939 of file mpi2.h.

#define MPI2_SGE_GET_FLAGS (   f)    (((f) & ~MPI2_SGE_LENGTH_MASK) >> MPI2_SGE_FLAGS_SHIFT)

Definition at line 977 of file mpi2.h.

#define MPI2_SGE_LENGTH (   f)    ((f) & MPI2_SGE_LENGTH_MASK)

Definition at line 978 of file mpi2.h.

#define MPI2_SGE_LENGTH_MASK   (0x00FFFFFF)

Definition at line 934 of file mpi2.h.

#define MPI2_SGE_SET_FLAGS (   f)    ((U32)(f) << MPI2_SGE_FLAGS_SHIFT)

Definition at line 976 of file mpi2.h.

#define MPI2_SGE_SET_FLAGS_LENGTH (   f,
  l 
)    (MPI2_SGE_SET_FLAGS(f) | MPI2_SGE_LENGTH(l))

Definition at line 981 of file mpi2.h.

#define MPI2_SGLFLAGS_ADDRESS_SPACE_MASK   (0x0C)

Definition at line 1145 of file mpi2.h.

#define MPI2_SGLFLAGS_IOCDDR_ADDRESS_SPACE   (0x04)

Definition at line 1147 of file mpi2.h.

#define MPI2_SGLFLAGS_IOCPLB_ADDRESS_SPACE   (0x08)

Definition at line 1148 of file mpi2.h.

#define MPI2_SGLFLAGS_IOCPLBNTA_ADDRESS_SPACE   (0x0C)

Definition at line 1149 of file mpi2.h.

#define MPI2_SGLFLAGS_SGL_TYPE_IEEE32   (0x01)

Definition at line 1153 of file mpi2.h.

#define MPI2_SGLFLAGS_SGL_TYPE_IEEE64   (0x02)

Definition at line 1154 of file mpi2.h.

#define MPI2_SGLFLAGS_SGL_TYPE_MASK   (0x03)

Definition at line 1151 of file mpi2.h.

#define MPI2_SGLFLAGS_SGL_TYPE_MPI   (0x00)

Definition at line 1152 of file mpi2.h.

#define MPI2_SGLFLAGS_SYSTEM_ADDRESS_SPACE   (0x00)

Definition at line 1146 of file mpi2.h.

#define MPI2_VERSION
Value:

Definition at line 97 of file mpi2.h.

#define MPI2_VERSION_02_00   (0x0200)

Definition at line 100 of file mpi2.h.

#define MPI2_VERSION_MAJOR   (0x02)

Definition at line 91 of file mpi2.h.

#define MPI2_VERSION_MAJOR_MASK   (0xFF00)

Definition at line 93 of file mpi2.h.

#define MPI2_VERSION_MAJOR_SHIFT   (8)

Definition at line 94 of file mpi2.h.

#define MPI2_VERSION_MINOR   (0x00)

Definition at line 92 of file mpi2.h.

#define MPI2_VERSION_MINOR_MASK   (0x00FF)

Definition at line 95 of file mpi2.h.

#define MPI2_VERSION_MINOR_SHIFT   (0)

Definition at line 96 of file mpi2.h.

#define MPI2_WRITE_SEQUENCE_OFFSET   (0x00000004)

Definition at line 188 of file mpi2.h.

#define MPI2_WRSEQ_1ST_KEY_VALUE   (0xF)

Definition at line 191 of file mpi2.h.

#define MPI2_WRSEQ_2ND_KEY_VALUE   (0x4)

Definition at line 192 of file mpi2.h.

#define MPI2_WRSEQ_3RD_KEY_VALUE   (0xB)

Definition at line 193 of file mpi2.h.

#define MPI2_WRSEQ_4TH_KEY_VALUE   (0x2)

Definition at line 194 of file mpi2.h.

#define MPI2_WRSEQ_5TH_KEY_VALUE   (0x7)

Definition at line 195 of file mpi2.h.

#define MPI2_WRSEQ_6TH_KEY_VALUE   (0xD)

Definition at line 196 of file mpi2.h.

#define MPI2_WRSEQ_FLUSH_KEY_VALUE   (0x0)

Definition at line 190 of file mpi2.h.

#define MPI2_WRSEQ_KEY_VALUE_MASK   (0x0000000F)

Definition at line 189 of file mpi2.h.

Typedef Documentation

Definition at line 1033 of file mpi2.h.

Definition at line 1035 of file mpi2.h.