ScsiPortFlushDma


VOID ScsiPortFlushDma(DeviceExtension)
IN PVOID  DeviceExtension;

Flushes any data cached in the system DMA controller at the end of a transfer and terminates a system DMA transfer.

DeviceExtension

Points to the HBA miniport driver's storage for per-adapter data.

ScsiPortFlushDma must be called after a data transfer operation is completed but before the request is completed or the next call is made to ScsiPortIoMapTransfer for this buffer. This function must be called after ScsiPortIoMapTransfer has been called even if no transfer has occurred or if the driver's HwDmaStarted function has not been called yet.

See also HwDmaStarted, ScsiPortIoMapTransfer