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

Go to the source code of this file.

Data Structures

struct  _MPI2_SMP_PASSTHROUGH_REQUEST
 
struct  _MPI2_SMP_PASSTHROUGH_REPLY
 
struct  _MPI2_SATA_PASSTHROUGH_REQUEST
 
struct  _MPI2_SATA_PASSTHROUGH_REPLY
 
struct  _MPI2_SAS_IOUNIT_CONTROL_REQUEST
 
struct  _MPI2_SAS_IOUNIT_CONTROL_REPLY
 

Macros

#define MPI2_SASSTATUS_SUCCESS   (0x00)
 
#define MPI2_SASSTATUS_UNKNOWN_ERROR   (0x01)
 
#define MPI2_SASSTATUS_INVALID_FRAME   (0x02)
 
#define MPI2_SASSTATUS_UTC_BAD_DEST   (0x03)
 
#define MPI2_SASSTATUS_UTC_BREAK_RECEIVED   (0x04)
 
#define MPI2_SASSTATUS_UTC_CONNECT_RATE_NOT_SUPPORTED   (0x05)
 
#define MPI2_SASSTATUS_UTC_PORT_LAYER_REQUEST   (0x06)
 
#define MPI2_SASSTATUS_UTC_PROTOCOL_NOT_SUPPORTED   (0x07)
 
#define MPI2_SASSTATUS_UTC_STP_RESOURCES_BUSY   (0x08)
 
#define MPI2_SASSTATUS_UTC_WRONG_DESTINATION   (0x09)
 
#define MPI2_SASSTATUS_SHORT_INFORMATION_UNIT   (0x0A)
 
#define MPI2_SASSTATUS_LONG_INFORMATION_UNIT   (0x0B)
 
#define MPI2_SASSTATUS_XFER_RDY_INCORRECT_WRITE_DATA   (0x0C)
 
#define MPI2_SASSTATUS_XFER_RDY_REQUEST_OFFSET_ERROR   (0x0D)
 
#define MPI2_SASSTATUS_XFER_RDY_NOT_EXPECTED   (0x0E)
 
#define MPI2_SASSTATUS_DATA_INCORRECT_DATA_LENGTH   (0x0F)
 
#define MPI2_SASSTATUS_DATA_TOO_MUCH_READ_DATA   (0x10)
 
#define MPI2_SASSTATUS_DATA_OFFSET_ERROR   (0x11)
 
#define MPI2_SASSTATUS_SDSF_NAK_RECEIVED   (0x12)
 
#define MPI2_SASSTATUS_SDSF_CONNECTION_FAILED   (0x13)
 
#define MPI2_SASSTATUS_INITIATOR_RESPONSE_TIMEOUT   (0x14)
 
#define MPI2_SAS_DEVICE_INFO_SEP   (0x00004000)
 
#define MPI2_SAS_DEVICE_INFO_ATAPI_DEVICE   (0x00002000)
 
#define MPI2_SAS_DEVICE_INFO_LSI_DEVICE   (0x00001000)
 
#define MPI2_SAS_DEVICE_INFO_DIRECT_ATTACH   (0x00000800)
 
#define MPI2_SAS_DEVICE_INFO_SSP_TARGET   (0x00000400)
 
#define MPI2_SAS_DEVICE_INFO_STP_TARGET   (0x00000200)
 
#define MPI2_SAS_DEVICE_INFO_SMP_TARGET   (0x00000100)
 
#define MPI2_SAS_DEVICE_INFO_SATA_DEVICE   (0x00000080)
 
#define MPI2_SAS_DEVICE_INFO_SSP_INITIATOR   (0x00000040)
 
#define MPI2_SAS_DEVICE_INFO_STP_INITIATOR   (0x00000020)
 
#define MPI2_SAS_DEVICE_INFO_SMP_INITIATOR   (0x00000010)
 
#define MPI2_SAS_DEVICE_INFO_SATA_HOST   (0x00000008)
 
#define MPI2_SAS_DEVICE_INFO_MASK_DEVICE_TYPE   (0x00000007)
 
#define MPI2_SAS_DEVICE_INFO_NO_DEVICE   (0x00000000)
 
