Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
i740fb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/fb.h>
#include <linux/init.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/console.h>
#include <video/vga.h>
#include "i740_reg.h"

Go to the source code of this file.

Data Structures

struct  i740fb_par
 

Macros

#define DACSPEED8   203
 
#define DACSPEED16   163
 
#define DACSPEED24_SG   136
 
#define DACSPEED24_SD   128
 
#define DACSPEED32   86
 
#define REG_DDC_DRIVE   0x62
 
#define REG_DDC_STATE   0x63
 
#define DDC_SCL   (1 << 3)
 
#define DDC_SDA   (1 << 2)
 
#define I740_RFREQ   1000000
 
#define TARGET_MAX_N   30
 
#define I740_FFIX   (1 << 8)
 
#define I740_RFREQ_FIX   (I740_RFREQ / I740_FFIX)
 
#define I740_REF_FREQ   (6667 * I740_FFIX / 100) /* 66.67 MHz */
 
#define I740_MAX_VCO_FREQ   (450 * I740_FFIX) /* 450 MHz */
 
#define i740fb_suspend   NULL
 
#define i740fb_resume   NULL
 
#define I740_ID_PCI   0x00d1
 
#define I740_ID_AGP   0x7800
 

Functions

 MODULE_DEVICE_TABLE (pci, i740fb_id_table)
 
int __init i740fb_init (void)
 
 module_init (i740fb_init)
 
 module_exit (i740fb_exit)
 
 MODULE_AUTHOR ("(c) 2011 Ondrej Zary <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("fbdev driver for Intel740")
 
 module_param (mode_option, charp, 0444)
 
 MODULE_PARM_DESC (mode_option,"Default video mode ('640x480-8@60', etc)")
 

Macro Definition Documentation

#define DACSPEED16   163

Definition at line 89 of file i740fb.c.

#define DACSPEED24_SD   128

Definition at line 91 of file i740fb.c.

#define DACSPEED24_SG   136

Definition at line 90 of file i740fb.c.

#define DACSPEED32   86

Definition at line 92 of file i740fb.c.

#define DACSPEED8   203

Definition at line 88 of file i740fb.c.

#define DDC_SCL   (1 << 3)

Definition at line 129 of file i740fb.c.

#define DDC_SDA   (1 << 2)

Definition at line 130 of file i740fb.c.

#define I740_FFIX   (1 << 8)

Definition at line 348 of file i740fb.c.

#define I740_ID_AGP   0x7800

Definition at line 1265 of file i740fb.c.

#define I740_ID_PCI   0x00d1

Definition at line 1264 of file i740fb.c.

#define I740_MAX_VCO_FREQ   (450 * I740_FFIX) /* 450 MHz */

Definition at line 351 of file i740fb.c.

#define I740_REF_FREQ   (6667 * I740_FFIX / 100) /* 66.67 MHz */

Definition at line 350 of file i740fb.c.

#define I740_RFREQ   1000000

Definition at line 346 of file i740fb.c.

#define I740_RFREQ_FIX   (I740_RFREQ / I740_FFIX)

Definition at line 349 of file i740fb.c.

#define i740fb_resume   NULL

Definition at line 1261 of file i740fb.c.

#define i740fb_suspend   NULL

Definition at line 1260 of file i740fb.c.

#define REG_DDC_DRIVE   0x62

Definition at line 127 of file i740fb.c.

#define REG_DDC_STATE   0x63

Definition at line 128 of file i740fb.c.

#define TARGET_MAX_N   30

Definition at line 347 of file i740fb.c.

Function Documentation

int __init i740fb_init ( void  )

Definition at line 1306 of file i740fb.c.

MODULE_AUTHOR ( "(c) 2011 Ondrej Zary <[email protected]>"  )
MODULE_DESCRIPTION ( "fbdev driver for Intel740"  )
MODULE_DEVICE_TABLE ( pci  ,
i740fb_id_table   
)
module_exit ( i740fb_exit  )
module_init ( i740fb_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( mode_option  ,
charp  ,
0444   
)
MODULE_PARM_DESC ( mode_option  ,
"Default video mode ('640x480-8@60', etc)"   
)