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

Go to the source code of this file.

Macros

#define SI_DC_GPIO_HPD_MASK   0x65b0
 
#define SI_DC_GPIO_HPD_A   0x65b4
 
#define SI_DC_GPIO_HPD_EN   0x65b8
 
#define SI_DC_GPIO_HPD_Y   0x65bc
 
#define SI_GRPH_CONTROL   0x6804
 
#define SI_GRPH_DEPTH(x)   (((x) & 0x3) << 0)
 
#define SI_GRPH_DEPTH_8BPP   0
 
#define SI_GRPH_DEPTH_16BPP   1
 
#define SI_GRPH_DEPTH_32BPP   2
 
#define SI_GRPH_NUM_BANKS(x)   (((x) & 0x3) << 2)
 
#define SI_ADDR_SURF_2_BANK   0
 
#define SI_ADDR_SURF_4_BANK   1
 
#define SI_ADDR_SURF_8_BANK   2
 
#define SI_ADDR_SURF_16_BANK   3
 
#define SI_GRPH_Z(x)   (((x) & 0x3) << 4)
 
#define SI_GRPH_BANK_WIDTH(x)   (((x) & 0x3) << 6)
 
#define SI_ADDR_SURF_BANK_WIDTH_1   0
 
#define SI_ADDR_SURF_BANK_WIDTH_2   1
 
#define SI_ADDR_SURF_BANK_WIDTH_4   2
 
#define SI_ADDR_SURF_BANK_WIDTH_8   3
 
#define SI_GRPH_FORMAT(x)   (((x) & 0x7) << 8)
 
#define SI_GRPH_FORMAT_INDEXED   0
 
#define SI_GRPH_FORMAT_ARGB1555   0
 
#define SI_GRPH_FORMAT_ARGB565   1
 
#define SI_GRPH_FORMAT_ARGB4444   2
 
#define SI_GRPH_FORMAT_AI88   3
 
#define SI_GRPH_FORMAT_MONO16   4
 
#define SI_GRPH_FORMAT_BGRA5551   5
 
#define SI_GRPH_FORMAT_ARGB8888   0
 
#define SI_GRPH_FORMAT_ARGB2101010   1
 
#define SI_GRPH_FORMAT_32BPP_DIG   2
 
#define SI_GRPH_FORMAT_8B_ARGB2101010   3
 
#define SI_GRPH_FORMAT_BGRA1010102   4
 
#define SI_GRPH_FORMAT_8B_BGRA1010102   5
 
#define SI_GRPH_FORMAT_RGB111110   6
 
#define SI_GRPH_FORMAT_BGR101111   7
 
#define SI_GRPH_BANK_HEIGHT(x)   (((x) & 0x3) << 11)
 
#define SI_ADDR_SURF_BANK_HEIGHT_1   0
 
#define SI_ADDR_SURF_BANK_HEIGHT_2   1
 
#define SI_ADDR_SURF_BANK_HEIGHT_4   2
 
#define SI_ADDR_SURF_BANK_HEIGHT_8   3
 
#define SI_GRPH_TILE_SPLIT(x)   (((x) & 0x7) << 13)
 
#define SI_ADDR_SURF_TILE_SPLIT_64B   0
 
#define SI_ADDR_SURF_TILE_SPLIT_128B   1
 
#define SI_ADDR_SURF_TILE_SPLIT_256B   2
 
#define SI_ADDR_SURF_TILE_SPLIT_512B   3
 
#define SI_ADDR_SURF_TILE_SPLIT_1KB   4
 
#define SI_ADDR_SURF_TILE_SPLIT_2KB   5
 
#define SI_ADDR_SURF_TILE_SPLIT_4KB   6
 
#define SI_GRPH_MACRO_TILE_ASPECT(x)   (((x) & 0x3) << 18)
 
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_1   0
 
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_2   1
 
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_4   2
 
#define SI_ADDR_SURF_MACRO_TILE_ASPECT_8   3
 
#define SI_GRPH_ARRAY_MODE(x)   (((x) & 0x7) << 20)
 
#define SI_GRPH_ARRAY_LINEAR_GENERAL   0
 
#define SI_GRPH_ARRAY_LINEAR_ALIGNED   1
 
#define SI_GRPH_ARRAY_1D_TILED_THIN1   2
 
#define SI_GRPH_ARRAY_2D_TILED_THIN1   4
 
