Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rs400.c File Reference
#include <linux/seq_file.h>
#include <linux/slab.h>
#include <drm/drmP.h>
#include "radeon.h"
#include "radeon_asic.h"
#include "rs400d.h"

Go to the source code of this file.

Macros

#define RS400_PTE_WRITEABLE   (1 << 2)
 
#define RS400_PTE_READABLE   (1 << 3)
 

Functions

void rs400_gart_adjust_size (struct radeon_device *rdev)
 
void rs400_gart_tlb_flush (struct radeon_device *rdev)
 
int rs400_gart_init (struct radeon_device *rdev)
 
int rs400_gart_enable (struct radeon_device *rdev)
 
void rs400_gart_disable (struct radeon_device *rdev)
 
void rs400_gart_fini (struct radeon_device *rdev)
 
int rs400_gart_set_page (struct radeon_device *rdev, int i, uint64_t addr)
 
int rs400_mc_wait_for_idle (struct radeon_device *rdev)
 
uint32_t rs400_mc_rreg (struct radeon_device *rdev, uint32_t reg)
 
void rs400_mc_wreg (struct radeon_device *rdev, uint32_t reg, uint32_t v)
 
int rs400_resume (struct radeon_device *rdev)
 
int rs400_suspend (struct radeon_device *rdev)
 
void rs400_fini (struct radeon_device *rdev)
 
int rs400_init (struct radeon_device *rdev)
 

Macro Definition Documentation

#define RS400_PTE_READABLE   (1 << 3)

Definition at line 210 of file rs400.c.

#define RS400_PTE_WRITEABLE   (1 << 2)

Definition at line 209 of file rs400.c.

Function Documentation

void rs400_fini ( struct radeon_device rdev)

Definition at line 478 of file rs400.c.

void rs400_gart_adjust_size ( struct radeon_device rdev)

Definition at line 38 of file rs400.c.

void rs400_gart_disable ( struct radeon_device rdev)

Definition at line 192 of file rs400.c.

int rs400_gart_enable ( struct radeon_device rdev)

Definition at line 107 of file rs400.c.

void rs400_gart_fini ( struct radeon_device rdev)

Definition at line 202 of file rs400.c.

int rs400_gart_init ( struct radeon_device rdev)

Definition at line 76 of file rs400.c.

int rs400_gart_set_page ( struct radeon_device rdev,
int  i,
uint64_t  addr 
)

Definition at line 212 of file rs400.c.

void rs400_gart_tlb_flush ( struct radeon_device rdev)

Definition at line 60 of file rs400.c.

int rs400_init ( struct radeon_device rdev)

Definition at line 493 of file rs400.c.

uint32_t rs400_mc_rreg ( struct radeon_device rdev,
uint32_t  reg 
)

Definition at line 272 of file rs400.c.

int rs400_mc_wait_for_idle ( struct radeon_device rdev)

Definition at line 229 of file rs400.c.

void rs400_mc_wreg ( struct radeon_device rdev,
uint32_t  reg,
uint32_t  v 
)

Definition at line 282 of file rs400.c.

int rs400_resume ( struct radeon_device rdev)

Definition at line 438 of file rs400.c.

int rs400_suspend ( struct radeon_device rdev)

Definition at line 469 of file rs400.c.