ReactOS 0.4.16-dev-297-gc569aee
uata_ctl.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _ADDREMOVEDEV
 
struct  _SETTRANSFERMODE
 
struct  _GETTRANSFERMODE
 
struct  _GETDRVVERSION
 
struct  _CHANINFO
 
struct  _ADAPTERINFO
 
struct  _ATA_PASS_THROUGH_DIRECT
 
struct  _IDEREGS_EX
 
struct  _UNIATA_REG_IO
 
struct  _UNIATA_REG_IO_HDR
 
struct  _UNIATA_CTL
 
struct  _SCSI_PASS_THROUGH_WITH_BUFFERS
 
struct  _SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER
 

Macros

#define AHCI_MAX_PORT   32
 
#define IDE_MAX_CHAN   16
 
#define IDE_MAX_LUN_PER_CHAN   2
 
#define IDE_MAX_LUN   (AHCI_MAX_PORT*IDE_MAX_LUN_PER_CHAN)
 
#define MAX_QUEUE_STAT   8
 
#define UNIATA_COMM_PORT_VENDOR_STR   "UNIATA " "Management Port " UNIATA_VER_STR
 
#define IOCTL_SCSI_MINIPORT_UNIATA_FIND_DEVICES   ((FILE_DEVICE_SCSI << 16) + 0x09a0)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_DELETE_DEVICE   ((FILE_DEVICE_SCSI << 16) + 0x09a1)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_SET_MAX_MODE   ((FILE_DEVICE_SCSI << 16) + 0x09a2)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_GET_MODE   ((FILE_DEVICE_SCSI << 16) + 0x09a3)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_ADAPTER_INFO   ((FILE_DEVICE_SCSI << 16) + 0x09a4)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_RESETBB   ((FILE_DEVICE_SCSI << 16) + 0x09a5)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_RESET_DEVICE   ((FILE_DEVICE_SCSI << 16) + 0x09a6)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_REG_IO   ((FILE_DEVICE_SCSI << 16) + 0x09a7)
 
#define IOCTL_SCSI_MINIPORT_UNIATA_GET_VERSION   ((FILE_DEVICE_SCSI << 16) + 0x09a8)
 
#define UNIATA_REMOVE_FLAGS_HIDE   0x01
 
#define UNIATA_ADD_FLAGS_UNHIDE   0x01
 
#define ATA_FLAGS_DRDY_REQUIRED   0x01
 
#define ATA_FLAGS_DATA_OUT   0x02
 
#define ATA_FLAGS_DATA_IN   0x04
 
#define ATA_FLAGS_48BIT_COMMAND   0x08
 
#define ATA_FLAGS_USE_DMA   0x10
 
#define ATA_FLAGS_NO_MULTIPLE   0x20
 
#define UNIATA_SPTI_EX_SND   0x00
 
#define UNIATA_SPTI_EX_RCV   0x01
 
#define UNIATA_SPTI_EX_LBA48   0x08
 
#define UNIATA_SPTI_EX_USE_DMA   0x10
 
#define UNIATA_SPTI_EX_SPEC_TO   (ATA_FLAGS_DATA_OUT | ATA_FLAGS_DATA_IN)
 

Typedefs

typedef struct _ADDREMOVEDEV ADDREMOVEDEV
 
typedef struct _ADDREMOVEDEVPADDREMOVEDEV
 
typedef struct _SETTRANSFERMODE SETTRANSFERMODE
 
typedef struct _SETTRANSFERMODEPSETTRANSFERMODE
 
typedef struct _GETTRANSFERMODE GETTRANSFERMODE
 
typedef struct _GETTRANSFERMODEPGETTRANSFERMODE
 
typedef struct _GETDRVVERSION GETDRVVERSION
 
typedef struct _GETDRVVERSIONPGETDRVVERSION
 
typedef struct _CHANINFO CHANINFO
 
typedef struct _CHANINFOPCHANINFO
 
typedef struct _ADAPTERINFO ADAPTERINFO
 