#define MPI2_SAS_DEVICE_INFO_END_DEVICE   (0x00000001)
 
#define MPI2_SAS_DEVICE_INFO_EDGE_EXPANDER   (0x00000002)
 
#define MPI2_SAS_DEVICE_INFO_FANOUT_EXPANDER   (0x00000003)
 
#define MPI2_SMP_PT_REQ_PT_FLAGS_IMMEDIATE   (0x80)
 
#define MPI2_SMP_PT_REPLY_PT_FLAGS_IMMEDIATE   (0x80)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_EXECUTE_DIAG   (0x0100)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_DMA   (0x0020)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_PIO   (0x0010)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_UNSPECIFIED_VU   (0x0004)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_WRITE   (0x0002)
 
#define MPI2_SATA_PT_REQ_PT_FLAGS_READ   (0x0001)
 
#define MPI2_SAS_OP_CLEAR_ALL_PERSISTENT   (0x02)
 
#define MPI2_SAS_OP_PHY_LINK_RESET   (0x06)
 
#define MPI2_SAS_OP_PHY_HARD_RESET   (0x07)
 
#define MPI2_SAS_OP_PHY_CLEAR_ERROR_LOG   (0x08)
 
#define MPI2_SAS_OP_SEND_PRIMITIVE   (0x0A)
 
#define MPI2_SAS_OP_FORCE_FULL_DISCOVERY   (0x0B)
 
#define MPI2_SAS_OP_TRANSMIT_PORT_SELECT_SIGNAL   (0x0C)
 
#define MPI2_SAS_OP_REMOVE_DEVICE   (0x0D)
 
#define MPI2_SAS_OP_LOOKUP_MAPPING   (0x0E)
 
#define MPI2_SAS_OP_SET_IOC_PARAMETER   (0x0F)
 
#define MPI2_SAS_OP_DEV_ENABLE_NCQ   (0x14)
 
#define MPI2_SAS_OP_DEV_DISABLE_NCQ   (0x15)
 
#define MPI2_SAS_OP_PRODUCT_SPECIFIC_MIN   (0x80)
 
#define MPI2_SAS_PRIMFLAGS_SINGLE   (0x08)
 
#define MPI2_SAS_PRIMFLAGS_TRIPLE   (0x02)
 
#define MPI2_SAS_PRIMFLAGS_REDUNDANT   (0x01)
 
#define MPI2_SAS_LOOKUP_METHOD_SAS_ADDRESS   (0x01)
 
#define MPI2_SAS_LOOKUP_METHOD_SAS_ENCLOSURE_SLOT   (0x02)
 
#define MPI2_SAS_LOOKUP_METHOD_SAS_DEVICE_NAME   (0x03)
 

Typedefs

typedef struct
_MPI2_SMP_PASSTHROUGH_REQUEST 
MPI2_SMP_PASSTHROUGH_REQUEST
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REQUEST 
PTR_MPI2_SMP_PASSTHROUGH_REQUEST
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REQUEST 
Mpi2SmpPassthroughRequest_t
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REQUEST 
pMpi2SmpPassthroughRequest_t
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REPLY 
MPI2_SMP_PASSTHROUGH_REPLY
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REPLY 
PTR_MPI2_SMP_PASSTHROUGH_REPLY
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REPLY 
Mpi2SmpPassthroughReply_t
 
typedef struct
_MPI2_SMP_PASSTHROUGH_REPLY 
pMpi2SmpPassthroughReply_t
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REQUEST 
MPI2_SATA_PASSTHROUGH_REQUEST
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REQUEST 
PTR_MPI2_SATA_PASSTHROUGH_REQUEST
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REQUEST 
Mpi2SataPassthroughRequest_t
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REQUEST 
pMpi2SataPassthroughRequest_t
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REPLY 
MPI2_SATA_PASSTHROUGH_REPLY
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REPLY 
PTR_MPI2_SATA_PASSTHROUGH_REPLY
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REPLY 
Mpi2SataPassthroughReply_t
 
