Linux Kernel
3.7.1
|
#include <dma-mapping.h>
Definition at line 11 of file dma-mapping.h.
void*(* alloc)(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs) |
Definition at line 12 of file dma-mapping.h.
void(* free)(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs) |
Definition at line 15 of file dma-mapping.h.
int(* get_sgtable)(struct device *dev, struct sg_table *sgt, void *, dma_addr_t, size_t, struct dma_attrs *attrs) |
Definition at line 21 of file dma-mapping.h.
int is_phys |
Definition at line 56 of file dma-mapping.h.
dma_addr_t(* map_page)(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) |
Definition at line 24 of file dma-mapping.h.
int(* map_sg)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) |
Definition at line 31 of file dma-mapping.h.
Definition at line 50 of file dma-mapping.h.
int(* mmap)(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, struct dma_attrs *attrs) |
Definition at line 18 of file dma-mapping.h.
void(* sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) |
Definition at line 44 of file dma-mapping.h.
void(* sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir) |
Definition at line 47 of file dma-mapping.h.
void(* sync_single_for_cpu)(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir) |
Definition at line 38 of file dma-mapping.h.
void(* sync_single_for_device)(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir) |
Definition at line 41 of file dma-mapping.h.
void(* unmap_page)(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs) |
Definition at line 28 of file dma-mapping.h.
void(* unmap_sg)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs) |
Definition at line 34 of file dma-mapping.h.