typedef struct _ADAPTERINFOPADAPTERINFO
 
typedef struct _ATA_PASS_THROUGH_DIRECT ATA_PASS_THROUGH_DIRECT
 
typedef struct _ATA_PASS_THROUGH_DIRECTPATA_PASS_THROUGH_DIRECT
 
typedef struct _IDEREGS_EX IDEREGS_EX
 
typedef struct _IDEREGS_EXPIDEREGS_EX
 
typedef struct _IDEREGS_EXLPIDEREGS_EX
 
typedef struct _UNIATA_REG_IO UNIATA_REG_IO
 
typedef struct _UNIATA_REG_IOPUNIATA_REG_IO
 
typedef struct _UNIATA_REG_IO_HDR UNIATA_REG_IO_HDR
 
typedef struct _UNIATA_REG_IO_HDRPUNIATA_REG_IO_HDR
 
typedef struct _UNIATA_CTL UNIATA_CTL
 
typedef struct _UNIATA_CTLPUNIATA_CTL
 
typedef struct _SCSI_PASS_THROUGH_WITH_BUFFERS SCSI_PASS_THROUGH_WITH_BUFFERS
 
typedef struct _SCSI_PASS_THROUGH_WITH_BUFFERSPSCSI_PASS_THROUGH_WITH_BUFFERS
 
typedef struct _SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER
 
typedef struct _SCSI_PASS_THROUGH_DIRECT_WITH_BUFFERPSCSI_PASS_THROUGH_DIRECT_WITH_BUFFER
 

Macro Definition Documentation

◆ AHCI_MAX_PORT

#define AHCI_MAX_PORT   32

Definition at line 48 of file uata_ctl.h.

◆ ATA_FLAGS_48BIT_COMMAND

#define ATA_FLAGS_48BIT_COMMAND   0x08

Definition at line 223 of file uata_ctl.h.

◆ ATA_FLAGS_DATA_IN

#define ATA_FLAGS_DATA_IN   0x04

Definition at line 222 of file uata_ctl.h.

◆ ATA_FLAGS_DATA_OUT

#define ATA_FLAGS_DATA_OUT   0x02

Definition at line 221 of file uata_ctl.h.

◆ ATA_FLAGS_DRDY_REQUIRED

#define ATA_FLAGS_DRDY_REQUIRED   0x01

Definition at line 220 of file uata_ctl.h.

◆ ATA_FLAGS_NO_MULTIPLE

#define ATA_FLAGS_NO_MULTIPLE   0x20

Definition at line 227 of file uata_ctl.h.

◆ ATA_FLAGS_USE_DMA

#define ATA_FLAGS_USE_DMA   0x10

Definition at line 226 of file uata_ctl.h.

◆ IDE_MAX_CHAN

#define IDE_MAX_CHAN   16

Definition at line 49 of file uata_ctl.h.

◆ IDE_MAX_LUN

Definition at line 52 of file uata_ctl.h.

◆ IDE_MAX_LUN_PER_CHAN

#define IDE_MAX_LUN_PER_CHAN   2

Definition at line 51 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_ADAPTER_INFO

#define IOCTL_SCSI_MINIPORT_UNIATA_ADAPTER_INFO   ((FILE_DEVICE_SCSI << 16) + 0x09a4)

Definition at line 64 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_DELETE_DEVICE

#define IOCTL_SCSI_MINIPORT_UNIATA_DELETE_DEVICE   ((FILE_DEVICE_SCSI << 16) + 0x09a1)

Definition at line 61 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_FIND_DEVICES

#define IOCTL_SCSI_MINIPORT_UNIATA_FIND_DEVICES   ((FILE_DEVICE_SCSI << 16) + 0x09a0)

Definition at line 60 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_GET_MODE

#define IOCTL_SCSI_MINIPORT_UNIATA_GET_MODE   ((FILE_DEVICE_SCSI << 16) + 0x09a3)

Definition at line 63 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_GET_VERSION