typedef struct
_MPI2_SATA_PASSTHROUGH_REPLY 
pMpi2SataPassthroughReply_t
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REQUEST 
MPI2_SAS_IOUNIT_CONTROL_REQUEST
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REQUEST 
PTR_MPI2_SAS_IOUNIT_CONTROL_REQUEST
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REQUEST 
Mpi2SasIoUnitControlRequest_t
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REQUEST 
pMpi2SasIoUnitControlRequest_t
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REPLY 
MPI2_SAS_IOUNIT_CONTROL_REPLY
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REPLY 
PTR_MPI2_SAS_IOUNIT_CONTROL_REPLY
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REPLY 
Mpi2SasIoUnitControlReply_t
 
typedef struct
_MPI2_SAS_IOUNIT_CONTROL_REPLY 
pMpi2SasIoUnitControlReply_t
 

Macro Definition Documentation

#define MPI2_SAS_DEVICE_INFO_ATAPI_DEVICE   (0x00002000)

Definition at line 62 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_DIRECT_ATTACH   (0x00000800)

Definition at line 64 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_EDGE_EXPANDER   (0x00000002)

Definition at line 77 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_END_DEVICE   (0x00000001)

Definition at line 76 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_FANOUT_EXPANDER   (0x00000003)

Definition at line 78 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_LSI_DEVICE   (0x00001000)

Definition at line 63 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_MASK_DEVICE_TYPE   (0x00000007)

Definition at line 74 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_NO_DEVICE   (0x00000000)

Definition at line 75 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SATA_DEVICE   (0x00000080)

Definition at line 68 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SATA_HOST   (0x00000008)

Definition at line 72 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SEP   (0x00004000)

Definition at line 61 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SMP_INITIATOR   (0x00000010)

Definition at line 71 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SMP_TARGET   (0x00000100)

Definition at line 67 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SSP_INITIATOR   (0x00000040)

Definition at line 69 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_SSP_TARGET   (0x00000400)

Definition at line 65 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_STP_INITIATOR   (0x00000020)

Definition at line 70 of file mpi2_sas.h.

#define MPI2_SAS_DEVICE_INFO_STP_TARGET   (0x00000200)

Definition at line 66 of file mpi2_sas.h.

#define MPI2_SAS_LOOKUP_METHOD_SAS_ADDRESS   (0x01)

Definition at line 260 of file mpi2_sas.h.

#define MPI2_SAS_LOOKUP_METHOD_SAS_DEVICE_NAME   (0x03)

Definition at line 262 of file mpi2_sas.h.

#define MPI2_SAS_LOOKUP_METHOD_SAS_ENCLOSURE_SLOT   (0x02)

Definition at line 261 of file mpi2_sas.h.

#define MPI2_SAS_OP_CLEAR_ALL_PERSISTENT   (0x02)

Definition at line 240 of file mpi2_sas.h.

#define MPI2_SAS_OP_DEV_DISABLE_NCQ   (0x15)

Definition at line 251 of file mpi2_sas.h.

#define MPI2_SAS_OP_DEV_ENABLE_NCQ   (0x14)

Definition at line 250 of file mpi2_sas.h.

#define MPI2_SAS_OP_FORCE_FULL_DISCOVERY   (0x0B)

Definition at line 245 of file mpi2_sas.h.

#define MPI2_SAS_OP_LOOKUP_MAPPING   (0x0E)

Definition at line 248 of file mpi2_sas.h.

#define MPI2_SAS_OP_PHY_CLEAR_ERROR_LOG   (0x08)

Definition at line 243 of file mpi2_sas.h.

#define MPI2_SAS_OP_PHY_HARD_RESET   (0x07)

Definition at line 242 of file mpi2_sas.h.

#define MPI2_SAS_OP_PHY_LINK_RESET   (0x06)

Definition at line 241 of file mpi2_sas.h.

#define MPI2_SAS_OP_PRODUCT_SPECIFIC_MIN   (0x80)

Definition at line 252 of file mpi2_sas.h.

#define MPI2_SAS_OP_REMOVE_DEVICE   (0x0D)

Definition at line 247 of file mpi2_sas.h.

#define MPI2_SAS_OP_SEND_PRIMITIVE   (0x0A)

Definition at line 244 of file mpi2_sas.h.

