Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
nv40_pm.c File Reference
#include <drm/drmP.h>
#include "nouveau_drm.h"
#include "nouveau_bios.h"
#include "nouveau_pm.h"
#include "nouveau_hw.h"
#include <subdev/bios/pll.h>
#include <subdev/clock.h>
#include <subdev/timer.h>
#include <engine/fifo.h>

Go to the source code of this file.

Data Structures

struct  nv40_pm_state
 

Macros

#define min2(a, b)   ((a) < (b) ? (a) : (b))
 

Functions

int nv40_pm_clocks_get (struct drm_device *dev, struct nouveau_pm_level *perflvl)
 
voidnv40_pm_clocks_pre (struct drm_device *dev, struct nouveau_pm_level *perflvl)
 
int nv40_pm_clocks_set (struct drm_device *dev, void *pre_state)
 

Macro Definition Documentation

#define min2 (   a,
  b 
)    ((a) < (b) ? (a) : (b))

Definition at line 37 of file nv40_pm.c.

Function Documentation

int nv40_pm_clocks_get ( struct drm_device dev,
struct nouveau_pm_level perflvl 
)

Definition at line 97 of file nv40_pm.c.

void* nv40_pm_clocks_pre ( struct drm_device dev,
struct nouveau_pm_level perflvl 
)

Definition at line 154 of file nv40_pm.c.

int nv40_pm_clocks_set ( struct drm_device dev,
void pre_state 
)

Definition at line 239 of file nv40_pm.c.