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

Go to the source code of this file.

Data Structures

struct  TAG_TW_SG_Entry_ISO
 
struct  TW_Command
 
struct  TAG_TW_Command_Apache
 
struct  TAG_TW_Command_Apache_Header
 
struct  TAG_TW_Command_Full
 
struct  TAG_TW_Initconnect
 
struct  TAG_TW_Event
 
struct  TAG_TW_Ioctl_Driver_Command
 
struct  TAG_TW_Ioctl_Apache
 
struct  TW_Param_Apache
 
struct  TAG_TW_Compatibility_Info
 
struct  TAG_TW_Device_Extension
 

Macros

#define TWL_STATUS   0x0 /* Status */
 
#define TWL_HIBDB   0x20 /* Inbound doorbell */
 
#define TWL_HISTAT   0x30 /* Host interrupt status */
 
#define TWL_HIMASK   0x34 /* Host interrupt mask */
 
#define TWL_HOBDB   0x9C /* Outbound doorbell */
 
#define TWL_HOBDBC   0xA0 /* Outbound doorbell clear */
 
#define TWL_SCRPD3   0xBC /* Scratchpad */
 
#define TWL_HIBQPL   0xC0 /* Host inbound Q low */
 
#define TWL_HIBQPH   0xC4 /* Host inbound Q high */
 
#define TWL_HOBQPL   0xC8 /* Host outbound Q low */
 
#define TWL_HOBQPH   0xCC /* Host outbound Q high */
 
#define TWL_HISTATUS_VALID_INTERRUPT   0xC
 
#define TWL_HISTATUS_ATTENTION_INTERRUPT   0x4
 
#define TWL_HISTATUS_RESPONSE_INTERRUPT   0x8
 
#define TWL_STATUS_OVERRUN_SUBMIT   0x2000
 
#define TWL_ISSUE_SOFT_RESET   0x100
 
#define TWL_CONTROLLER_READY   0x2000
 
#define TWL_DOORBELL_CONTROLLER_ERROR   0x200000
 
#define TWL_DOORBELL_ATTENTION_INTERRUPT   0x40000
 
#define TWL_PULL_MODE   0x1
 
#define TW_OP_INIT_CONNECTION   0x1
 
#define TW_OP_GET_PARAM   0x12
 
#define TW_OP_SET_PARAM   0x13
 
#define TW_OP_EXECUTE_SCSI   0x10
 
#define TW_AEN_QUEUE_EMPTY   0x0000
 
#define TW_AEN_SOFT_RESET   0x0001
 
#define TW_AEN_SYNC_TIME_WITH_HOST   0x031
 
#define TW_AEN_SEVERITY_ERROR   0x1
 
#define TW_AEN_SEVERITY_DEBUG   0x4
 
#define TW_AEN_NOT_RETRIEVED   0x1
 
#define TW_S_INITIAL   0x1 /* Initial state */
 
#define TW_S_STARTED   0x2 /* Id in use */
 
#define TW_S_POSTED   0x4 /* Posted to the controller */
 
#define TW_S_COMPLETED   0x8 /* Completed by isr */
 
#define TW_S_FINISHED   0x10 /* I/O completely done */
 
#define TW_9750_ARCH_ID   10
 
#define TW_CURRENT_DRIVER_SRL   40
 
#define TW_CURRENT_DRIVER_BUILD   0
 
#define TW_CURRENT_DRIVER_BRANCH   0
 
#define TW_PHASE_INITIAL   0
 
#define TW_PHASE_SGLIST   2
 
#define TW_SECTOR_SIZE   512
 
#define TW_MAX_UNITS   32
 
#define TW_INIT_MESSAGE_CREDITS   0x100
 
#define TW_INIT_COMMAND_PACKET_SIZE   0x3
 
#define TW_INIT_COMMAND_PACKET_SIZE_EXTENDED   0x6
 
#define TW_EXTENDED_INIT_CONNECT   0x2
 
#define TW_BASE_FW_SRL   24
 
#define TW_BASE_FW_BRANCH   0
 
#define TW_BASE_FW_BUILD   1
 
#define TW_Q_LENGTH   256
 
#define TW_Q_START   0
 
