ReactOS  0.4.14-dev-390-g34947ad
scsiport_int.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _CONFIGURATION_INFO
 
struct  _SCSI_PORT_DEVICE_BASE
 
struct  _SCSI_SG_ADDRESS
 
struct  _SCSI_REQUEST_BLOCK_INFO
 
struct  _SCSI_PORT_LUN_EXTENSION
 
struct  _SCSI_LUN_INFO
 
struct  _SCSI_BUS_SCAN_INFO
 
struct  _BUSES_CONFIGURATION_INFORMATION
 
struct  _SCSI_PORT_INTERRUPT_DATA
 
struct  _SCSI_PORT_SAVE_INTERRUPT
 
struct  _SCSI_PORT_DEVICE_EXTENSION
 
struct  _RESETBUS_PARAMS
 

Macros

#define VERSION   "0.0.3"
 
#define PAGE_ROUND_UP(x)   ( (((ULONG_PTR)x)%PAGE_SIZE) ? ((((ULONG_PTR)x)&(~(PAGE_SIZE-1)))+PAGE_SIZE) : ((ULONG_PTR)x) )
 
#define ROUND_UP(N, S)   ((((N) + (S) - 1) / (S)) * (S))
 
#define TAG_SCSIPORT   'ISCS'
 
#define LUS_NUMBER   8
 
#define MAX_SG_LIST   17
 
#define SCSI_PORT_DEVICE_BUSY   0x0001
 
#define SCSI_PORT_LU_ACTIVE   0x0002
 
#define SCSI_PORT_NOTIFICATION_NEEDED   0x0004
 
#define SCSI_PORT_NEXT_REQUEST_READY   0x0008
 
#define SCSI_PORT_FLUSH_ADAPTERS   0x0010
 
#define SCSI_PORT_MAP_TRANSFER   0x0020
 
#define SCSI_PORT_RESET   0x0080
 
#define SCSI_PORT_RESET_REQUEST   0x0100
 
#define SCSI_PORT_RESET_REPORTED   0x0200
 
#define SCSI_PORT_REQUEST_PENDING   0x0800
 
#define SCSI_PORT_DISCONNECT_ALLOWED   0x1000
 
#define SCSI_PORT_DISABLE_INT_REQUESET   0x2000
 
#define SCSI_PORT_DISABLE_INTERRUPTS   0x4000
 
#define SCSI_PORT_ENABLE_INT_REQUEST   0x8000
 
#define SCSI_PORT_TIMER_NEEDED   0x10000
 
#define LUNEX_FROZEN_QUEUE   0x0001
 
#define LUNEX_NEED_REQUEST_SENSE   0x0004
 
#define LUNEX_BUSY   0x0008
 
#define LUNEX_FULL_QUEUE   0x0010
 
#define LUNEX_REQUEST_PENDING   0x0020
 
#define SCSI_PORT_SCAN_IN_PROGRESS   0x8000
 

Typedefs

typedef enum _SCSI_PORT_TIMER_STATES SCSI_PORT_TIMER_STATES
 
typedef struct _CONFIGURATION_INFO CONFIGURATION_INFO
 
typedef struct _CONFIGURATION_INFOPCONFIGURATION_INFO
 
typedef struct _SCSI_PORT_DEVICE_BASE SCSI_PORT_DEVICE_BASE
 
typedef struct _SCSI_PORT_DEVICE_BASEPSCSI_PORT_DEVICE_BASE
 
typedef struct _SCSI_SG_ADDRESS SCSI_SG_ADDRESS
 
typedef struct _SCSI_SG_ADDRESSPSCSI_SG_ADDRESS
 
typedef struct _SCSI_REQUEST_BLOCK_INFO SCSI_REQUEST_BLOCK_INFO
 
typedef struct _SCSI_REQUEST_BLOCK_INFOPSCSI_REQUEST_BLOCK_INFO
 
typedef struct _SCSI_PORT_LUN_EXTENSION SCSI_PORT_LUN_EXTENSION
 
typedef struct _SCSI_PORT_LUN_EXTENSIONPSCSI_PORT_LUN_EXTENSION
 