#define IOCTL_SCSI_MINIPORT_UNIATA_GET_VERSION   ((FILE_DEVICE_SCSI << 16) + 0x09a8)

Definition at line 69 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_REG_IO

#define IOCTL_SCSI_MINIPORT_UNIATA_REG_IO   ((FILE_DEVICE_SCSI << 16) + 0x09a7)

Definition at line 68 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_RESET_DEVICE

#define IOCTL_SCSI_MINIPORT_UNIATA_RESET_DEVICE   ((FILE_DEVICE_SCSI << 16) + 0x09a6)

Definition at line 67 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_RESETBB

#define IOCTL_SCSI_MINIPORT_UNIATA_RESETBB   ((FILE_DEVICE_SCSI << 16) + 0x09a5)

Definition at line 66 of file uata_ctl.h.

◆ IOCTL_SCSI_MINIPORT_UNIATA_SET_MAX_MODE

#define IOCTL_SCSI_MINIPORT_UNIATA_SET_MAX_MODE   ((FILE_DEVICE_SCSI << 16) + 0x09a2)

Definition at line 62 of file uata_ctl.h.

◆ MAX_QUEUE_STAT

#define MAX_QUEUE_STAT   8

Definition at line 54 of file uata_ctl.h.

◆ UNIATA_ADD_FLAGS_UNHIDE

#define UNIATA_ADD_FLAGS_UNHIDE   0x01

Definition at line 76 of file uata_ctl.h.

◆ UNIATA_COMM_PORT_VENDOR_STR

#define UNIATA_COMM_PORT_VENDOR_STR   "UNIATA " "Management Port " UNIATA_VER_STR

Definition at line 56 of file uata_ctl.h.

◆ UNIATA_REMOVE_FLAGS_HIDE

#define UNIATA_REMOVE_FLAGS_HIDE   0x01

Definition at line 75 of file uata_ctl.h.

◆ UNIATA_SPTI_EX_LBA48

#define UNIATA_SPTI_EX_LBA48   0x08

Definition at line 255 of file uata_ctl.h.

◆ UNIATA_SPTI_EX_RCV

#define UNIATA_SPTI_EX_RCV   0x01

Definition at line 254 of file uata_ctl.h.

◆ UNIATA_SPTI_EX_SND

#define UNIATA_SPTI_EX_SND   0x00

Definition at line 253 of file uata_ctl.h.

◆ UNIATA_SPTI_EX_SPEC_TO

#define UNIATA_SPTI_EX_SPEC_TO   (ATA_FLAGS_DATA_OUT | ATA_FLAGS_DATA_IN)

Definition at line 261 of file uata_ctl.h.

◆ UNIATA_SPTI_EX_USE_DMA

#define UNIATA_SPTI_EX_USE_DMA   0x10

Definition at line 258 of file uata_ctl.h.

Typedef Documentation

◆ ADAPTERINFO

◆ ADDREMOVEDEV

◆ ATA_PASS_THROUGH_DIRECT

◆ CHANINFO

◆ GETDRVVERSION

◆ GETTRANSFERMODE

◆ IDEREGS_EX

◆ LPIDEREGS_EX

◆ PADAPTERINFO

◆ PADDREMOVEDEV

◆ PATA_PASS_THROUGH_DIRECT

◆ PCHANINFO

◆ PGETDRVVERSION

◆ PGETTRANSFERMODE

◆ PIDEREGS_EX

◆ PSCSI_PASS_THROUGH_DIRECT_WITH_BUFFER

◆ PSCSI_PASS_THROUGH_WITH_BUFFERS

◆ PSETTRANSFERMODE

◆ PUNIATA_CTL

◆ PUNIATA_REG_IO

◆ PUNIATA_REG_IO_HDR

◆ SCSI_PASS_THROUGH_DIRECT_WITH_BUFFER

◆ SCSI_PASS_THROUGH_WITH_BUFFERS

◆ SETTRANSFERMODE

◆ UNIATA_CTL

◆ UNIATA_REG_IO

◆ UNIATA_REG_IO_HDR