#define TW_MAX_SLOT   32
 
#define TW_MAX_RESET_TRIES   2
 
#define TW_MAX_CMDS_PER_LUN   254
 
#define TW_MAX_AEN_DRAIN   255
 
#define TW_IN_RESET   2
 
#define TW_USING_MSI   3
 
#define TW_IN_ATTENTION_LOOP   4
 
#define TW_MAX_SECTORS   256
 
#define TW_MAX_CDB_LEN   16
 
#define TW_IOCTL_CHRDEV_TIMEOUT   60 /* 60 seconds */
 
#define TW_IOCTL_CHRDEV_FREE   -1
 
#define TW_COMMAND_OFFSET   128 /* 128 bytes */
 
#define TW_VERSION_TABLE   0x0402
 
#define TW_TIMEKEEP_TABLE   0x040A
 
#define TW_INFORMATION_TABLE   0x0403
 
#define TW_PARAM_FWVER   3
 
#define TW_PARAM_FWVER_LENGTH   16
 
#define TW_PARAM_BIOSVER   4
 
#define TW_PARAM_BIOSVER_LENGTH   16
 
#define TW_PARAM_MODEL   8
 
#define TW_PARAM_MODEL_LENGTH   16
 
#define TW_PARAM_PHY_SUMMARY_TABLE   1
 
#define TW_PARAM_PHYCOUNT   2
 
#define TW_PARAM_PHYCOUNT_LENGTH   1
 
#define TW_IOCTL_FIRMWARE_PASS_THROUGH   0x108
 
#define TW_ALLOCATION_LENGTH   128
 
#define TW_SENSE_DATA_LENGTH   18
 
#define TW_ERROR_LOGICAL_UNIT_NOT_SUPPORTED   0x10a
 
#define TW_ERROR_INVALID_FIELD_IN_CDB   0x10d
 
#define TW_ERROR_UNIT_OFFLINE   0x128
 
#define TW_MESSAGE_SOURCE_CONTROLLER_ERROR   3
 
#define TW_MESSAGE_SOURCE_CONTROLLER_EVENT   4
 
#define TW_DRIVER   6
 
#define PCI_DEVICE_ID_3WARE_9750   0x1010
 
#define TW_OPRES_IN(x, y)   ((x << 5) | (y & 0x1f))
 
#define TW_OP_OUT(x)   (x & 0x1f)
 
#define TW_OPSGL_IN(x, y)   ((x << 5) | (y & 0x1f))
 
#define TW_SGL_OUT(x)   ((x >> 5) & 0x7)
 
#define TW_SEV_OUT(x)   (x & 0x7)
 
#define TW_RESID_OUT(x)   ((x >> 16) & 0xffff)
 
#define TW_NOTMFA_OUT(x)   (x & 0x1)
 
#define TW_REQ_LUN_IN(lun, request_id)   (((lun << 12) & 0xf000) | (request_id & 0xfff))
 
#define TW_LUN_OUT(lun)   ((lun >> 12) & 0xf)
 
#define TWL_STATUS_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_STATUS)
 
#define TWL_HOBQPL_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HOBQPL)
 
#define TWL_HOBQPH_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HOBQPH)
 
#define TWL_HOBDB_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HOBDB)
 
#define TWL_HOBDBC_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HOBDBC)
 
#define TWL_HIMASK_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HIMASK)
 
#define TWL_HISTAT_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HISTAT)
 
#define TWL_HIBQPH_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HIBQPH)
 
#define TWL_HIBQPL_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HIBQPL)
 
#define TWL_HIBDB_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_HIBDB)
 
#define TWL_SCRPD3_REG_ADDR(x)   ((unsigned char __iomem *)x->base_addr + TWL_SCRPD3)
 
#define TWL_MASK_INTERRUPTS(x)   (writel(~0, TWL_HIMASK_REG_ADDR(tw_dev)))
 
#define TWL_UNMASK_INTERRUPTS(x)   (writel(~TWL_HISTATUS_VALID_INTERRUPT, TWL_HIMASK_REG_ADDR(tw_dev)))
 
