// srb.h
SCSIPORT_API VOID ScsiPortFlushDma(
[in] PVOID DeviceExtension
);
View the official Windows Driver Kit DDI reference
No description available.
The ScsiPortFlushDma routine flushes any data cached in the system DMA controller at the end of a transfer or terminates a system DMA transfer.
Note The SCSI port driver and SCSI miniport driver models may be altered or unavailable in the future. Instead, we recommend using the Storport driver and Storport miniport driver models.
DeviceExtension
[in]Pointer to the miniport driver's per-HBA storage area.
None
Only miniport drivers of subordinate HBAs that use a system DMA controller call this routine.
ScsiPortFlushDma must be called after a subordinate DMA transfer operation is completed but before the SRB is completed or the next call is made to ScsiPortIoMapTransfer for the current buffer.
ScsiPortFlushDma also must be called after ScsiPortIoMapTransfer to cancel a DMA operation, even if no transfer has occurred and the driver's HwScsiDmaStarted routine has not yet been called.