#define SI_GRPH_PIPE_CONFIG(x)   (((x) & 0x1f) << 24)
 
#define SI_ADDR_SURF_P2   0
 
#define SI_ADDR_SURF_P4_8x16   4
 
#define SI_ADDR_SURF_P4_16x16   5
 
#define SI_ADDR_SURF_P4_16x32   6
 
#define SI_ADDR_SURF_P4_32x32   7
 
#define SI_ADDR_SURF_P8_16x16_8x16   8
 
#define SI_ADDR_SURF_P8_16x32_8x16   9
 
#define SI_ADDR_SURF_P8_32x32_8x16   10
 
#define SI_ADDR_SURF_P8_16x32_16x16   11
 
#define SI_ADDR_SURF_P8_32x32_16x16   12
 
#define SI_ADDR_SURF_P8_32x32_16x32   13
 
#define SI_ADDR_SURF_P8_32x64_32x32   14
 

Macro Definition Documentation

#define SI_ADDR_SURF_16_BANK   3

Definition at line 42 of file si_reg.h.

#define SI_ADDR_SURF_2_BANK   0

Definition at line 39 of file si_reg.h.

#define SI_ADDR_SURF_4_BANK   1

Definition at line 40 of file si_reg.h.

#define SI_ADDR_SURF_8_BANK   2

Definition at line 41 of file si_reg.h.

#define SI_ADDR_SURF_BANK_HEIGHT_1   0

Definition at line 69 of file si_reg.h.

#define SI_ADDR_SURF_BANK_HEIGHT_2   1

Definition at line 70 of file si_reg.h.

#define SI_ADDR_SURF_BANK_HEIGHT_4   2

Definition at line 71 of file si_reg.h.

#define SI_ADDR_SURF_BANK_HEIGHT_8   3

Definition at line 72 of file si_reg.h.

#define SI_ADDR_SURF_BANK_WIDTH_1   0

Definition at line 45 of file si_reg.h.

#define SI_ADDR_SURF_BANK_WIDTH_2   1

Definition at line 46 of file si_reg.h.

#define SI_ADDR_SURF_BANK_WIDTH_4   2

Definition at line 47 of file si_reg.h.

#define SI_ADDR_SURF_BANK_WIDTH_8   3

Definition at line 48 of file si_reg.h.

#define SI_ADDR_SURF_MACRO_TILE_ASPECT_1   0

Definition at line 82 of file si_reg.h.

#define SI_ADDR_SURF_MACRO_TILE_ASPECT_2   1

Definition at line 83 of file si_reg.h.

#define SI_ADDR_SURF_MACRO_TILE_ASPECT_4   2

Definition at line 84 of file si_reg.h.

#define SI_ADDR_SURF_MACRO_TILE_ASPECT_8   3

Definition at line 85 of file si_reg.h.

#define SI_ADDR_SURF_P2   0

Definition at line 92 of file si_reg.h.

#define SI_ADDR_SURF_P4_16x16   5

Definition at line 94 of file si_reg.h.

#define SI_ADDR_SURF_P4_16x32   6

Definition at line 95 of file si_reg.h.

#define SI_ADDR_SURF_P4_32x32   7

Definition at line 96 of file si_reg.h.

#define SI_ADDR_SURF_P4_8x16   4

Definition at line 93 of file si_reg.h.

#define SI_ADDR_SURF_P8_16x16_8x16   8

Definition at line 97 of file si_reg.h.

#define SI_ADDR_SURF_P8_16x32_16x16   11

Definition at line 100 of file si_reg.h.

#define SI_ADDR_SURF_P8_16x32_8x16   9

Definition at line 98 of file si_reg.h.

#define SI_ADDR_SURF_P8_32x32_16x16   12

Definition at line 101 of file si_reg.h.

#define SI_ADDR_SURF_P8_32x32_16x32   13

Definition at line 102 of file si_reg.h.

#define SI_ADDR_SURF_P8_32x32_8x16   10

Definition at line 99 of file si_reg.h.

#define SI_ADDR_SURF_P8_32x64_32x32   14

Definition at line 103 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_128B   1

Definition at line 75 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_1KB   4

Definition at line 78 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_256B   2

Definition at line 76 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_2KB   5

Definition at line 79 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_4KB   6

Definition at line 80 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_512B   3

Definition at line 77 of file si_reg.h.

#define SI_ADDR_SURF_TILE_SPLIT_64B   0

Definition at line 74 of file si_reg.h.