#define TWL_CLEAR_DB_INTERRUPT(x)   (writel(~0, TWL_HOBDBC_REG_ADDR(tw_dev)))
 
#define TWL_SOFT_RESET(x)   (writel(TWL_ISSUE_SOFT_RESET, TWL_HIBDB_REG_ADDR(tw_dev)))
 
#define TW_PRINTK(h, a, b, c)
 
#define TW_MAX_LUNS   16
 
#define TW_COMMAND_SIZE   (sizeof(dma_addr_t) > 4 ? 6 : 4)
 
#define TW_LIBERATOR_MAX_SGL_LENGTH   (sizeof(dma_addr_t) > 4 ? 46 : 92)
 
#define TW_LIBERATOR_MAX_SGL_LENGTH_OLD   (sizeof(dma_addr_t) > 4 ? 47 : 94)
 
#define TW_PADDING_LENGTH_LIBERATOR   136
 
#define TW_PADDING_LENGTH_LIBERATOR_OLD   132
 
#define TW_CPU_TO_SGL(x)   (sizeof(dma_addr_t) > 4 ? cpu_to_le64(x) : cpu_to_le32(x))
 

Typedefs

typedef struct TAG_TW_SG_Entry_ISO TW_SG_Entry_ISO
 
typedef struct TW_Command TW_Command
 
typedef struct
TAG_TW_Command_Apache 
TW_Command_Apache
 
typedef struct
TAG_TW_Command_Apache_Header 
TW_Command_Apache_Header
 
typedef struct TAG_TW_Command_Full TW_Command_Full
 
typedef struct TAG_TW_Initconnect TW_Initconnect
 
typedef struct TAG_TW_Event TW_Event
 
typedef struct
TAG_TW_Ioctl_Driver_Command 
TW_Ioctl_Driver_Command
 
typedef struct TAG_TW_Ioctl_Apache TW_Ioctl_Buf_Apache
 
typedef struct
TAG_TW_Compatibility_Info 
TW_Compatibility_Info
 
typedef struct
TAG_TW_Device_Extension 
TW_Device_Extension
 

Macro Definition Documentation

#define PCI_DEVICE_ID_3WARE_9750   0x1010

Definition at line 156 of file 3w-sas.h.

#define TW_9750_ARCH_ID   10

Definition at line 101 of file 3w-sas.h.

#define TW_AEN_NOT_RETRIEVED   0x1

Definition at line 91 of file 3w-sas.h.

#define TW_AEN_QUEUE_EMPTY   0x0000

Definition at line 86 of file 3w-sas.h.

#define TW_AEN_SEVERITY_DEBUG   0x4

Definition at line 90 of file 3w-sas.h.

#define TW_AEN_SEVERITY_ERROR   0x1

Definition at line 89 of file 3w-sas.h.

#define TW_AEN_SOFT_RESET   0x0001

Definition at line 87 of file 3w-sas.h.

#define TW_AEN_SYNC_TIME_WITH_HOST   0x031

Definition at line 88 of file 3w-sas.h.

#define TW_ALLOCATION_LENGTH   128

Definition at line 147 of file 3w-sas.h.

#define TW_BASE_FW_BRANCH   0

Definition at line 118 of file 3w-sas.h.

#define TW_BASE_FW_BUILD   1

Definition at line 119 of file 3w-sas.h.

#define TW_BASE_FW_SRL   24

Definition at line 117 of file 3w-sas.h.

#define TW_COMMAND_OFFSET   128 /* 128 bytes */

Definition at line 133 of file 3w-sas.h.

#define TW_COMMAND_SIZE   (sizeof(dma_addr_t) > 4 ? 6 : 4)

Definition at line 205 of file 3w-sas.h.

#define TW_CPU_TO_SGL (   x)    (sizeof(dma_addr_t) > 4 ? cpu_to_le64(x) : cpu_to_le32(x))

Definition at line 210 of file 3w-sas.h.

#define TW_CURRENT_DRIVER_BRANCH   0

Definition at line 104 of file 3w-sas.h.

#define TW_CURRENT_DRIVER_BUILD   0

Definition at line 103 of file 3w-sas.h.

#define TW_CURRENT_DRIVER_SRL   40

