ReactOS 0.4.15-dev-5893-g1bb4167
|
Go to the source code of this file.
Classes | |
struct | _ACCESS_RANGE |
struct | _PORT_CONFIGURATION_INFORMATION |
struct | _PORT_CONFIGURATION_INFORMATION_NT |
struct | _PORT_CONFIGURATION_INFORMATION_2K |
struct | _PORT_CONFIGURATION_INFORMATION_COMMON |
struct | _SCSI_SUPPORTED_CONTROL_TYPE_LIST |
struct | _SCSI_REQUEST_BLOCK |
struct | _SCSI_WMI_REQUEST_BLOCK |
struct | _HW_INITIALIZATION_DATA |
struct | _HW_INITIALIZATION_DATA_2K |
struct | _HW_INITIALIZATION_DATA_COMMON |
#define CONFIG_INFO_VERSION_2 sizeof(PORT_CONFIGURATION_INFORMATION) |
#define SCSI_REQUEST_BLOCK_SIZE sizeof(SCSI_REQUEST_BLOCK) |
#define SCSIPORT_API DECLSPEC_IMPORT |
#define SRB_FLAGS_UNSPECIFIED_DIRECTION (SRB_FLAGS_DATA_IN | SRB_FLAGS_DATA_OUT) |
#define SRB_STATUS | ( | Status | ) | (Status & ~(SRB_STATUS_AUTOSENSE_VALID | SRB_STATUS_QUEUE_FROZEN)) |
typedef struct _ACCESS_RANGE ACCESS_RANGE |
typedef struct _ACCESS_RANGE * PACCESS_RANGE |
typedef SCSI_ADAPTER_CONTROL_STATUS(NTAPI * PHW_ADAPTER_CONTROL) (IN PVOID DeviceExtension, IN SCSI_ADAPTER_CONTROL_TYPE ControlType, IN PVOID Parameters) |
typedef PHYSICAL_ADDRESS * PSCSI_PHYSICAL_ADDRESS |
typedef struct _SCSI_REQUEST_BLOCK * PSCSI_REQUEST_BLOCK |
Enumerator | |
---|---|
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful | |
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful | |
ScsiAdapterControlSuccess | |
ScsiAdapterControlUnsuccessful |
Definition at line 190 of file srb.h.
Definition at line 176 of file srb.h.
Definition at line 530 of file srb.h.
SCSIPORT_API VOID __cdecl ScsiDebugPrint | ( | ULONG | DebugPrintLevel, |
PCCHAR | DebugMessage, | ||
... | |||
) |
SCSIPORT_API VOID NTAPI ScsiPortCompleteRequest | ( | IN PVOID | HwDeviceExtension, |
IN UCHAR | PathId, | ||
IN UCHAR | TargetId, | ||
IN UCHAR | Lun, | ||
IN UCHAR | SrbStatus | ||
) |
Definition at line 505 of file scsiport.c.
Referenced by AtapiResetController(), BT958HwResetBus(), and BusLogic_ProcessCompletedCCBs().
SCSIPORT_API ULONG NTAPI ScsiPortConvertPhysicalAddressToUlong | ( | SCSI_PHYSICAL_ADDRESS | Address | ) |
SCSIPORT_API SCSI_PHYSICAL_ADDRESS NTAPI ScsiPortConvertUlongToPhysicalAddress | ( | ULONG | UlongAddress | ) |
SCSIPORT_API VOID NTAPI ScsiPortFlushDma | ( | IN PVOID | DeviceExtension | ) |
Definition at line 538 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortFreeDeviceBase | ( | IN PVOID | HwDeviceExtension, |
IN PVOID | MappedAddress | ||
) |
Definition at line 547 of file scsiport.c.
Referenced by AtapiFindController(), AtapiFindIsaController(), AtapiFindNativeModeController(), AtapiFindPCIController(), and UniataChipDetect().
SCSIPORT_API ULONG NTAPI ScsiPortGetBusData | ( | IN PVOID | DeviceExtension, |
IN ULONG | BusDataType, | ||
IN ULONG | SystemIoBusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Length | ||
) |
Definition at line 556 of file scsiport.c.
Referenced by AtapiAliSouthBridgeFixup(), AtapiFindController(), AtapiFindNativeModeController(), AtapiRosbSouthBridgeFixup(), AtapiViaSouthBridgeFixup(), and FindBrokenController().
SCSIPORT_API PVOID NTAPI ScsiPortGetDeviceBase | ( | IN PVOID | HwDeviceExtension, |
IN INTERFACE_TYPE | BusType, | ||
IN ULONG | SystemIoBusNumber, | ||
IN SCSI_PHYSICAL_ADDRESS | IoAddress, | ||
IN ULONG | NumberOfBytes, | ||
IN BOOLEAN | InIoSpace | ||
) |
Definition at line 569 of file scsiport.c.
Referenced by AtapiFindController(), AtapiFindIsaController(), AtapiFindNativeModeController(), AtapiFindPCIController(), AtapiGetIoRange(), BT958HwFindAdapter(), and UniataFindBusMasterController().
SCSIPORT_API PVOID NTAPI ScsiPortGetLogicalUnit | ( | IN PVOID | HwDeviceExtension, |
IN UCHAR | PathId, | ||
IN UCHAR | TargetId, | ||
IN UCHAR | Lun | ||
) |
Definition at line 601 of file scsiport.c.
SCSIPORT_API SCSI_PHYSICAL_ADDRESS NTAPI ScsiPortGetPhysicalAddress | ( | IN PVOID | HwDeviceExtension, |
IN PSCSI_REQUEST_BLOCK | Srb, | ||
IN PVOID | VirtualAddress, | ||
OUT ULONG * | Length | ||
) |
Definition at line 614 of file scsiport.c.
Referenced by BusLogic_InitializeHostAdapter(), BusLogic_QueueCommand(), and BusLogic_WriteOutgoingMailbox().
SCSIPORT_API PSCSI_REQUEST_BLOCK NTAPI ScsiPortGetSrb | ( | IN PVOID | DeviceExtension, |
IN UCHAR | PathId, | ||
IN UCHAR | TargetId, | ||
IN UCHAR | Lun, | ||
IN LONG | QueueTag | ||
) |
Definition at line 650 of file scsiport.c.
Referenced by AtapiStartIo__(), and BT958HwStartIO().
SCSIPORT_API PVOID NTAPI ScsiPortGetUncachedExtension | ( | IN PVOID | HwDeviceExtension, |
IN PPORT_CONFIGURATION_INFORMATION | ConfigInfo, | ||
IN ULONG | NumberOfBytes | ||
) |
Definition at line 728 of file scsiport.c.
Referenced by Buslogic_InitBT958().
SCSIPORT_API PVOID NTAPI ScsiPortGetVirtualAddress | ( | IN PVOID | HwDeviceExtension, |
IN SCSI_PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 813 of file scsiport.c.
Referenced by AtapiDmaPioSync(), and BusLogic_ScanIncomingMailboxes().
SCSIPORT_API ULONG NTAPI ScsiPortInitialize | ( | IN PVOID | Argument1, |
IN PVOID | Argument2, | ||
IN struct _HW_INITIALIZATION_DATA * | HwInitializationData, | ||
IN PVOID | HwContext | ||
) |
Definition at line 836 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortIoMapTransfer | ( | IN PVOID | HwDeviceExtension, |
IN PSCSI_REQUEST_BLOCK | Srb, | ||
IN PVOID | LogicalAddress, | ||
IN ULONG | Length | ||
) |
Definition at line 1278 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortLogError | ( | IN PVOID | HwDeviceExtension, |
IN PSCSI_REQUEST_BLOCK Srb | OPTIONAL, | ||
IN UCHAR | PathId, | ||
IN UCHAR | TargetId, | ||
IN UCHAR | Lun, | ||
IN ULONG | ErrorCode, | ||
IN ULONG | UniqueId | ||
) |
Definition at line 1290 of file scsiport.c.
Referenced by AtapiStartIo(), AtapiStartIo__(), BT958HwFindAdapter(), Buslogic_InitBT958(), BusLogic_ProcessCompletedCCBs(), and MapError().
SCSIPORT_API VOID NTAPI ScsiPortMoveMemory | ( | IN PVOID | WriteBuffer, |
IN PVOID | ReadBuffer, | ||
IN ULONG | Length | ||
) |
Definition at line 1305 of file scsiport.c.
Referenced by Atapi2Scsi(), AtapiStartIo(), AtapiStartIo__(), BusLogic_QueueCommand(), and IssueIdentify().
SCSIPORT_API VOID __cdecl ScsiPortNotification | ( | IN SCSI_NOTIFICATION_TYPE | NotificationType, |
IN PVOID | HwDeviceExtension, | ||
... | |||
) |
Definition at line 1451 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortReadPortBufferUchar | ( | IN PUCHAR | Port, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 54 of file stubs.c.
SCSIPORT_API VOID NTAPI ScsiPortReadPortBufferUlong | ( | IN PULONG | Port, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 74 of file stubs.c.
SCSIPORT_API VOID NTAPI ScsiPortReadPortBufferUshort | ( | IN PUSHORT | Port, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 64 of file stubs.c.
SCSIPORT_API UCHAR NTAPI ScsiPortReadPortUchar | ( | IN PUCHAR | Port | ) |
Definition at line 1381 of file scsiport.c.
Referenced by AtapiFindController(), AtapiFindNativeModeController(), AtapiFindPCIController(), AtapiHwInitialize(), AtapiInterrupt(), FindDevices(), IdeMediaStatus(), IdeSendCommand(), IssueIdentify(), MapError(), ReadBusLogicPort(), and SetDriveParameters().
SCSIPORT_API ULONG NTAPI ScsiPortReadPortUlong | ( | IN PULONG | Port | ) |
Definition at line 1391 of file scsiport.c.
SCSIPORT_API USHORT NTAPI ScsiPortReadPortUshort | ( | IN PUSHORT | Port | ) |
Definition at line 1399 of file scsiport.c.
Referenced by AtapiSendCommand(), and IssueIdentify().
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUchar | ( | IN PUCHAR | Register, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1407 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUlong | ( | IN PULONG | Register, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1418 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUshort | ( | IN PUSHORT | Register, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1429 of file scsiport.c.
SCSIPORT_API UCHAR NTAPI ScsiPortReadRegisterUchar | ( | IN PUCHAR | Register | ) |
Definition at line 1440 of file scsiport.c.
SCSIPORT_API ULONG NTAPI ScsiPortReadRegisterUlong | ( | IN PULONG | Register | ) |
Definition at line 1448 of file scsiport.c.
SCSIPORT_API USHORT NTAPI ScsiPortReadRegisterUshort | ( | IN PUSHORT | Register | ) |
Definition at line 1456 of file scsiport.c.
SCSIPORT_API ULONG NTAPI ScsiPortSetBusDataByOffset | ( | IN PVOID | DeviceExtension, |
IN ULONG | BusDataType, | ||
IN ULONG | SystemIoBusNumber, | ||
IN ULONG | SlotNumber, | ||
IN PVOID | Buffer, | ||
IN ULONG | Offset, | ||
IN ULONG | Length | ||
) |
Definition at line 1464 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortStallExecution | ( | IN ULONG | Delay | ) |
Definition at line 1480 of file scsiport.c.
Referenced by AtapiFindController(), AtapiHwInitialize(), AtapiInterrupt(), AtapiSendCommand(), BT958HwAdapterControl(), BT958HwResetBus(), BT958HwStartIO(), BusLogic_Command(), BusLogic_HardwareResetHostAdapter(), BusLogic_TargetDeviceInquiry(), FindDevices(), IdeReadWrite(), IdeSendCommand(), IssueIdentify(), and SetDriveParameters().
SCSIPORT_API BOOLEAN NTAPI ScsiPortValidateRange | ( | IN PVOID | HwDeviceExtension, |
IN INTERFACE_TYPE | BusType, | ||
IN ULONG | SystemIoBusNumber, | ||
IN SCSI_PHYSICAL_ADDRESS | IoAddress, | ||
IN ULONG | NumberOfBytes, | ||
IN BOOLEAN | InIoSpace | ||
) |
Definition at line 1488 of file scsiport.c.
Referenced by BT958HwFindAdapter(), and UniataFindBusMasterController().
SCSIPORT_API VOID NTAPI ScsiPortWritePortBufferUchar | ( | IN PUCHAR | Port, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1508 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWritePortBufferUlong | ( | IN PULONG | Port, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1518 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWritePortBufferUshort | ( | IN PUSHORT | Port, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1528 of file scsiport.c.
Definition at line 1538 of file scsiport.c.
Referenced by AtapiFindController(), AtapiFindNativeModeController(), AtapiFindPCIController(), AtapiHwInitialize(), AtapiSendCommand(), FindDevices(), IdeMediaStatus(), IdeReadWrite(), IdeSendCommand(), IdeSendSmartCommand(), IdeVerify(), IssueIdentify(), MapError(), SetDriveParameters(), and WriteBusLogicPort().
Definition at line 1547 of file scsiport.c.
Definition at line 1556 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUchar | ( | IN PUCHAR | Register, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1565 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUlong | ( | IN PULONG | Register, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1576 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUshort | ( | IN PUSHORT | Register, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1587 of file scsiport.c.
Definition at line 1598 of file scsiport.c.
Definition at line 1607 of file scsiport.c.
Definition at line 1616 of file scsiport.c.