#define MPI2_SAS_OP_SET_IOC_PARAMETER   (0x0F)

Definition at line 249 of file mpi2_sas.h.

#define MPI2_SAS_OP_TRANSMIT_PORT_SELECT_SIGNAL   (0x0C)

Definition at line 246 of file mpi2_sas.h.

#define MPI2_SAS_PRIMFLAGS_REDUNDANT   (0x01)

Definition at line 257 of file mpi2_sas.h.

#define MPI2_SAS_PRIMFLAGS_SINGLE   (0x08)

Definition at line 255 of file mpi2_sas.h.

#define MPI2_SAS_PRIMFLAGS_TRIPLE   (0x02)

Definition at line 256 of file mpi2_sas.h.

#define MPI2_SASSTATUS_DATA_INCORRECT_DATA_LENGTH   (0x0F)

Definition at line 49 of file mpi2_sas.h.

#define MPI2_SASSTATUS_DATA_OFFSET_ERROR   (0x11)

Definition at line 51 of file mpi2_sas.h.

#define MPI2_SASSTATUS_DATA_TOO_MUCH_READ_DATA   (0x10)

Definition at line 50 of file mpi2_sas.h.

#define MPI2_SASSTATUS_INITIATOR_RESPONSE_TIMEOUT   (0x14)

Definition at line 54 of file mpi2_sas.h.

#define MPI2_SASSTATUS_INVALID_FRAME   (0x02)

Definition at line 36 of file mpi2_sas.h.

#define MPI2_SASSTATUS_LONG_INFORMATION_UNIT   (0x0B)

Definition at line 45 of file mpi2_sas.h.

#define MPI2_SASSTATUS_SDSF_CONNECTION_FAILED   (0x13)

Definition at line 53 of file mpi2_sas.h.

#define MPI2_SASSTATUS_SDSF_NAK_RECEIVED   (0x12)

Definition at line 52 of file mpi2_sas.h.

#define MPI2_SASSTATUS_SHORT_INFORMATION_UNIT   (0x0A)

Definition at line 44 of file mpi2_sas.h.

#define MPI2_SASSTATUS_SUCCESS   (0x00)

Definition at line 34 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UNKNOWN_ERROR   (0x01)

Definition at line 35 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_BAD_DEST   (0x03)

Definition at line 37 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_BREAK_RECEIVED   (0x04)

Definition at line 38 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_CONNECT_RATE_NOT_SUPPORTED   (0x05)

Definition at line 39 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_PORT_LAYER_REQUEST   (0x06)

Definition at line 40 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_PROTOCOL_NOT_SUPPORTED   (0x07)

Definition at line 41 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_STP_RESOURCES_BUSY   (0x08)

Definition at line 42 of file mpi2_sas.h.

#define MPI2_SASSTATUS_UTC_WRONG_DESTINATION   (0x09)

Definition at line 43 of file mpi2_sas.h.

#define MPI2_SASSTATUS_XFER_RDY_INCORRECT_WRITE_DATA   (0x0C)

Definition at line 46 of file mpi2_sas.h.

#define MPI2_SASSTATUS_XFER_RDY_NOT_EXPECTED   (0x0E)

Definition at line 48 of file mpi2_sas.h.

#define MPI2_SASSTATUS_XFER_RDY_REQUEST_OFFSET_ERROR   (0x0D)

Definition at line 47 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_DMA   (0x0020)

Definition at line 173 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_EXECUTE_DIAG   (0x0100)

Definition at line 172 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_PIO   (0x0010)

Definition at line 174 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_READ   (0x0001)

Definition at line 177 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_UNSPECIFIED_VU   (0x0004)

Definition at line 175 of file mpi2_sas.h.

#define MPI2_SATA_PT_REQ_PT_FLAGS_WRITE   (0x0002)

Definition at line 176 of file mpi2_sas.h.

#define MPI2_SMP_PT_REPLY_PT_FLAGS_IMMEDIATE   (0x80)

Definition at line 141 of file mpi2_sas.h.

#define MPI2_SMP_PT_REQ_PT_FLAGS_IMMEDIATE   (0x80)

Definition at line 113 of file mpi2_sas.h.

Typedef Documentation