Go to the source code of this file.
Data Structures | |||||||||
| struct | dma_channel | ||||||||
| A structure used to store hardware definition of DMA channels. More... | |||||||||
Typedefs | |||||||||
| typedef dma_channel | dma_channel_t | ||||||||
| A structure used to store hardware definition of DMA channels. | |||||||||
Functions | |||||||||
| void | dma_xfer (unsigned channel, addr_t physaddr, size_t length, bool read) | ||||||||
Set up a DMA transfer between a device and memory.
| |||||||||
| void | dma_alloc_init () | ||||||||
| Initialize the DMA memory allocator. | |||||||||
| void * | dma_phys_alloc (size_t len) | ||||||||
Return a pointer of len contiguous bytes into the DMA address space.
| |||||||||
| bool | dma_phys_free (size_t dma_start, size_t len) | ||||||||
Free the DMA memory area from dma_start to dma_start+len address.
| |||||||||
Definition in file dma.h.
|
|
A structure used to store hardware definition of DMA channels.
|
1.2.18