Definition at line 102 of file 3w-sas.h.

#define TW_DRIVER   6

Definition at line 154 of file 3w-sas.h.

#define TW_ERROR_INVALID_FIELD_IN_CDB   0x10d

Definition at line 150 of file 3w-sas.h.

#define TW_ERROR_LOGICAL_UNIT_NOT_SUPPORTED   0x10a

Definition at line 149 of file 3w-sas.h.

#define TW_ERROR_UNIT_OFFLINE   0x128

Definition at line 151 of file 3w-sas.h.

#define TW_EXTENDED_INIT_CONNECT   0x2

Definition at line 116 of file 3w-sas.h.

#define TW_IN_ATTENTION_LOOP   4

Definition at line 128 of file 3w-sas.h.

#define TW_IN_RESET   2

Definition at line 126 of file 3w-sas.h.

#define TW_INFORMATION_TABLE   0x0403

Definition at line 136 of file 3w-sas.h.

#define TW_INIT_COMMAND_PACKET_SIZE   0x3

Definition at line 114 of file 3w-sas.h.

#define TW_INIT_COMMAND_PACKET_SIZE_EXTENDED   0x6

Definition at line 115 of file 3w-sas.h.

#define TW_INIT_MESSAGE_CREDITS   0x100

Definition at line 113 of file 3w-sas.h.

#define TW_IOCTL_CHRDEV_FREE   -1

Definition at line 132 of file 3w-sas.h.

#define TW_IOCTL_CHRDEV_TIMEOUT   60 /* 60 seconds */

Definition at line 131 of file 3w-sas.h.

#define TW_IOCTL_FIRMWARE_PASS_THROUGH   0x108

Definition at line 146 of file 3w-sas.h.

#define TW_LIBERATOR_MAX_SGL_LENGTH   (sizeof(dma_addr_t) > 4 ? 46 : 92)

Definition at line 206 of file 3w-sas.h.

#define TW_LIBERATOR_MAX_SGL_LENGTH_OLD   (sizeof(dma_addr_t) > 4 ? 47 : 94)

Definition at line 207 of file 3w-sas.h.

#define TW_LUN_OUT (   lun)    ((lun >> 12) & 0xf)

Definition at line 178 of file 3w-sas.h.

#define TW_MAX_AEN_DRAIN   255

Definition at line 125 of file 3w-sas.h.

#define TW_MAX_CDB_LEN   16

Definition at line 130 of file 3w-sas.h.

#define TW_MAX_CMDS_PER_LUN   254

Definition at line 124 of file 3w-sas.h.

#define TW_MAX_LUNS   16

Definition at line 204 of file 3w-sas.h.

#define TW_MAX_RESET_TRIES   2

Definition at line 123 of file 3w-sas.h.

#define TW_MAX_SECTORS   256

Definition at line 129 of file 3w-sas.h.

#define TW_MAX_SLOT   32

Definition at line 122 of file 3w-sas.h.

#define TW_MAX_UNITS   32

Definition at line 112 of file 3w-sas.h.

#define TW_MESSAGE_SOURCE_CONTROLLER_ERROR   3

Definition at line 152 of file 3w-sas.h.

#define TW_MESSAGE_SOURCE_CONTROLLER_EVENT   4

Definition at line 153 of file 3w-sas.h.

#define TW_NOTMFA_OUT (   x)    (x & 0x1)

Definition at line 174 of file 3w-sas.h.

#define TW_OP_EXECUTE_SCSI   0x10

Definition at line 83 of file 3w-sas.h.

#define TW_OP_GET_PARAM   0x12

Definition at line 81 of file 3w-sas.h.

#define TW_OP_INIT_CONNECTION   0x1

Definition at line 80 of file 3w-sas.h.

#define TW_OP_OUT (   x)    (x & 0x1f)

Definition at line 163 of file 3w-sas.h.

#define TW_OP_SET_PARAM   0x13

Definition at line 82 of file 3w-sas.h.

#define TW_OPRES_IN (   x,
  y 
)    ((x << 5) | (y & 0x1f))

Definition at line 162 of file 3w-sas.h.

#define TW_OPSGL_IN (   x,
  y 
)    ((x << 5) | (y & 0x1f))

