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

Go to the source code of this file.

Data Structures

struct  RAID_CONTEXT
 
struct  MPI25_IEEE_SGE_CHAIN64
 
struct  MPI2_SGE_SIMPLE_UNION
 
struct  MPI2_SCSI_IO_CDB_EEDP32
 
struct  MPI2_SGE_CHAIN_UNION
 
struct  MPI2_IEEE_SGE_SIMPLE32
 
struct  MPI2_IEEE_SGE_CHAIN32
 
struct  MPI2_IEEE_SGE_SIMPLE64
 
struct  MPI2_IEEE_SGE_CHAIN64
 
union  MPI2_IEEE_SGE_SIMPLE_UNION
 
union  MPI2_IEEE_SGE_CHAIN_UNION
 
union  MPI2_SGE_IO_UNION
 
union  MPI2_SCSI_IO_CDB_UNION
 
struct  MPI2_RAID_SCSI_IO_REQUEST
 
struct  MEGASAS_RAID_MFA_IO_REQUEST_DESCRIPTOR
 
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  MEGASAS_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_IOC_INIT_REQUEST
 
struct  MR_DEV_HANDLE_INFO
 
struct  MR_ARRAY_INFO
 
struct  MR_QUAD_ELEMENT
 
struct  MR_SPAN_INFO
 
struct  MR_LD_SPAN
 
struct  MR_SPAN_BLOCK_INFO
 
struct  MR_LD_RAID
 
struct  MR_LD_SPAN_MAP
 
struct  MR_FW_RAID_MAP
 
struct  IO_REQUEST_INFO
 
struct  MR_LD_TARGET_SYNC
 
union  desc_word
 
struct  megasas_cmd_fusion
 
struct  LD_LOAD_BALANCE_INFO
 
struct  MR_FW_RAID_MAP_ALL
 
struct  fusion_context
 
union  desc_value
 

Macros

#define MEGASAS_MAX_SZ_CHAIN_FRAME   1024
 
#define MFI_FUSION_ENABLE_INTERRUPT_MASK   (0x00000009)
 
#define MEGA_MPI2_RAID_DEFAULT_IO_FRAME_SIZE   256
 
#define MEGASAS_MPI2_FUNCTION_PASSTHRU_IO_REQUEST   0xF0
 
#define MEGASAS_MPI2_FUNCTION_LD_IO_REQUEST   0xF1
 
#define MEGASAS_LOAD_BALANCE_FLAG   0x1
 
#define MEGASAS_DCMD_MBOX_PEND_FLAG   0x1
 
#define HOST_DIAG_WRITE_ENABLE   0x80
 
#define HOST_DIAG_RESET_ADAPTER   0x4
 
#define MEGASAS_FUSION_MAX_RESET_TRIES   3
 
#define MAX_MSIX_QUEUES_FUSION   16
 
#define MPI2_TYPE_CUDA   0x2
 
#define MPI25_SAS_DEVICE0_FLAGS_ENABLED_FAST_PATH   0x4000
 
#define MR_RL_FLAGS_GRANT_DESTINATION_CPU0   0x00
 
#define MR_RL_FLAGS_GRANT_DESTINATION_CPU1   0x10
 
#define MR_RL_FLAGS_GRANT_DESTINATION_CUDA   0x80
 
#define MR_RL_FLAGS_SEQ_NUM_ENABLE   0x8
 
#define MR_PROT_INFO_TYPE_CONTROLLER   0x8
 
#define MEGASAS_SCSI_VARIABLE_LENGTH_CMD   0x7f
 
#define MEGASAS_SCSI_SERVICE_ACTION_READ32   0x9
 
#define MEGASAS_SCSI_SERVICE_ACTION_WRITE32   0xB
 
#define MEGASAS_SCSI_ADDL_CDB_LEN   0x18
 
#define MEGASAS_RD_WR_PROTECT_CHECK_ALL   0x20
 
#define MEGASAS_RD_WR_PROTECT_CHECK_NONE   0x60
 
#define MEGASAS_EEDPBLOCKSIZE   512
 
#define MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT   0x4
 
#define MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_MASK   0x30
 
#define MEGASAS_REQ_DESCRIPT_FLAGS_LD_IO   0x7
 
#define MEGASAS_REQ_DESCRIPT_FLAGS_MFA   0x1
 
