Bewerken

Delen via


wdfdmaenabler.h header

This header is used by wdf. For more information, see:

wdfdmaenabler.h contains the following programming interfaces:

Functions

 
WDF_DMA_ENABLER_CONFIG_INIT

The WDF_DMA_ENABLER_CONFIG_INIT function initializes a driver's WDF_DMA_ENABLER_CONFIG structure.
WDF_DMA_SYSTEM_PROFILE_CONFIG_INIT

The WDF_DMA_SYSTEM_PROFILE_CONFIG_INIT function initializes a driver's WDF_DMA_SYSTEM_PROFILE_CONFIG structure.
WdfDmaEnablerConfigureSystemProfile

The WdfDmaEnablerConfigureSystemProfile method configures the hardware-specific settings for a system-mode DMA enabler and completes the resource initialization.
WdfDmaEnablerCreate

The WdfDmaEnablerCreate method creates a DMA enabler object.
WdfDmaEnablerGetFragmentLength

The WdfDmaEnablerGetFragmentLength method returns the maximum transfer length that the operating system supports for a single DMA transfer.
WdfDmaEnablerGetMaximumLength

The WdfDmaEnablerGetMaximumLength method returns the maximum transfer length, for a single DMA transfer, that a device supports.
WdfDmaEnablerGetMaximumScatterGatherElements

The WdfDmaEnablerGetMaximumScatterGatherElements method returns the maximum number of scatter/gather elements that the device and driver support, for a specified DMA enabler object.
WdfDmaEnablerSetMaximumScatterGatherElements

The WdfDmaEnablerSetMaximumScatterGatherElements method sets the maximum number of scatter/gather elements that a device supports, for a specified DMA enabler object.
WdfDmaEnablerWdmGetDmaAdapter

The WdfDmaEnablerWdmGetDmaAdapter method returns a pointer to a WDM DMA_ADAPTER structure that is associated with a DMA enabler object.

Callback functions

 
EVT_WDF_DMA_ENABLER_DISABLE

A driver's EvtDmaEnablerDisable event callback function disables a device's DMA capability before the device leaves its working (D0) state.
EVT_WDF_DMA_ENABLER_ENABLE

A driver's EvtDmaEnablerEnable event callback function enables a device's DMA capability after the device enters its working (D0) state.
EVT_WDF_DMA_ENABLER_FILL

A driver's EvtDmaEnablerFill event callback function allocates a device's DMA buffers.
EVT_WDF_DMA_ENABLER_FLUSH

A driver's EvtDmaEnablerFlush event callback function deallocates a device's DMA buffers.
EVT_WDF_DMA_ENABLER_SELFMANAGED_IO_START

A driver's EvtDmaEnablerSelfManagedIoStart event callback function starts a DMA device's self-managed I/O operations.
EVT_WDF_DMA_ENABLER_SELFMANAGED_IO_STOP

A driver's EvtDmaEnablerSelfManagedIoStop event callback function stops a DMA device's self-managed I/O operations.

Structures

 
WDF_DMA_ENABLER_CONFIG

The WDF_DMA_ENABLER_CONFIG structure supplies characteristics for a DMA enabler object.
WDF_DMA_SYSTEM_PROFILE_CONFIG

The WDF_DMA_SYSTEM_PROFILE_CONFIG structure describes the hardware-specific settings related to a system-mode DMA enabler.

Enumerations

 
WDF_DMA_DIRECTION

The WDF_DMA_DIRECTION enumeration defines the direction of a DMA transfer.
WDF_DMA_ENABLER_CONFIG_FLAGS

The WDF_DMA_ENABLER_CONFIG_FLAGS enumeration type defines flags that are used in a driver's WDF_DMA_ENABLER_CONFIG structure.
WDF_DMA_PROFILE

The WDF_DMA_PROFILE enumeration identifies the types of bus-master or system-mode DMA operations that devices can support.