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

Go to the source code of this file.

Data Structures

struct  nv50_pm_state
 

Macros

#define nouveau_bios_init_exec(a, b)   nouveau_bios_run_init_table((a), (b), NULL, 0)
 

Enumerations

enum  clk_src {
  clk_src_crystal, clk_src_href, clk_src_hclk, clk_src_hclkm3,
  clk_src_hclkm3d2, clk_src_host, clk_src_nvclk, clk_src_sclk,
  clk_src_mclk, clk_src_vdec, clk_src_dom6, DA7210_CLKSRC_MCLK,
  DA9055_CLKSRC_MCLK, WM8983_CLKSRC_MCLK, WM8983_CLKSRC_PLL, WM8985_CLKSRC_MCLK,
  WM8985_CLKSRC_PLL, WM8995_SYSCLK_MCLK1 = 1, WM8995_SYSCLK_MCLK2, WM8995_SYSCLK_FLL1,
  WM8995_SYSCLK_FLL2, WM8995_SYSCLK_OPCLK
}
 

Functions

int nv50_pm_clocks_get (struct drm_device *dev, struct nouveau_pm_level *perflvl)
 
voidnv50_pm_clocks_pre (struct drm_device *dev, struct nouveau_pm_level *perflvl)
 
int nv50_pm_clocks_set (struct drm_device *dev, void *data)
 

Macro Definition Documentation

#define nouveau_bios_init_exec (   a,
  b 
)    nouveau_bios_run_init_table((a), (b), NULL, 0)

Enumeration Type Documentation

enum clk_src
Enumerator:
clk_src_crystal 
clk_src_href 
clk_src_hclk 
clk_src_hclkm3 
clk_src_hclkm3d2 
clk_src_host 
clk_src_nvclk 
clk_src_sclk 
clk_src_mclk 
clk_src_vdec 
clk_src_dom6 
DA7210_CLKSRC_MCLK 
DA9055_CLKSRC_MCLK 
WM8983_CLKSRC_MCLK 
WM8983_CLKSRC_PLL 
WM8985_CLKSRC_MCLK 
WM8985_CLKSRC_PLL 
WM8995_SYSCLK_MCLK1 
WM8995_SYSCLK_MCLK2 
WM8995_SYSCLK_FLL1 
WM8995_SYSCLK_FLL2 
WM8995_SYSCLK_OPCLK 

Definition at line 39 of file nv50_pm.c.

Function Documentation

int nv50_pm_clocks_get ( struct drm_device dev,
struct nouveau_pm_level perflvl 
)

Definition at line 349 of file nv50_pm.c.

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

Definition at line 607 of file nv50_pm.c.

int nv50_pm_clocks_set ( struct drm_device dev,
void data 
)

Definition at line 813 of file nv50_pm.c.