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

#include <ttm_bo_driver.h>

Data Fields

int(* bind )(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem)
 
int(* unbind )(struct ttm_tt *ttm)
 
void(* destroy )(struct ttm_tt *ttm)
 

Detailed Description

Definition at line 42 of file ttm_bo_driver.h.

Field Documentation

int(* bind)(struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem)

struct ttm_backend_func member bind

: Pointer to a struct ttm_tt. : Pointer to a struct ttm_mem_reg describing the memory type and location for binding.

Bind the backend pages into the aperture in the location indicated by . This function should be able to handle differences between aperture and system page sizes.

Definition at line 54 of file ttm_bo_driver.h.

void(* destroy)(struct ttm_tt *ttm)

struct ttm_backend_func member destroy

: Pointer to a struct ttm_tt.

Destroy the backend. This will be call back from ttm_tt_destroy so don't call ttm_tt_destroy from the callback or infinite loop.

Definition at line 74 of file ttm_bo_driver.h.

int(* unbind)(struct ttm_tt *ttm)

struct ttm_backend_func member unbind

: Pointer to a struct ttm_tt.

Unbind previously bound backend pages. This function should be able to handle differences between aperture and system page sizes.

Definition at line 64 of file ttm_bo_driver.h.


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