Linux Kernel
3.7.1
|
Data Fields | |
struct ps3_dma_region * | region |
unsigned long | lpar_addr |
unsigned long | bus_addr |
unsigned long | len |
struct list_head | link |
unsigned int | usage_count |
dma_chunk - A chunk of dma pages mapped by the io controller. - The dma region that owns this chunk. : Starting lpar address of the area to map. : Starting ioc bus address of the area to map. : Length in bytes of the area to map. A struct list_head used with struct ps3_dma_region.chunk_list, the list of all chuncks owned by the region.
This implementation uses a very simple dma page manager based on the dma_chunk structure. This scheme assumes that all drivers use very well behaved dma ops.