#define SI_DC_GPIO_HPD_A   0x65b4

Definition at line 29 of file si_reg.h.

#define SI_DC_GPIO_HPD_EN   0x65b8

Definition at line 30 of file si_reg.h.

#define SI_DC_GPIO_HPD_MASK   0x65b0

Definition at line 28 of file si_reg.h.

#define SI_DC_GPIO_HPD_Y   0x65bc

Definition at line 31 of file si_reg.h.

#define SI_GRPH_ARRAY_1D_TILED_THIN1   2

Definition at line 89 of file si_reg.h.

#define SI_GRPH_ARRAY_2D_TILED_THIN1   4

Definition at line 90 of file si_reg.h.

#define SI_GRPH_ARRAY_LINEAR_ALIGNED   1

Definition at line 88 of file si_reg.h.

#define SI_GRPH_ARRAY_LINEAR_GENERAL   0

Definition at line 87 of file si_reg.h.

#define SI_GRPH_ARRAY_MODE (   x)    (((x) & 0x7) << 20)

Definition at line 86 of file si_reg.h.

#define SI_GRPH_BANK_HEIGHT (   x)    (((x) & 0x3) << 11)

Definition at line 68 of file si_reg.h.

#define SI_GRPH_BANK_WIDTH (   x)    (((x) & 0x3) << 6)

Definition at line 44 of file si_reg.h.

#define SI_GRPH_CONTROL   0x6804

Definition at line 33 of file si_reg.h.

#define SI_GRPH_DEPTH (   x)    (((x) & 0x3) << 0)

Definition at line 34 of file si_reg.h.

#define SI_GRPH_DEPTH_16BPP   1

Definition at line 36 of file si_reg.h.

#define SI_GRPH_DEPTH_32BPP   2

Definition at line 37 of file si_reg.h.

#define SI_GRPH_DEPTH_8BPP   0

Definition at line 35 of file si_reg.h.

#define SI_GRPH_FORMAT (   x)    (((x) & 0x7) << 8)

Definition at line 49 of file si_reg.h.

#define SI_GRPH_FORMAT_32BPP_DIG   2

Definition at line 62 of file si_reg.h.

#define SI_GRPH_FORMAT_8B_ARGB2101010   3

Definition at line 63 of file si_reg.h.

#define SI_GRPH_FORMAT_8B_BGRA1010102   5

Definition at line 65 of file si_reg.h.

#define SI_GRPH_FORMAT_AI88   3

Definition at line 56 of file si_reg.h.

#define SI_GRPH_FORMAT_ARGB1555   0

Definition at line 53 of file si_reg.h.

#define SI_GRPH_FORMAT_ARGB2101010   1

Definition at line 61 of file si_reg.h.

#define SI_GRPH_FORMAT_ARGB4444   2

Definition at line 55 of file si_reg.h.

#define SI_GRPH_FORMAT_ARGB565   1

Definition at line 54 of file si_reg.h.

#define SI_GRPH_FORMAT_ARGB8888   0

Definition at line 60 of file si_reg.h.

#define SI_GRPH_FORMAT_BGR101111   7

Definition at line 67 of file si_reg.h.

#define SI_GRPH_FORMAT_BGRA1010102   4

Definition at line 64 of file si_reg.h.

#define SI_GRPH_FORMAT_BGRA5551   5

Definition at line 58 of file si_reg.h.

#define SI_GRPH_FORMAT_INDEXED   0

Definition at line 51 of file si_reg.h.

#define SI_GRPH_FORMAT_MONO16   4

Definition at line 57 of file si_reg.h.

#define SI_GRPH_FORMAT_RGB111110   6

Definition at line 66 of file si_reg.h.

#define SI_GRPH_MACRO_TILE_ASPECT (   x)    (((x) & 0x3) << 18)

Definition at line 81 of file si_reg.h.

#define SI_GRPH_NUM_BANKS (   x)    (((x) & 0x3) << 2)

Definition at line 38 of file si_reg.h.

#define SI_GRPH_PIPE_CONFIG (   x)    (((x) & 0x1f) << 24)

Definition at line 91 of file si_reg.h.

#define SI_GRPH_TILE_SPLIT (   x)    (((x) & 0x7) << 13)

Definition at line 73 of file si_reg.h.

#define SI_GRPH_Z (   x)    (((x) & 0x3) << 4)

Definition at line 43 of file si_reg.h.