Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
dma_map_ops Struct Reference

#include <dma-mapping.h>

Data Fields

void *(* alloc )(struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t gfp, struct dma_attrs *attrs)
 
void(* free )(struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle, struct dma_attrs *attrs)
 
int(* mmap )(struct device *, struct vm_area_struct *, void *, dma_addr_t, size_t, struct dma_attrs *attrs)
 
int(* get_sgtable )(struct device *dev, struct sg_table *sgt, void *, dma_addr_t, size_t, struct dma_attrs *attrs)
 
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)
 
void(* unmap_page )(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir, struct dma_attrs *attrs)
 
int(* map_sg )(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs)
 
void(* unmap_sg )(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir, struct dma_attrs *attrs)
 
void(* sync_single_for_cpu )(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir)
 
void(* sync_single_for_device )(struct device *dev, dma_addr_t dma_handle, size_t size, enum dma_data_direction dir)
 
void(* sync_sg_for_cpu )(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir)
 
void(* sync_sg_for_device )(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dir)
 
int(* mapping_error )(struct device *dev, dma_addr_t dma_addr)
 
int(* dma_supported )(struct device *dev, u64 mask)
 
int(* set_dma_mask )(struct device *dev, u64 mask)
 
int is_phys
 

Detailed Description

Definition at line 11 of file dma-mapping.h.

Field Documentation

Definition at line 12 of file dma-mapping.h.

int(* dma_supported)(struct device *dev, u64 mask)

Definition at line 51 of file dma-mapping.h.

Definition at line 15 of file dma-mapping.h.

Definition at line 21 of file dma-mapping.h.

int is_phys

Definition at line 56 of file dma-mapping.h.

Definition at line 24 of file dma-mapping.h.

Definition at line 31 of file dma-mapping.h.

int(* mapping_error)(struct device *dev, dma_addr_t dma_addr)

Definition at line 50 of file dma-mapping.h.

Definition at line 18 of file dma-mapping.h.

int(* set_dma_mask)(struct device *dev, u64 mask)

Definition at line 52 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.

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.

Definition at line 28 of file dma-mapping.h.

Definition at line 34 of file dma-mapping.h.


The documentation for this struct was generated from the following file: