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

#include <dma-mapping.h>

Data Fields

int(* dma_supported )(struct device *dev, u64 mask)
 
void *(* alloc_consistent )(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag)
 
void *(* alloc_noncoherent )(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag)
 
void(* free_consistent )(struct device *dev, size_t size, void *vaddr, dma_addr_t iova)
 
dma_addr_t(* map_single )(struct device *dev, void *addr, size_t size, enum dma_data_direction direction)
 
void(* unmap_single )(struct device *dev, dma_addr_t iova, size_t size, enum dma_data_direction direction)
 
int(* map_sg )(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction)
 
void(* unmap_sg )(struct device *dev, struct scatterlist *sg, int nhwents, enum dma_data_direction direction)
 
void(* dma_sync_single_for_cpu )(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction)
 
void(* dma_sync_single_for_device )(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction)
 
void(* dma_sync_sg_for_cpu )(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction)
 
void(* dma_sync_sg_for_device )(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction)
 

Detailed Description

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

Field Documentation

void*(* alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag)

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

void*(* alloc_noncoherent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag)

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

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

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

void(* dma_sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction)

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

void(* dma_sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_direction direction)

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

void(* dma_sync_single_for_cpu)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction)

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

void(* dma_sync_single_for_device)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_direction direction)

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

void(* free_consistent)(struct device *dev, size_t size, void *vaddr, dma_addr_t iova)

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

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

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

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

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


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