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

Go to the source code of this file.

Macros

#define CHIPSET_NFORCE   0x01a0
 
#define CHIPSET_NFORCE2   0x01f0
 

Functions

void NVWriteVgaSeq (struct drm_device *dev, int head, uint8_t index, uint8_t value)
 
uint8_t NVReadVgaSeq (struct drm_device *dev, int head, uint8_t index)
 
void NVWriteVgaGr (struct drm_device *dev, int head, uint8_t index, uint8_t value)
 
uint8_t NVReadVgaGr (struct drm_device *dev, int head, uint8_t index)
 
void NVSetOwner (struct drm_device *dev, int owner)
 
void NVBlankScreen (struct drm_device *dev, int head, bool blank)
 
int nouveau_hw_get_pllvals (struct drm_device *dev, enum nvbios_pll_type plltype, struct nouveau_pll_vals *pllvals)
 
int nouveau_hw_pllvals_to_clk (struct nouveau_pll_vals *pv)
 
int nouveau_hw_get_clock (struct drm_device *dev, enum nvbios_pll_type plltype)
 
void nouveau_hw_save_vga_fonts (struct drm_device *dev, bool save)
 
void nouveau_hw_load_state_palette (struct drm_device *dev, int head, struct nv04_mode_state *state)
 
void nouveau_hw_save_state (struct drm_device *dev, int head, struct nv04_mode_state *state)
 
void nouveau_hw_load_state (struct drm_device *dev, int head, struct nv04_mode_state *state)
 

Macro Definition Documentation

#define CHIPSET_NFORCE   0x01a0

Definition at line 33 of file nouveau_hw.c.

#define CHIPSET_NFORCE2   0x01f0

Definition at line 34 of file nouveau_hw.c.

Function Documentation

int nouveau_hw_get_clock ( struct drm_device dev,
enum nvbios_pll_type  plltype 
)

Definition at line 217 of file nouveau_hw.c.

int nouveau_hw_get_pllvals ( struct drm_device dev,
enum nvbios_pll_type  plltype,
struct nouveau_pll_vals pllvals 
)

Definition at line 166 of file nouveau_hw.c.

void nouveau_hw_load_state ( struct drm_device dev,
int  head,
struct nv04_mode_state state 
)

Definition at line 818 of file nouveau_hw.c.

void nouveau_hw_load_state_palette ( struct drm_device dev,
int  head,
struct nv04_mode_state state 
)

Definition at line 786 of file nouveau_hw.c.

int nouveau_hw_pllvals_to_clk ( struct nouveau_pll_vals pv)

Definition at line 207 of file nouveau_hw.c.

void nouveau_hw_save_state ( struct drm_device dev,
int  head,
struct nv04_mode_state state 
)

Definition at line 804 of file nouveau_hw.c.

void nouveau_hw_save_vga_fonts ( struct drm_device dev,
bool  save 
)

Definition at line 306 of file nouveau_hw.c.

void NVBlankScreen ( struct drm_device dev,
int  head,
bool  blank 
)

Definition at line 112 of file nouveau_hw.c.

uint8_t NVReadVgaGr ( struct drm_device dev,
int  head,
uint8_t  index 
)

Definition at line 62 of file nouveau_hw.c.

uint8_t NVReadVgaSeq ( struct drm_device dev,
int  head,
uint8_t  index 
)

Definition at line 48 of file nouveau_hw.c.

void NVSetOwner ( struct drm_device dev,
int  owner 
)

Definition at line 87 of file nouveau_hw.c.

void NVWriteVgaGr ( struct drm_device dev,
int  head,
uint8_t  index,
uint8_t  value 
)

Definition at line 55 of file nouveau_hw.c.

void NVWriteVgaSeq ( struct drm_device dev,
int  head,
uint8_t  index,
uint8_t  value 
)

Definition at line 41 of file nouveau_hw.c.