#define MEGASAS_REQ_DESCRIPT_FLAGS_NO_LOCK   0x2
 
#define MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT   1
 
#define MEGASAS_FP_CMD_LEN   16
 
#define MEGASAS_FUSION_IN_RESET   0
 
#define RAID_CTX_SPANARM_ARM_SHIFT   (0)
 
#define RAID_CTX_SPANARM_ARM_MASK   (0x1f)
 
#define RAID_CTX_SPANARM_SPAN_SHIFT   (5)
 
#define RAID_CTX_SPANARM_SPAN_MASK   (0xE0)
 
#define MPI2_FUNCTION_IOC_INIT   (0x02) /* IOC Init */
 
#define MPI2_WHOINIT_HOST_DRIVER   (0x04)
 
#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_HEADER_VERSION_UNIT   (0x10)
 
#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
 
#define MPI2_IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)
 
#define MPI2_SCSIIO_EEDPFLAGS_INC_PRI_REFTAG   (0x8000)
 
#define MPI2_SCSIIO_EEDPFLAGS_CHECK_REFTAG   (0x0400)
 
#define MPI2_SCSIIO_EEDPFLAGS_CHECK_REMOVE_OP   (0x0003)
 
#define MPI2_SCSIIO_EEDPFLAGS_CHECK_APPTAG   (0x0200)
 
#define MPI2_SCSIIO_EEDPFLAGS_CHECK_GUARD   (0x0100)
 
#define MPI2_SCSIIO_EEDPFLAGS_INSERT_OP   (0x0004)
 
#define MPI2_FUNCTION_SCSI_IO_REQUEST   (0x00) /* SCSI IO */
 
#define MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY   (0x06)
 
#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO   (0x00)
 
#define MPI2_SGE_FLAGS_64_BIT_ADDRESSING   (0x02)
 
#define MPI2_SCSIIO_CONTROL_WRITE   (0x01000000)
 
#define MPI2_SCSIIO_CONTROL_READ   (0x02000000)
 
#define MPI2_REQ_DESCRIPT_FLAGS_TYPE_MASK   (0x0E)
 
#define MPI2_RPY_DESCRIPT_FLAGS_UNUSED   (0x0F)
 
#define MPI2_RPY_DESCRIPT_FLAGS_SCSI_IO_SUCCESS   (0x00)
 
#define MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK   (0x0F)
 
#define MPI2_WRSEQ_FLUSH_KEY_VALUE   (0x0)
 
#define MPI2_WRITE_SEQUENCE_OFFSET   (0x00000004)
 
#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 MR_PD_INVALID   0xFFFF
 
#define MAX_SPAN_DEPTH   8
 
#define MAX_RAIDMAP_SPAN_DEPTH   (MAX_SPAN_DEPTH)
 
#define MAX_ROW_SIZE   32
 
#define MAX_RAIDMAP_ROW_SIZE   (MAX_ROW_SIZE)
 
#define MAX_LOGICAL_DRIVES   64
 
#define MAX_RAIDMAP_LOGICAL_DRIVES   (MAX_LOGICAL_DRIVES)
 
#define MAX_RAIDMAP_VIEWS   (MAX_LOGICAL_DRIVES)
 
#define MAX_ARRAYS   128
 
#define MAX_RAIDMAP_ARRAYS   (MAX_ARRAYS)
 
#define MAX_PHYSICAL_DEVICES   256
 
#define MAX_RAIDMAP_PHYSICAL_DEVICES   (MAX_PHYSICAL_DEVICES)
 
#define MR_DCMD_LD_MAP_GET_INFO   0x0300e101
 
#define IEEE_SGE_FLAGS_ADDR_MASK   (0x03)
 
#define IEEE_SGE_FLAGS_SYSTEM_ADDR   (0x00)
 
#define IEEE_SGE_FLAGS_IOCDDR_ADDR   (0x01)
 
#define IEEE_SGE_FLAGS_IOCPLB_ADDR   (0x02)
 
#define IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)
 
#define IEEE_SGE_FLAGS_CHAIN_ELEMENT   (0x80)
 
#define IEEE_SGE_FLAGS_END_OF_LIST   (0x40)
 

Enumerations

enum  MR_RAID_FLAGS_IO_SUB_TYPE { MR_RAID_FLAGS_IO_SUB_TYPE_NONE = 0, MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD = 1 }
 
