Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
ttm_placement.h File Reference

Go to the source code of this file.

Macros

#define TTM_PL_SYSTEM   0
 
#define TTM_PL_TT   1
 
#define TTM_PL_VRAM   2
 
#define TTM_PL_PRIV0   3
 
#define TTM_PL_PRIV1   4
 
#define TTM_PL_PRIV2   5
 
#define TTM_PL_PRIV3   6
 
#define TTM_PL_PRIV4   7
 
#define TTM_PL_PRIV5   8
 
#define TTM_PL_SWAPPED   15
 
#define TTM_PL_FLAG_SYSTEM   (1 << TTM_PL_SYSTEM)
 
#define TTM_PL_FLAG_TT   (1 << TTM_PL_TT)
 
#define TTM_PL_FLAG_VRAM   (1 << TTM_PL_VRAM)
 
#define TTM_PL_FLAG_PRIV0   (1 << TTM_PL_PRIV0)
 
#define TTM_PL_FLAG_PRIV1   (1 << TTM_PL_PRIV1)
 
#define TTM_PL_FLAG_PRIV2   (1 << TTM_PL_PRIV2)
 
#define TTM_PL_FLAG_PRIV3   (1 << TTM_PL_PRIV3)
 
#define TTM_PL_FLAG_PRIV4   (1 << TTM_PL_PRIV4)
 
#define TTM_PL_FLAG_PRIV5   (1 << TTM_PL_PRIV5)
 
#define TTM_PL_FLAG_SWAPPED   (1 << TTM_PL_SWAPPED)
 
#define TTM_PL_MASK_MEM   0x0000FFFF
 
#define TTM_PL_FLAG_CACHED   (1 << 16)
 
#define TTM_PL_FLAG_UNCACHED   (1 << 17)
 
#define TTM_PL_FLAG_WC   (1 << 18)
 
#define TTM_PL_FLAG_SHARED   (1 << 20)
 
#define TTM_PL_FLAG_NO_EVICT   (1 << 21)
 
#define TTM_PL_MASK_CACHING
 
#define TTM_PL_MASK_MEMTYPE   (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING)
 
#define TTM_ACCESS_READ   (1 << 0)
 
#define TTM_ACCESS_WRITE   (1 << 1)
 

Macro Definition Documentation

#define TTM_ACCESS_READ   (1 << 0)

Definition at line 89 of file ttm_placement.h.

#define TTM_ACCESS_WRITE   (1 << 1)

Definition at line 90 of file ttm_placement.h.

#define TTM_PL_FLAG_CACHED   (1 << 16)

Definition at line 70 of file ttm_placement.h.

#define TTM_PL_FLAG_NO_EVICT   (1 << 21)

Definition at line 74 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV0   (1 << TTM_PL_PRIV0)

Definition at line 51 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV1   (1 << TTM_PL_PRIV1)

Definition at line 52 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV2   (1 << TTM_PL_PRIV2)

Definition at line 53 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV3   (1 << TTM_PL_PRIV3)

Definition at line 54 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV4   (1 << TTM_PL_PRIV4)

Definition at line 55 of file ttm_placement.h.

#define TTM_PL_FLAG_PRIV5   (1 << TTM_PL_PRIV5)

Definition at line 56 of file ttm_placement.h.

#define TTM_PL_FLAG_SHARED   (1 << 20)

Definition at line 73 of file ttm_placement.h.

#define TTM_PL_FLAG_SWAPPED   (1 << TTM_PL_SWAPPED)

Definition at line 57 of file ttm_placement.h.

#define TTM_PL_FLAG_SYSTEM   (1 << TTM_PL_SYSTEM)

Definition at line 48 of file ttm_placement.h.

#define TTM_PL_FLAG_TT   (1 << TTM_PL_TT)

Definition at line 49 of file ttm_placement.h.

#define TTM_PL_FLAG_UNCACHED   (1 << 17)

Definition at line 71 of file ttm_placement.h.

#define TTM_PL_FLAG_VRAM   (1 << TTM_PL_VRAM)

Definition at line 50 of file ttm_placement.h.

#define TTM_PL_FLAG_WC   (1 << 18)

Definition at line 72 of file ttm_placement.h.

#define TTM_PL_MASK_CACHING
Value:
TTM_PL_FLAG_UNCACHED | \
TTM_PL_FLAG_WC)

Definition at line 76 of file ttm_placement.h.

#define TTM_PL_MASK_MEM   0x0000FFFF

Definition at line 58 of file ttm_placement.h.

#define TTM_PL_MASK_MEMTYPE   (TTM_PL_MASK_MEM | TTM_PL_MASK_CACHING)

Definition at line 80 of file ttm_placement.h.

#define TTM_PL_PRIV0   3

Definition at line 40 of file ttm_placement.h.

#define TTM_PL_PRIV1   4

Definition at line 41 of file ttm_placement.h.

#define TTM_PL_PRIV2   5

Definition at line 42 of file ttm_placement.h.

#define TTM_PL_PRIV3   6

Definition at line 43 of file ttm_placement.h.

#define TTM_PL_PRIV4   7

Definition at line 44 of file ttm_placement.h.

#define TTM_PL_PRIV5   8

Definition at line 45 of file ttm_placement.h.

#define TTM_PL_SWAPPED   15

Definition at line 46 of file ttm_placement.h.

#define TTM_PL_SYSTEM   0

Definition at line 37 of file ttm_placement.h.

#define TTM_PL_TT   1

Definition at line 38 of file ttm_placement.h.

#define TTM_PL_VRAM   2

Definition at line 39 of file ttm_placement.h.