typedef struct _SCSI_LUN_INFO SCSI_LUN_INFO
 
typedef struct _SCSI_LUN_INFOPSCSI_LUN_INFO
 
typedef struct _SCSI_BUS_SCAN_INFO SCSI_BUS_SCAN_INFO
 
typedef struct _SCSI_BUS_SCAN_INFOPSCSI_BUS_SCAN_INFO
 
typedef struct _BUSES_CONFIGURATION_INFORMATION BUSES_CONFIGURATION_INFORMATION
 
typedef struct _BUSES_CONFIGURATION_INFORMATIONPBUSES_CONFIGURATION_INFORMATION
 
typedef struct _SCSI_PORT_INTERRUPT_DATA SCSI_PORT_INTERRUPT_DATA
 
typedef struct _SCSI_PORT_INTERRUPT_DATAPSCSI_PORT_INTERRUPT_DATA
 
typedef struct _SCSI_PORT_SAVE_INTERRUPT SCSI_PORT_SAVE_INTERRUPT
 
typedef struct _SCSI_PORT_SAVE_INTERRUPTPSCSI_PORT_SAVE_INTERRUPT
 
typedef struct _SCSI_PORT_DEVICE_EXTENSION SCSI_PORT_DEVICE_EXTENSION
 
typedef struct _SCSI_PORT_DEVICE_EXTENSIONPSCSI_PORT_DEVICE_EXTENSION
 
typedef struct _RESETBUS_PARAMS RESETBUS_PARAMS
 
typedef struct _RESETBUS_PARAMSPRESETBUS_PARAMS
 

Enumerations

enum  _SCSI_PORT_TIMER_STATES { IDETimerIdle, IDETimerCmdWait, IDETimerResetWaitForBusyNegate, IDETimerResetWaitForDrdyAssert }
 

Macro Definition Documentation

◆ LUNEX_BUSY

#define LUNEX_BUSY   0x0008

Definition at line 46 of file scsiport_int.h.

◆ LUNEX_FROZEN_QUEUE

#define LUNEX_FROZEN_QUEUE   0x0001

Definition at line 44 of file scsiport_int.h.

◆ LUNEX_FULL_QUEUE

#define LUNEX_FULL_QUEUE   0x0010

Definition at line 47 of file scsiport_int.h.

◆ LUNEX_NEED_REQUEST_SENSE

#define LUNEX_NEED_REQUEST_SENSE   0x0004

Definition at line 45 of file scsiport_int.h.

◆ LUNEX_REQUEST_PENDING

#define LUNEX_REQUEST_PENDING   0x0020

Definition at line 48 of file scsiport_int.h.

◆ LUS_NUMBER

#define LUS_NUMBER   8

Definition at line 22 of file scsiport_int.h.

◆ MAX_SG_LIST

#define MAX_SG_LIST   17

Definition at line 24 of file scsiport_int.h.

◆ PAGE_ROUND_UP

#define PAGE_ROUND_UP (   x)    ( (((ULONG_PTR)x)%PAGE_SIZE) ? ((((ULONG_PTR)x)&(~(PAGE_SIZE-1)))+PAGE_SIZE) : ((ULONG_PTR)x) )

Definition at line 13 of file scsiport_int.h.

◆ ROUND_UP

#define ROUND_UP (   N,
  S 
)    ((((N) + (S) - 1) / (S)) * (S))

Definition at line 16 of file scsiport_int.h.

◆ SCSI_PORT_DEVICE_BUSY

#define SCSI_PORT_DEVICE_BUSY   0x0001

Definition at line 27 of file scsiport_int.h.

◆ SCSI_PORT_DISABLE_INT_REQUESET

#define SCSI_PORT_DISABLE_INT_REQUESET   0x2000

Definition at line 38 of file scsiport_int.h.

◆ SCSI_PORT_DISABLE_INTERRUPTS

#define SCSI_PORT_DISABLE_INTERRUPTS   0x4000

Definition at line 39 of file scsiport_int.h.

◆ SCSI_PORT_DISCONNECT_ALLOWED

#define SCSI_PORT_DISCONNECT_ALLOWED   0x1000

