Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cr_pll.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/pci.h>
#include <linux/errno.h>
#include <linux/fb.h>
#include "vermilion.h"

Go to the source code of this file.

Macros

#define CRVML_DEVICE_MCH   0x5001
 
#define CRVML_REG_MCHBAR   0x44
 
#define CRVML_REG_MCHEN   0x54
 
#define CRVML_MCHEN_BIT   (1 << 28)
 
#define CRVML_MCHMAP_SIZE   4096
 
#define CRVML_REG_CLOCK   0xc3c
 
#define CRVML_CLOCK_SHIFT   8
 
#define CRVML_CLOCK_MASK   0x00000f00
 

Functions

 module_init (cr_pll_init)
 
 module_exit (cr_pll_exit)
 
 MODULE_AUTHOR ("Tungsten Graphics Inc.")
 
 MODULE_DESCRIPTION ("Carillo Ranch PLL Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define CRVML_CLOCK_MASK   0x00000f00

Definition at line 45 of file cr_pll.c.

#define CRVML_CLOCK_SHIFT   8

Definition at line 44 of file cr_pll.c.

#define CRVML_DEVICE_MCH   0x5001

Definition at line 38 of file cr_pll.c.

#define CRVML_MCHEN_BIT   (1 << 28)

Definition at line 41 of file cr_pll.c.

#define CRVML_MCHMAP_SIZE   4096

Definition at line 42 of file cr_pll.c.

#define CRVML_REG_CLOCK   0xc3c

Definition at line 43 of file cr_pll.c.

#define CRVML_REG_MCHBAR   0x44

Definition at line 39 of file cr_pll.c.

#define CRVML_REG_MCHEN   0x54

Definition at line 40 of file cr_pll.c.

Function Documentation

MODULE_AUTHOR ( "Tungsten Graphics Inc."  )
MODULE_DESCRIPTION ( "Carillo Ranch PLL Driver"  )
module_exit ( cr_pll_exit  )
module_init ( cr_pll_init  )
MODULE_LICENSE ( "GPL"  )