#define DMA_ADDRESS_WIDTH_MASK
@ DMA_KERNEL_BUFFER_ALLOC
The system allocates a contiguous buffer.
@ DMA_TO_DEVICE
memory pages are locked to be read by device
@ DMA_KBUF_BELOW_16M
If DMA_KERNEL_BUFFER_ALLOC is used, this will make sure it is under 16M.
@ DMA_ALLOW_NO_HCARD
Allow memory lock without hCard.
@ DMA_FROM_DEVICE
memory pages are locked to be written by device
@ DMA_GET_EXISTING_BUF
Get existing buffer by hDma handle.
@ DMA_ALLOW_64BIT_ADDRESS
Use this value for devices that support 64-bit DMA addressing.
@ DMA_LARGE_BUFFER
If DMA_LARGE_BUFFER is used, the maximum number of pages are dwPages, and not WD_DMA_PAGES.
@ DMA_ALLOW_CACHE
Allow caching of contiguous memory.
@ DMA_KERNEL_ONLY_MAP
Only map to kernel, dont map to user-mode.
@ DMA_KBUF_ALLOC_SPECIFY_ADDRESS_WIDTH
When using this flag, the width of the address must be entered in the fourth byte of dwOptions and th...