Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs
ida_cmd.h File Reference
#include <asm/types.h>

Go to the source code of this file.

Data Structures

struct  sg_t
 
struct  rhdr_t
 
struct  rblk_t
 
struct  chdr_t
 
struct  cmdlist
 
struct  id_ctlr_t
 
struct  drv_param_t
 
struct  id_log_drv_t
 
struct  id_log_drv_ext_t
 
struct  sense_log_drv_stat_t
 
struct  id_phys_drv_t
 
struct  blink_drv_leds_t
 
struct  sense_blink_leds_t
 
struct  config_t
 
struct  reorder_log_drv_t
 
struct  label_log_drv_t
 
struct  surf_delay_t
 
struct  overhead_delay_t
 
struct  mp_delay_t
 
struct  scsi_param_t
 

Macros

#define S42XX_REQUEST_PORT_OFFSET   0x40
 
#define S42XX_REPLY_INTR_MASK_OFFSET   0x34
 
#define S42XX_REPLY_PORT_OFFSET   0x44
 
#define S42XX_INTR_STATUS   0x30
 
#define S42XX_INTR_OFF   0x08
 
#define S42XX_INTR_PENDING   0x08
 
#define COMMAND_FIFO   0x04
 
#define COMMAND_COMPLETE_FIFO   0x08
 
#define INTR_MASK   0x0C
 
#define INTR_STATUS   0x10
 
#define INTR_PENDING   0x14
 
#define FIFO_NOT_EMPTY   0x01
 
#define FIFO_NOT_FULL   0x02
 
#define BIG_PROBLEM   0x40
 
#define LOG_NOT_CONF   2
 
#define RCODE_NONFATAL   0x02
 
#define RCODE_FATAL   0x04
 
#define RCODE_INVREQ   0x10
 
#define SG_MAX   32
 
#define CMD_RWREQ   0x00
 
#define CMD_IOCTL_PEND   0x01
 
#define CMD_IOCTL_DONE   0x02
 
#define ID_CTLR   0x11
 
#define ID_LOG_DRV   0x10
 
#define ID_LOG_DRV_EXT   0x18
 
#define SENSE_LOG_DRV_STAT   0x12
 
#define START_RECOVER   0x13
 
#define ID_PHYS_DRV   0x15
 
#define BLINK_DRV_LEDS   0x16
 
#define SENSE_BLINK_LEDS   0x17
 
#define IDA_READ   0x20
 
#define IDA_WRITE   0x30
 
#define IDA_WRITE_MEDIA   0x31
 
#define RESET_TO_DIAG   0x40
 
#define DIAG_PASS_THRU   0x41
 
#define SENSE_CONFIG   0x50
 
#define SET_CONFIG   0x51
 
#define BYPASS_VOL_STATE   0x52
 
#define SS_CREATE_VOL   0x53
 
#define CHANGE_CONFIG   0x54
 
#define SENSE_ORIG_CONF   0x55
 
#define REORDER_LOG_DRV   0x56
 
#define LABEL_LOG_DRV   0x57
 
#define SS_TO_VOL   0x58
 
#define SET_SURF_DELAY   0x60
 
#define SET_OVERHEAT_DELAY   0x61
 
#define SET_MP_DELAY
 
#define PASSTHRU_A   0x91
 
#define RESUME_BACKGROUND_ACTIVITY   0x99
 
#define SENSE_CONTROLLER_PERFORMANCE   0xa8
 
#define FLUSH_CACHE   0xc2
 
#define COLLECT_BUFFER   0xd2
 
#define READ_FLASH_ROM   0xf6
 
#define WRITE_FLASH_ROM   0xf7
 

Typedefs

typedef struct cmdlist cmdlist_t
 

Macro Definition Documentation

#define BIG_PROBLEM   0x40

Definition at line 48 of file ida_cmd.h.

#define BLINK_DRV_LEDS   0x16

Definition at line 226 of file ida_cmd.h.

#define BYPASS_VOL_STATE   0x52

Definition at line 288 of file ida_cmd.h.

#define CHANGE_CONFIG   0x54

Definition at line 290 of file ida_cmd.h.

#define CMD_IOCTL_DONE   0x02

Definition at line 85 of file ida_cmd.h.

#define CMD_IOCTL_PEND   0x01

Definition at line 84 of file ida_cmd.h.

#define CMD_RWREQ   0x00

Definition at line 83 of file ida_cmd.h.

#define COLLECT_BUFFER   0xd2

Definition at line 344 of file ida_cmd.h.

