Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Data Structures | |
struct | TAG_TW_SG_Entry |
struct | TW_Command |
struct | TAG_TW_Ioctl |
struct | TAG_TW_New_Ioctl |
struct | TW_Param |
union | TAG_TW_Response_Queue |
struct | TAG_TW_Passthru |
struct | TAG_TW_Device_Extension |
Typedefs | |
typedef struct TAG_TW_SG_Entry | TW_SG_Entry |
typedef unsigned char | TW_Sector [512] |
typedef struct TW_Command | TW_Command |
typedef struct TAG_TW_Ioctl | TW_Ioctl |
typedef struct TAG_TW_New_Ioctl | TW_New_Ioctl |
typedef struct TW_Param * | PTW_Param |
typedef union TAG_TW_Response_Queue | TW_Response_Queue |
typedef int | TW_Cmd_State |
typedef struct TAG_TW_Passthru | TW_Passthru |
typedef struct TAG_TW_Device_Extension | TW_Device_Extension |
#define TW_CLEAR_ALL_INTERRUPTS | ( | x | ) | (outl(TW_STATUS_VALID_INTERRUPT, TW_CONTROL_REG_ADDR(x))) |
#define TW_CLEAR_ATTENTION_INTERRUPT | ( | x | ) | (outl(TW_CONTROL_CLEAR_ATTENTION_INTERRUPT, TW_CONTROL_REG_ADDR(x))) |
#define TW_CLEAR_HOST_INTERRUPT | ( | x | ) | (outl(TW_CONTROL_CLEAR_HOST_INTERRUPT, TW_CONTROL_REG_ADDR(x))) |
#define TW_DEVICE_ID2 (0x1001) /* 7000 series controller */ |
#define TW_DISABLE_INTERRUPTS | ( | x | ) | (outl(TW_CONTROL_DISABLE_INTERRUPTS, TW_CONTROL_REG_ADDR(x))) |
#define TW_DMA_MASK DMA_BIT_MASK(32) |
#define TW_ENABLE_AND_CLEAR_INTERRUPTS | ( | x | ) | (outl(TW_CONTROL_CLEAR_ATTENTION_INTERRUPT | TW_CONTROL_UNMASK_RESPONSE_INTERRUPT | TW_CONTROL_ENABLE_INTERRUPTS, TW_CONTROL_REG_ADDR(x))) |
#define TW_MASK_COMMAND_INTERRUPT | ( | x | ) | (outl(TW_CONTROL_MASK_COMMAND_INTERRUPT, TW_CONTROL_REG_ADDR(x))) |
#define TW_MAX_CMDS_PER_LUN |
#define TW_S_PENDING 0x8 /* Waiting to be posted in isr */ |
#define TW_SOFT_RESET | ( | x | ) |
#define TW_START_MASK (TW_S_STARTED | TW_S_POSTED | TW_S_PENDING | TW_S_COMPLETED) |
#define TW_STATUS_ERRORS | ( | x | ) |
#define TW_UNMASK_COMMAND_INTERRUPT | ( | x | ) | (outl(TW_CONTROL_UNMASK_COMMAND_INTERRUPT, TW_CONTROL_REG_ADDR(x))) |
typedef int TW_Cmd_State |
typedef struct TW_Command TW_Command |
typedef struct TAG_TW_Ioctl TW_Ioctl |
typedef struct TAG_TW_New_Ioctl TW_New_Ioctl |
typedef struct TAG_TW_Passthru TW_Passthru |
typedef union TAG_TW_Response_Queue TW_Response_Queue |
typedef struct TAG_TW_SG_Entry TW_SG_Entry |