Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
nv04.c File Reference
#include <subdev/fb.h>

Go to the source code of this file.

Data Structures

struct  nv04_fb_priv
 

Macros

#define NV04_PFB_BOOT_0   0x00100000
 
#define NV04_PFB_BOOT_0_RAM_AMOUNT   0x00000003
 
#define NV04_PFB_BOOT_0_RAM_AMOUNT_32MB   0x00000000
 
#define NV04_PFB_BOOT_0_RAM_AMOUNT_4MB   0x00000001
 
#define NV04_PFB_BOOT_0_RAM_AMOUNT_8MB   0x00000002
 
#define NV04_PFB_BOOT_0_RAM_AMOUNT_16MB   0x00000003
 
#define NV04_PFB_BOOT_0_RAM_WIDTH_128   0x00000004
 
#define NV04_PFB_BOOT_0_RAM_TYPE   0x00000028
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_8MBIT   0x00000000
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT   0x00000008
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT_4BANK   0x00000010
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_16MBIT   0x00000018
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBIT   0x00000020
 
#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBITX16   0x00000028
 
#define NV04_PFB_BOOT_0_UMA_ENABLE   0x00000100
 
#define NV04_PFB_BOOT_0_UMA_SIZE   0x0000f000
 
#define NV04_PFB_CFG0   0x00100200
 

Functions

bool nv04_fb_memtype_valid (struct nouveau_fb *pfb, u32 tile_flags)
 

Variables

struct nouveau_oclass nv04_fb_oclass
 

Macro Definition Documentation

#define NV04_PFB_BOOT_0   0x00100000

Definition at line 27 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_AMOUNT   0x00000003

Definition at line 28 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_AMOUNT_16MB   0x00000003

Definition at line 32 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_AMOUNT_32MB   0x00000000

Definition at line 29 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_AMOUNT_4MB   0x00000001

Definition at line 30 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_AMOUNT_8MB   0x00000002

Definition at line 31 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE   0x00000028

Definition at line 34 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_16MBIT   0x00000018

Definition at line 38 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBIT   0x00000020

Definition at line 39 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SDRAM_64MBITX16   0x00000028

Definition at line 40 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT   0x00000008

Definition at line 36 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_16MBIT_4BANK   0x00000010

Definition at line 37 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_TYPE_SGRAM_8MBIT   0x00000000

Definition at line 35 of file nv04.c.

#define NV04_PFB_BOOT_0_RAM_WIDTH_128   0x00000004

Definition at line 33 of file nv04.c.

#define NV04_PFB_BOOT_0_UMA_ENABLE   0x00000100

Definition at line 41 of file nv04.c.

#define NV04_PFB_BOOT_0_UMA_SIZE   0x0000f000

Definition at line 42 of file nv04.c.

#define NV04_PFB_CFG0   0x00100200

Definition at line 43 of file nv04.c.

Function Documentation

bool nv04_fb_memtype_valid ( struct nouveau_fb pfb,
u32  tile_flags 
)

Definition at line 50 of file nv04.c.

Variable Documentation

struct nouveau_oclass nv04_fb_oclass
Initial value:
= {
.handle = NV_SUBDEV(FB, 0x04),
.ofuncs = &(struct nouveau_ofuncs) {
.ctor = nv04_fb_ctor,
.init = nv04_fb_init,
},
}

Definition at line 122 of file nv04.c.