enum  REGION_TYPE { REGION_TYPE_UNUSED = 0, REGION_TYPE_SHARED_READ = 1, REGION_TYPE_SHARED_WRITE = 2, REGION_TYPE_EXCLUSIVE = 3 }
 

Functions

struct MR_FW_RAID_MAP_ALL __attribute__ ((packed))
 

Variables

struct MR_FW_RAID_MAP raidMap
 
struct MR_LD_SPAN_MAP ldSpanMap [MAX_LOGICAL_DRIVES-1]
 
struct fusion_context __attribute__
 

Macro Definition Documentation

#define HOST_DIAG_RESET_ADAPTER   0x4

Definition at line 44 of file megaraid_sas_fusion.h.

#define HOST_DIAG_WRITE_ENABLE   0x80

Definition at line 43 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_ADDR_MASK   (0x03)

Definition at line 599 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_CHAIN_ELEMENT   (0x80)

Definition at line 604 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_END_OF_LIST   (0x40)

Definition at line 605 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_IOCDDR_ADDR   (0x01)

Definition at line 601 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_IOCPLB_ADDR   (0x02)

Definition at line 602 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)

Definition at line 603 of file megaraid_sas_fusion.h.

#define IEEE_SGE_FLAGS_SYSTEM_ADDR   (0x00)

Definition at line 600 of file megaraid_sas_fusion.h.

#define MAX_ARRAYS   128

Definition at line 470 of file megaraid_sas_fusion.h.

#define MAX_LOGICAL_DRIVES   64

Definition at line 467 of file megaraid_sas_fusion.h.

#define MAX_MSIX_QUEUES_FUSION   16

Definition at line 46 of file megaraid_sas_fusion.h.

#define MAX_PHYSICAL_DEVICES   256

Definition at line 472 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_ARRAYS   (MAX_ARRAYS)

Definition at line 471 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_LOGICAL_DRIVES   (MAX_LOGICAL_DRIVES)

Definition at line 468 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_PHYSICAL_DEVICES   (MAX_PHYSICAL_DEVICES)

Definition at line 473 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_ROW_SIZE   (MAX_ROW_SIZE)

Definition at line 466 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_SPAN_DEPTH   (MAX_SPAN_DEPTH)

Definition at line 464 of file megaraid_sas_fusion.h.

#define MAX_RAIDMAP_VIEWS   (MAX_LOGICAL_DRIVES)

Definition at line 469 of file megaraid_sas_fusion.h.

#define MAX_ROW_SIZE   32

Definition at line 465 of file megaraid_sas_fusion.h.

#define MAX_SPAN_DEPTH   8

Definition at line 463 of file megaraid_sas_fusion.h.

#define MEGA_MPI2_RAID_DEFAULT_IO_FRAME_SIZE   256

Definition at line 38 of file megaraid_sas_fusion.h.

#define MEGASAS_DCMD_MBOX_PEND_FLAG   0x1

Definition at line 42 of file megaraid_sas_fusion.h.

#define MEGASAS_EEDPBLOCKSIZE   512

Definition at line 64 of file megaraid_sas_fusion.h.

#define MEGASAS_FP_CMD_LEN   16

Definition at line 85 of file megaraid_sas_fusion.h.

#define MEGASAS_FUSION_IN_RESET   0

Definition at line 86 of file megaraid_sas_fusion.h.

#define MEGASAS_FUSION_MAX_RESET_TRIES   3

Definition at line 45 of file megaraid_sas_fusion.h.

#define MEGASAS_LOAD_BALANCE_FLAG   0x1

Definition at line 41 of file megaraid_sas_fusion.h.

#define MEGASAS_MAX_SZ_CHAIN_FRAME   1024

Definition at line 36 of file megaraid_sas_fusion.h.

#define MEGASAS_MPI2_FUNCTION_LD_IO_REQUEST   0xF1

Definition at line 40 of file megaraid_sas_fusion.h.

#define MEGASAS_MPI2_FUNCTION_PASSTHRU_IO_REQUEST   0xF0

Definition at line 39 of file megaraid_sas_fusion.h.

#define MEGASAS_RD_WR_PROTECT_CHECK_ALL   0x20

Definition at line 62 of file megaraid_sas_fusion.h.