#define COMMAND_COMPLETE_FIFO   0x08

Definition at line 40 of file ida_cmd.h.

#define COMMAND_FIFO   0x04

Definition at line 39 of file ida_cmd.h.

#define DIAG_PASS_THRU   0x41

Definition at line 246 of file ida_cmd.h.

#define FIFO_NOT_EMPTY   0x01

Definition at line 45 of file ida_cmd.h.

#define FIFO_NOT_FULL   0x02

Definition at line 46 of file ida_cmd.h.

#define FLUSH_CACHE   0xc2

Definition at line 343 of file ida_cmd.h.

#define ID_CTLR   0x11

Definition at line 100 of file ida_cmd.h.

#define ID_LOG_DRV   0x10

Definition at line 153 of file ida_cmd.h.

#define ID_LOG_DRV_EXT   0x18

Definition at line 163 of file ida_cmd.h.

#define ID_PHYS_DRV   0x15

Definition at line 202 of file ida_cmd.h.

#define IDA_READ   0x20

Definition at line 242 of file ida_cmd.h.

#define IDA_WRITE   0x30

Definition at line 243 of file ida_cmd.h.

#define IDA_WRITE_MEDIA   0x31

Definition at line 244 of file ida_cmd.h.

#define INTR_MASK   0x0C

Definition at line 41 of file ida_cmd.h.

#define INTR_PENDING   0x14

Definition at line 43 of file ida_cmd.h.

#define INTR_STATUS   0x10

Definition at line 42 of file ida_cmd.h.

#define LABEL_LOG_DRV   0x57

Definition at line 297 of file ida_cmd.h.

#define LOG_NOT_CONF   2

Definition at line 49 of file ida_cmd.h.

#define PASSTHRU_A   0x91

Definition at line 321 of file ida_cmd.h.

#define RCODE_FATAL   0x04

Definition at line 58 of file ida_cmd.h.

#define RCODE_INVREQ   0x10

Definition at line 59 of file ida_cmd.h.

#define RCODE_NONFATAL   0x02

Definition at line 57 of file ida_cmd.h.

#define READ_FLASH_ROM   0xf6

Definition at line 345 of file ida_cmd.h.

#define REORDER_LOG_DRV   0x56

Definition at line 292 of file ida_cmd.h.

#define RESET_TO_DIAG   0x40

Definition at line 245 of file ida_cmd.h.

#define RESUME_BACKGROUND_ACTIVITY   0x99

Definition at line 341 of file ida_cmd.h.

#define S42XX_INTR_OFF   0x08

Definition at line 36 of file ida_cmd.h.

#define S42XX_INTR_PENDING   0x08

Definition at line 37 of file ida_cmd.h.

#define S42XX_INTR_STATUS   0x30

Definition at line 34 of file ida_cmd.h.

#define S42XX_REPLY_INTR_MASK_OFFSET   0x34

Definition at line 32 of file ida_cmd.h.

#define S42XX_REPLY_PORT_OFFSET   0x44

Definition at line 33 of file ida_cmd.h.

#define S42XX_REQUEST_PORT_OFFSET   0x40

Definition at line 31 of file ida_cmd.h.

#define SENSE_BLINK_LEDS   0x17

Definition at line 234 of file ida_cmd.h.

#define SENSE_CONFIG   0x50

Definition at line 248 of file ida_cmd.h.

#define SENSE_CONTROLLER_PERFORMANCE   0xa8

Definition at line 342 of file ida_cmd.h.

#define SENSE_LOG_DRV_STAT   0x12

Definition at line 170 of file ida_cmd.h.

#define SENSE_ORIG_CONF   0x55

Definition at line 291 of file ida_cmd.h.

#define SET_CONFIG   0x51

Definition at line 249 of file ida_cmd.h.

#define SET_MP_DELAY

Definition at line 315 of file ida_cmd.h.

#define SET_OVERHEAT_DELAY   0x61

Definition at line 310 of file ida_cmd.h.

#define SET_SURF_DELAY   0x60

Definition at line 304 of file ida_cmd.h.

#define SG_MAX   32

Definition at line 70 of file ida_cmd.h.

#define SS_CREATE_VOL   0x53

Definition at line 289 of file ida_cmd.h.

#define SS_TO_VOL   0x58

Definition at line 302 of file ida_cmd.h.

#define START_RECOVER   0x13

Definition at line 200 of file ida_cmd.h.

#define WRITE_FLASH_ROM   0xf7

Definition at line 346 of file ida_cmd.h.

Typedef Documentation