Definition at line 166 of file 3w-sas.h.

#define TW_PADDING_LENGTH_LIBERATOR   136

Definition at line 208 of file 3w-sas.h.

#define TW_PADDING_LENGTH_LIBERATOR_OLD   132

Definition at line 209 of file 3w-sas.h.

#define TW_PARAM_BIOSVER   4

Definition at line 139 of file 3w-sas.h.

#define TW_PARAM_BIOSVER_LENGTH   16

Definition at line 140 of file 3w-sas.h.

#define TW_PARAM_FWVER   3

Definition at line 137 of file 3w-sas.h.

#define TW_PARAM_FWVER_LENGTH   16

Definition at line 138 of file 3w-sas.h.

#define TW_PARAM_MODEL   8

Definition at line 141 of file 3w-sas.h.

#define TW_PARAM_MODEL_LENGTH   16

Definition at line 142 of file 3w-sas.h.

#define TW_PARAM_PHY_SUMMARY_TABLE   1

Definition at line 143 of file 3w-sas.h.

#define TW_PARAM_PHYCOUNT   2

Definition at line 144 of file 3w-sas.h.

#define TW_PARAM_PHYCOUNT_LENGTH   1

Definition at line 145 of file 3w-sas.h.

#define TW_PHASE_INITIAL   0

Definition at line 107 of file 3w-sas.h.

#define TW_PHASE_SGLIST   2

Definition at line 108 of file 3w-sas.h.

#define TW_PRINTK (   h,
  a,
  b,
  c 
)
Value:
{ \
if (h) \
printk(KERN_WARNING "3w-sas: scsi%d: ERROR: (0x%02X:0x%04X): %s.\n",h->host_no,a,b,c); \
printk(KERN_WARNING "3w-sas: ERROR: (0x%02X:0x%04X): %s.\n",a,b,c); \
}

Definition at line 198 of file 3w-sas.h.

#define TW_Q_LENGTH   256

Definition at line 120 of file 3w-sas.h.

#define TW_Q_START   0

Definition at line 121 of file 3w-sas.h.

#define TW_REQ_LUN_IN (   lun,
  request_id 
)    (((lun << 12) & 0xf000) | (request_id & 0xfff))

Definition at line 177 of file 3w-sas.h.

#define TW_RESID_OUT (   x)    ((x >> 16) & 0xffff)

Definition at line 173 of file 3w-sas.h.

#define TW_S_COMPLETED   0x8 /* Completed by isr */

Definition at line 97 of file 3w-sas.h.

#define TW_S_FINISHED   0x10 /* I/O completely done */

Definition at line 98 of file 3w-sas.h.

#define TW_S_INITIAL   0x1 /* Initial state */

Definition at line 94 of file 3w-sas.h.

#define TW_S_POSTED   0x4 /* Posted to the controller */

Definition at line 96 of file 3w-sas.h.

#define TW_S_STARTED   0x2 /* Id in use */

Definition at line 95 of file 3w-sas.h.

#define TW_SECTOR_SIZE   512

Definition at line 111 of file 3w-sas.h.

#define TW_SENSE_DATA_LENGTH   18

Definition at line 148 of file 3w-sas.h.

#define TW_SEV_OUT (   x)    (x & 0x7)

Definition at line 170 of file 3w-sas.h.

#define TW_SGL_OUT (   x)    ((x >> 5) & 0x7)

Definition at line 167 of file 3w-sas.h.

#define TW_TIMEKEEP_TABLE   0x040A

Definition at line 135 of file 3w-sas.h.

#define TW_USING_MSI   3

Definition at line 127 of file 3w-sas.h.

#define TW_VERSION_TABLE   0x0402

Definition at line 134 of file 3w-sas.h.

#define TWL_CLEAR_DB_INTERRUPT (   x)    (writel(~0, TWL_HOBDBC_REG_ADDR(tw_dev)))

Definition at line 194 of file 3w-sas.h.

#define TWL_CONTROLLER_READY   0x2000

Definition at line 74 of file 3w-sas.h.

#define TWL_DOORBELL_ATTENTION_INTERRUPT   0x40000