Definition at line 37 of file scsiport_int.h.

◆ SCSI_PORT_ENABLE_INT_REQUEST

#define SCSI_PORT_ENABLE_INT_REQUEST   0x8000

Definition at line 40 of file scsiport_int.h.

◆ SCSI_PORT_FLUSH_ADAPTERS

#define SCSI_PORT_FLUSH_ADAPTERS   0x0010

Definition at line 31 of file scsiport_int.h.

◆ SCSI_PORT_LU_ACTIVE

#define SCSI_PORT_LU_ACTIVE   0x0002

Definition at line 28 of file scsiport_int.h.

◆ SCSI_PORT_MAP_TRANSFER

#define SCSI_PORT_MAP_TRANSFER   0x0020

Definition at line 32 of file scsiport_int.h.

◆ SCSI_PORT_NEXT_REQUEST_READY

#define SCSI_PORT_NEXT_REQUEST_READY   0x0008

Definition at line 30 of file scsiport_int.h.

◆ SCSI_PORT_NOTIFICATION_NEEDED

#define SCSI_PORT_NOTIFICATION_NEEDED   0x0004

Definition at line 29 of file scsiport_int.h.

◆ SCSI_PORT_REQUEST_PENDING

#define SCSI_PORT_REQUEST_PENDING   0x0800

Definition at line 36 of file scsiport_int.h.

◆ SCSI_PORT_RESET

#define SCSI_PORT_RESET   0x0080

Definition at line 33 of file scsiport_int.h.

◆ SCSI_PORT_RESET_REPORTED

#define SCSI_PORT_RESET_REPORTED   0x0200

Definition at line 35 of file scsiport_int.h.

◆ SCSI_PORT_RESET_REQUEST

#define SCSI_PORT_RESET_REQUEST   0x0100

Definition at line 34 of file scsiport_int.h.

◆ SCSI_PORT_SCAN_IN_PROGRESS

#define SCSI_PORT_SCAN_IN_PROGRESS   0x8000

Definition at line 49 of file scsiport_int.h.

◆ SCSI_PORT_TIMER_NEEDED

#define SCSI_PORT_TIMER_NEEDED   0x10000

Definition at line 41 of file scsiport_int.h.

◆ TAG_SCSIPORT

#define TAG_SCSIPORT   'ISCS'

Definition at line 19 of file scsiport_int.h.

◆ VERSION

#define VERSION   "0.0.3"

Definition at line 10 of file scsiport_int.h.

Typedef Documentation

◆ BUSES_CONFIGURATION_INFORMATION

◆ CONFIGURATION_INFO

◆ PBUSES_CONFIGURATION_INFORMATION

◆ PCONFIGURATION_INFO

◆ PRESETBUS_PARAMS

◆ PSCSI_BUS_SCAN_INFO

◆ PSCSI_LUN_INFO

◆ PSCSI_PORT_DEVICE_BASE

◆ PSCSI_PORT_DEVICE_EXTENSION

◆ PSCSI_PORT_INTERRUPT_DATA

◆ PSCSI_PORT_LUN_EXTENSION

◆ PSCSI_PORT_SAVE_INTERRUPT

◆ PSCSI_REQUEST_BLOCK_INFO

◆ PSCSI_SG_ADDRESS

◆ RESETBUS_PARAMS

◆ SCSI_BUS_SCAN_INFO

◆ SCSI_LUN_INFO

◆ SCSI_PORT_DEVICE_BASE

◆ SCSI_PORT_DEVICE_EXTENSION

◆ SCSI_PORT_INTERRUPT_DATA

◆ SCSI_PORT_LUN_EXTENSION

◆ SCSI_PORT_SAVE_INTERRUPT

◆ SCSI_PORT_TIMER_STATES

◆ SCSI_REQUEST_BLOCK_INFO

◆ SCSI_SG_ADDRESS

Enumeration Type Documentation

◆ _SCSI_PORT_TIMER_STATES

Enumerator
IDETimerIdle 
IDETimerCmdWait 
IDETimerResetWaitForBusyNegate 
IDETimerResetWaitForDrdyAssert 

Definition at line 52 of file scsiport_int.h.