ReactOS
0.4.15-dev-2354-g9e947e2
|
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 522 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 498 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 531 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortFreeDeviceBase | ( | IN PVOID | HwDeviceExtension, |
IN PVOID | MappedAddress | ||
) |
Definition at line 540 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 549 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 562 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 594 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 607 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 | ||
) |
SCSIPORT_API PVOID NTAPI ScsiPortGetUncachedExtension | ( | IN PVOID | HwDeviceExtension, |
IN PPORT_CONFIGURATION_INFORMATION | ConfigInfo, | ||
IN ULONG | NumberOfBytes | ||
) |
Definition at line 721 of file scsiport.c.
Referenced by Buslogic_InitBT958().
SCSIPORT_API PVOID NTAPI ScsiPortGetVirtualAddress | ( | IN PVOID | HwDeviceExtension, |
IN SCSI_PHYSICAL_ADDRESS | PhysicalAddress | ||
) |
Definition at line 806 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 1271 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 1283 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 1298 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 1453 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 1374 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 1384 of file scsiport.c.
SCSIPORT_API USHORT NTAPI ScsiPortReadPortUshort | ( | IN PUSHORT | Port | ) |
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUchar | ( | IN PUCHAR | Register, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1400 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUlong | ( | IN PULONG | Register, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1411 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortReadRegisterBufferUshort | ( | IN PUSHORT | Register, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1422 of file scsiport.c.
SCSIPORT_API UCHAR NTAPI ScsiPortReadRegisterUchar | ( | IN PUCHAR | Register | ) |
Definition at line 1433 of file scsiport.c.
SCSIPORT_API ULONG NTAPI ScsiPortReadRegisterUlong | ( | IN PULONG | Register | ) |
Definition at line 1441 of file scsiport.c.
SCSIPORT_API USHORT NTAPI ScsiPortReadRegisterUshort | ( | IN PUSHORT | Register | ) |
Definition at line 1449 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 1457 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortStallExecution | ( | IN ULONG | Delay | ) |
Definition at line 1473 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 1481 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 1501 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWritePortBufferUlong | ( | IN PULONG | Port, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1511 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWritePortBufferUshort | ( | IN PUSHORT | Port, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1521 of file scsiport.c.
Definition at line 1531 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 1540 of file scsiport.c.
Definition at line 1549 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUchar | ( | IN PUCHAR | Register, |
IN PUCHAR | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1558 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUlong | ( | IN PULONG | Register, |
IN PULONG | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1569 of file scsiport.c.
SCSIPORT_API VOID NTAPI ScsiPortWriteRegisterBufferUshort | ( | IN PUSHORT | Register, |
IN PUSHORT | Buffer, | ||
IN ULONG | Count | ||
) |
Definition at line 1580 of file scsiport.c.
Definition at line 1591 of file scsiport.c.
Definition at line 1600 of file scsiport.c.
Definition at line 1609 of file scsiport.c.