#define MEGASAS_RD_WR_PROTECT_CHECK_NONE   0x60

Definition at line 63 of file megaraid_sas_fusion.h.

#define MEGASAS_REQ_DESCRIPT_FLAGS_LD_IO   0x7

Definition at line 80 of file megaraid_sas_fusion.h.

#define MEGASAS_REQ_DESCRIPT_FLAGS_MFA   0x1

Definition at line 81 of file megaraid_sas_fusion.h.

#define MEGASAS_REQ_DESCRIPT_FLAGS_NO_LOCK   0x2

Definition at line 82 of file megaraid_sas_fusion.h.

#define MEGASAS_REQ_DESCRIPT_FLAGS_TYPE_SHIFT   1

Definition at line 83 of file megaraid_sas_fusion.h.

#define MEGASAS_SCSI_ADDL_CDB_LEN   0x18

Definition at line 61 of file megaraid_sas_fusion.h.

#define MEGASAS_SCSI_SERVICE_ACTION_READ32   0x9

Definition at line 59 of file megaraid_sas_fusion.h.

#define MEGASAS_SCSI_SERVICE_ACTION_WRITE32   0xB

Definition at line 60 of file megaraid_sas_fusion.h.

#define MEGASAS_SCSI_VARIABLE_LENGTH_CMD   0x7f

Definition at line 58 of file megaraid_sas_fusion.h.

#define MFI_FUSION_ENABLE_INTERRUPT_MASK   (0x00000009)

Definition at line 37 of file megaraid_sas_fusion.h.

#define MPI25_SAS_DEVICE0_FLAGS_ENABLED_FAST_PATH   0x4000

Definition at line 50 of file megaraid_sas_fusion.h.

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

Definition at line 130 of file megaraid_sas_fusion.h.

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

Definition at line 155 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION
Value:

Definition at line 146 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_DEV   (0x00)

Definition at line 141 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_DEV_MASK   (0x00FF)

Definition at line 144 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_DEV_SHIFT   (0)

Definition at line 145 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_UNIT   (0x10)

Definition at line 140 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_UNIT_MASK   (0xFF00)

Definition at line 142 of file megaraid_sas_fusion.h.

#define MPI2_HEADER_VERSION_UNIT_SHIFT   (8)

Definition at line 143 of file megaraid_sas_fusion.h.

#define MPI2_IEEE_SGE_FLAGS_IOCPLBNTA_ADDR   (0x03)

Definition at line 148 of file megaraid_sas_fusion.h.

#define MPI2_REQ_DESCRIPT_FLAGS_HIGH_PRIORITY   (0x06)

Definition at line 156 of file megaraid_sas_fusion.h.

#define MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO   (0x00)

Definition at line 157 of file megaraid_sas_fusion.h.

#define MPI2_REQ_DESCRIPT_FLAGS_TYPE_MASK   (0x0E)

Definition at line 161 of file megaraid_sas_fusion.h.

#define MPI2_RPY_DESCRIPT_FLAGS_SCSI_IO_SUCCESS   (0x00)

Definition at line 163 of file megaraid_sas_fusion.h.

#define MPI2_RPY_DESCRIPT_FLAGS_TYPE_MASK   (0x0F)

Definition at line 164 of file megaraid_sas_fusion.h.

#define MPI2_RPY_DESCRIPT_FLAGS_UNUSED   (0x0F)

Definition at line 162 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_CONTROL_READ   (0x02000000)

Definition at line 160 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_CONTROL_WRITE   (0x01000000)

Definition at line 159 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_CHECK_APPTAG   (0x0200)

Definition at line 152 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_CHECK_GUARD   (0x0100)

Definition at line 153 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_CHECK_REFTAG   (0x0400)

Definition at line 150 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_CHECK_REMOVE_OP   (0x0003)

Definition at line 151 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_INC_PRI_REFTAG   (0x8000)

Definition at line 149 of file megaraid_sas_fusion.h.

#define MPI2_SCSIIO_EEDPFLAGS_INSERT_OP   (0x0004)

Definition at line 154 of file megaraid_sas_fusion.h.

#define MPI2_SGE_FLAGS_64_BIT_ADDRESSING   (0x02)

Definition at line 158 of file megaraid_sas_fusion.h.

#define MPI2_TYPE_CUDA   0x2

