Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
fbdev.c File Reference
#include <linux/module.h>
#include <linux/types.h>
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/ioctl.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <asm/io.h>
#include <linux/uaccess.h>
#include <video/kyro.h>
#include "STG4000Reg.h"
#include "STG4000Interface.h"

Go to the source code of this file.

Data Structures

struct  device_info_t
 

Macros

#define PCI_VENDOR_ID_ST   0x104a
 
#define PCI_DEVICE_ID_STG4000   0x0010
 
#define KHZ2PICOS(a)   (1000000000UL/(a))
 
#define NUM_TOTAL_MODES   ARRAY_SIZE(kyro_modedb)
 

Enumerations

enum  {
  VMODE_640_350_85, VMODE_640_400_85, VMODE_720_400_85, VMODE_640_480_60,
  VMODE_640_480_72, VMODE_640_480_75, VMODE_640_480_85, VMODE_800_600_56,
  VMODE_800_600_60, VMODE_800_600_72, VMODE_800_600_75, VMODE_800_600_85,
  VMODE_1024_768_60, VMODE_1024_768_70, VMODE_1024_768_75, VMODE_1024_768_85,
  VMODE_1152_864_75, VMODE_1280_960_60, VMODE_1280_960_85, VMODE_1280_1024_60,
  VMODE_1280_1024_75, VMODE_1280_1024_85, VMODE_1600_1200_60, VMODE_1600_1200_65,
  VMODE_1600_1200_70, VMODE_1600_1200_75, VMODE_1600_1200_85, VMODE_1792_1344_60,
  VMODE_1792_1344_75, VMODE_1856_1392_60, VMODE_1856_1392_75, VMODE_1920_1440_60,
  VMODE_1920_1440_75
}
 

Functions

 MODULE_DEVICE_TABLE (pci, kyrofb_pci_tbl)
 
 module_init (kyrofb_init)
 
 MODULE_AUTHOR ("STMicroelectronics; Paul Mundt <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define KHZ2PICOS (   a)    (1000000000UL/(a))

Definition at line 40 of file fbdev.c.

#define NUM_TOTAL_MODES   ARRAY_SIZE(kyro_modedb)

Definition at line 263 of file fbdev.c.

#define PCI_DEVICE_ID_STG4000   0x0010

Definition at line 38 of file fbdev.c.

#define PCI_VENDOR_ID_ST   0x104a

Definition at line 37 of file fbdev.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
VMODE_640_350_85 
VMODE_640_400_85 
VMODE_720_400_85 
VMODE_640_480_60 
VMODE_640_480_72 
VMODE_640_480_75 
VMODE_640_480_85 
VMODE_800_600_56 
VMODE_800_600_60 
VMODE_800_600_72 
VMODE_800_600_75 
VMODE_800_600_85 
VMODE_1024_768_60 
VMODE_1024_768_70 
VMODE_1024_768_75 
VMODE_1024_768_85 
VMODE_1152_864_75 
VMODE_1280_960_60 
VMODE_1280_960_85 
VMODE_1280_1024_60 
VMODE_1280_1024_75 
VMODE_1280_1024_85 
VMODE_1600_1200_60 
VMODE_1600_1200_65 
VMODE_1600_1200_70 
VMODE_1600_1200_75 
VMODE_1600_1200_85 
VMODE_1792_1344_60 
VMODE_1792_1344_75 
VMODE_1856_1392_60 
VMODE_1856_1392_75 
VMODE_1920_1440_60 
VMODE_1920_1440_75 

Definition at line 268 of file fbdev.c.

Function Documentation

MODULE_AUTHOR ( "STMicroelectronics; Paul Mundt <[email protected]>"  )
MODULE_DEVICE_TABLE ( pci  ,
kyrofb_pci_tbl   
)
module_init ( kyrofb_init  )
MODULE_LICENSE ( "GPL"  )