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

#include <ib_verbs.h>

Data Fields

int(* mapping_error )(struct ib_device *dev, u64 dma_addr)
 
u64(* map_single )(struct ib_device *dev, void *ptr, size_t size, enum dma_data_direction direction)
 
void(* unmap_single )(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction direction)
 
u64(* map_page )(struct ib_device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction direction)
 
void(* unmap_page )(struct ib_device *dev, u64 addr, size_t size, enum dma_data_direction direction)
 
int(* map_sg )(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction)
 
void(* unmap_sg )(struct ib_device *dev, struct scatterlist *sg, int nents, enum dma_data_direction direction)
 
u64(* dma_address )(struct ib_device *dev, struct scatterlist *sg)
 
unsigned int(* dma_len )(struct ib_device *dev, struct scatterlist *sg)
 
void(* sync_single_for_cpu )(struct ib_device *dev, u64 dma_handle, size_t size, enum dma_data_direction dir)
 
void(* sync_single_for_device )(struct ib_device *dev, u64 dma_handle, size_t size, enum dma_data_direction dir)
 
void *(* alloc_coherent )(struct ib_device *dev, size_t size, u64 *dma_handle, gfp_t flag)
 
void(* free_coherent )(struct ib_device *dev, size_t size, void *cpu_addr, u64 dma_handle)
 

Detailed Description

Definition at line 1030 of file ib_verbs.h.

Field Documentation

void*(* alloc_coherent)(struct ib_device *dev, size_t size, u64 *dma_handle, gfp_t flag)

Definition at line 1064 of file ib_verbs.h.

Definition at line 1052 of file ib_verbs.h.

unsigned int(* dma_len)(struct ib_device *dev, struct scatterlist *sg)

Definition at line 1054 of file ib_verbs.h.

Definition at line 1068 of file ib_verbs.h.

Definition at line 1039 of file ib_verbs.h.

Definition at line 1046 of file ib_verbs.h.

Definition at line 1033 of file ib_verbs.h.

int(* mapping_error)(struct ib_device *dev, u64 dma_addr)

Definition at line 1031 of file ib_verbs.h.

void(* sync_single_for_cpu)(struct ib_device *dev, u64 dma_handle, size_t size, enum dma_data_direction dir)

Definition at line 1056 of file ib_verbs.h.

void(* sync_single_for_device)(struct ib_device *dev, u64 dma_handle, size_t size, enum dma_data_direction dir)

Definition at line 1060 of file ib_verbs.h.

Definition at line 1043 of file ib_verbs.h.

Definition at line 1049 of file ib_verbs.h.

Definition at line 1036 of file ib_verbs.h.


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