Definition at line 49 of file megaraid_sas_fusion.h.

#define MPI2_VERSION
#define MPI2_VERSION_MAJOR   (0x02)

Definition at line 132 of file megaraid_sas_fusion.h.

#define MPI2_VERSION_MAJOR_MASK   (0xFF00)

Definition at line 134 of file megaraid_sas_fusion.h.

#define MPI2_VERSION_MAJOR_SHIFT   (8)

Definition at line 135 of file megaraid_sas_fusion.h.

#define MPI2_VERSION_MINOR   (0x00)

Definition at line 133 of file megaraid_sas_fusion.h.

#define MPI2_VERSION_MINOR_MASK   (0x00FF)

Definition at line 136 of file megaraid_sas_fusion.h.

#define MPI2_VERSION_MINOR_SHIFT   (0)

Definition at line 137 of file megaraid_sas_fusion.h.

#define MPI2_WHOINIT_HOST_DRIVER   (0x04)

Definition at line 131 of file megaraid_sas_fusion.h.

#define MPI2_WRITE_SEQUENCE_OFFSET   (0x00000004)

Definition at line 166 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_1ST_KEY_VALUE   (0xF)

Definition at line 167 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_2ND_KEY_VALUE   (0x4)

Definition at line 168 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_3RD_KEY_VALUE   (0xB)

Definition at line 169 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_4TH_KEY_VALUE   (0x2)

Definition at line 170 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_5TH_KEY_VALUE   (0x7)

Definition at line 171 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_6TH_KEY_VALUE   (0xD)

Definition at line 172 of file megaraid_sas_fusion.h.

#define MPI2_WRSEQ_FLUSH_KEY_VALUE   (0x0)

Definition at line 165 of file megaraid_sas_fusion.h.

#define MR_DCMD_LD_MAP_GET_INFO   0x0300e101

Definition at line 474 of file megaraid_sas_fusion.h.

#define MR_PD_INVALID   0xFFFF

Definition at line 462 of file megaraid_sas_fusion.h.

#define MR_PROT_INFO_TYPE_CONTROLLER   0x8

Definition at line 57 of file megaraid_sas_fusion.h.

#define MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_MASK   0x30

Definition at line 71 of file megaraid_sas_fusion.h.

#define MR_RAID_CTX_RAID_FLAGS_IO_SUB_TYPE_SHIFT   0x4

Definition at line 70 of file megaraid_sas_fusion.h.

#define MR_RL_FLAGS_GRANT_DESTINATION_CPU0   0x00

Definition at line 51 of file megaraid_sas_fusion.h.

#define MR_RL_FLAGS_GRANT_DESTINATION_CPU1   0x10

Definition at line 52 of file megaraid_sas_fusion.h.

#define MR_RL_FLAGS_GRANT_DESTINATION_CUDA   0x80

Definition at line 53 of file megaraid_sas_fusion.h.

#define MR_RL_FLAGS_SEQ_NUM_ENABLE   0x8

Definition at line 54 of file megaraid_sas_fusion.h.

#define RAID_CTX_SPANARM_ARM_MASK   (0x1f)

Definition at line 114 of file megaraid_sas_fusion.h.

#define RAID_CTX_SPANARM_ARM_SHIFT   (0)

Definition at line 113 of file megaraid_sas_fusion.h.

#define RAID_CTX_SPANARM_SPAN_MASK   (0xE0)

Definition at line 117 of file megaraid_sas_fusion.h.

#define RAID_CTX_SPANARM_SPAN_SHIFT   (5)

Definition at line 116 of file megaraid_sas_fusion.h.

Enumeration Type Documentation

Enumerator:
MR_RAID_FLAGS_IO_SUB_TYPE_NONE 
MR_RAID_FLAGS_IO_SUB_TYPE_SYSTEM_PD 

Definition at line 72 of file megaraid_sas_fusion.h.

Enumerator:
REGION_TYPE_UNUSED 
REGION_TYPE_SHARED_READ 
REGION_TYPE_SHARED_WRITE 
REGION_TYPE_EXCLUSIVE 

Definition at line 122 of file megaraid_sas_fusion.h.

Function Documentation

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

Definition at line 657 of file megaraid_sas_fusion.h.

Definition at line 656 of file megaraid_sas_fusion.h.