Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
nouveau_perf.c File Reference
#include <drm/drmP.h>
#include "nouveau_drm.h"
#include "nouveau_reg.h"
#include "nouveau_pm.h"

Go to the source code of this file.

Macros

#define subent(n)   ((ROM16(perf[hdr + (n) * len]) & 0xfff) * 1000)
 

Functions

u8nouveau_perf_rammap (struct drm_device *dev, u32 freq, u8 *ver, u8 *hdr, u8 *cnt, u8 *len)
 
u8nouveau_perf_ramcfg (struct drm_device *dev, u32 freq, u8 *ver, u8 *len)
 
u8nouveau_perf_timing (struct drm_device *dev, u32 freq, u8 *ver, u8 *len)
 
void nouveau_perf_init (struct drm_device *dev)
 
void nouveau_perf_fini (struct drm_device *dev)
 

Macro Definition Documentation

#define subent (   n)    ((ROM16(perf[hdr + (n) * len]) & 0xfff) * 1000)

Function Documentation

void nouveau_perf_fini ( struct drm_device dev)

Definition at line 414 of file nouveau_perf.c.

void nouveau_perf_init ( struct drm_device dev)

Definition at line 293 of file nouveau_perf.c.

u8* nouveau_perf_ramcfg ( struct drm_device dev,
u32  freq,
u8 ver,
u8 len 
)

Definition at line 144 of file nouveau_perf.c.

u8* nouveau_perf_rammap ( struct drm_device dev,
u32  freq,
u8 ver,
u8 hdr,
u8 cnt,
u8 len 
)

Definition at line 88 of file nouveau_perf.c.

u8* nouveau_perf_timing ( struct drm_device dev,
u32  freq,
u8 ver,
u8 len 
)

Definition at line 164 of file nouveau_perf.c.