Definition at line 76 of file 3w-sas.h.

#define TWL_DOORBELL_CONTROLLER_ERROR   0x200000

Definition at line 75 of file 3w-sas.h.

#define TWL_HIBDB   0x20 /* Inbound doorbell */

Definition at line 59 of file 3w-sas.h.

#define TWL_HIBDB_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HIBDB)

Definition at line 190 of file 3w-sas.h.

#define TWL_HIBQPH   0xC4 /* Host inbound Q high */

Definition at line 66 of file 3w-sas.h.

#define TWL_HIBQPH_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HIBQPH)

Definition at line 188 of file 3w-sas.h.

#define TWL_HIBQPL   0xC0 /* Host inbound Q low */

Definition at line 65 of file 3w-sas.h.

#define TWL_HIBQPL_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HIBQPL)

Definition at line 189 of file 3w-sas.h.

#define TWL_HIMASK   0x34 /* Host interrupt mask */

Definition at line 61 of file 3w-sas.h.

#define TWL_HIMASK_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HIMASK)

Definition at line 186 of file 3w-sas.h.

#define TWL_HISTAT   0x30 /* Host interrupt status */

Definition at line 60 of file 3w-sas.h.

#define TWL_HISTAT_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HISTAT)

Definition at line 187 of file 3w-sas.h.

#define TWL_HISTATUS_ATTENTION_INTERRUPT   0x4

Definition at line 70 of file 3w-sas.h.

#define TWL_HISTATUS_RESPONSE_INTERRUPT   0x8

Definition at line 71 of file 3w-sas.h.

#define TWL_HISTATUS_VALID_INTERRUPT   0xC

Definition at line 69 of file 3w-sas.h.

#define TWL_HOBDB   0x9C /* Outbound doorbell */

Definition at line 62 of file 3w-sas.h.

#define TWL_HOBDB_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HOBDB)

Definition at line 184 of file 3w-sas.h.

#define TWL_HOBDBC   0xA0 /* Outbound doorbell clear */

Definition at line 63 of file 3w-sas.h.

#define TWL_HOBDBC_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HOBDBC)

Definition at line 185 of file 3w-sas.h.

#define TWL_HOBQPH   0xCC /* Host outbound Q high */

Definition at line 68 of file 3w-sas.h.

#define TWL_HOBQPH_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HOBQPH)

Definition at line 183 of file 3w-sas.h.

#define TWL_HOBQPL   0xC8 /* Host outbound Q low */

Definition at line 67 of file 3w-sas.h.

#define TWL_HOBQPL_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_HOBQPL)

Definition at line 182 of file 3w-sas.h.

#define TWL_ISSUE_SOFT_RESET   0x100

Definition at line 73 of file 3w-sas.h.

#define TWL_MASK_INTERRUPTS (   x)    (writel(~0, TWL_HIMASK_REG_ADDR(tw_dev)))

Definition at line 192 of file 3w-sas.h.

#define TWL_PULL_MODE   0x1

Definition at line 77 of file 3w-sas.h.

#define TWL_SCRPD3   0xBC /* Scratchpad */

Definition at line 64 of file 3w-sas.h.

#define TWL_SCRPD3_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_SCRPD3)

Definition at line 191 of file 3w-sas.h.

#define TWL_SOFT_RESET (   x)    (writel(TWL_ISSUE_SOFT_RESET, TWL_HIBDB_REG_ADDR(tw_dev)))

Definition at line 195 of file 3w-sas.h.

#define TWL_STATUS   0x0 /* Status */

Definition at line 58 of file 3w-sas.h.

#define TWL_STATUS_OVERRUN_SUBMIT   0x2000

Definition at line 72 of file 3w-sas.h.

#define TWL_STATUS_REG_ADDR (   x)    ((unsigned char __iomem *)x->base_addr + TWL_STATUS)

Definition at line 181 of file 3w-sas.h.

#define TWL_UNMASK_INTERRUPTS (   x)    (writel(~TWL_HISTATUS_VALID_INTERRUPT, TWL_HIMASK_REG_ADDR(tw_dev)))

Definition at line 193 of file 3w-sas.h.

Typedef Documentation