Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
matroxfb_maven.c File Reference
#include "matroxfb_maven.h"
#include "matroxfb_misc.h"
#include "matroxfb_DAC1064.h"
#include <linux/i2c.h>
#include <linux/matroxfb.h>
#include <linux/slab.h>
#include <asm/div64.h>

Go to the source code of this file.

Data Structures

struct  maven_gamma
 
struct  mctl
 
struct  maven_data
 
struct  matrox_pll_features2
 
struct  matrox_pll_ctl
 

Macros

#define MGATVO_B   1
 
#define MGATVO_C   2
 
#define BLMIN   0x0FF
 
#define WLMAX   0x3FF
 
#define MAVCTRLS   ARRAY_SIZE(maven_controls)
 
#define LR(x)   maven_set_reg(c, (x), m->regs[(x)])
 
#define LRP(x)   maven_set_reg_pair(c, (x), m->regs[(x)] | (m->regs[(x)+1] << 8))
 
#define MATROX_USE64BIT_DIVIDE
 
#define mdinfo   ((struct maven_data*)md)
 
#define minfo   (mdinfo->primary_head)
 
#define mdinfo   ((struct maven_data*)md)
 
#define minfo   (mdinfo->primary_head)
 

Functions

 MODULE_DEVICE_TABLE (i2c, maven_id)
 
 MODULE_AUTHOR ("(c) 1999-2002 Petr Vandrovec <[email protected]>")
 
 MODULE_DESCRIPTION ("Matrox G200/G400 Matrox MGA-TVO driver")
 
 MODULE_LICENSE ("GPL")
 
 module_init (matroxfb_maven_init)
 
 module_exit (matroxfb_maven_exit)
 

Macro Definition Documentation

#define BLMIN   0x0FF

Definition at line 64 of file matroxfb_maven.c.

#define LR (   x)    maven_set_reg(c, (x), m->regs[(x)])

Definition at line 508 of file matroxfb_maven.c.

#define LRP (   x)    maven_set_reg_pair(c, (x), m->regs[(x)] | (m->regs[(x)+1] << 8))

Definition at line 509 of file matroxfb_maven.c.

#define MATROX_USE64BIT_DIVIDE
#define MAVCTRLS   ARRAY_SIZE(maven_controls)

Definition at line 106 of file matroxfb_maven.c.

#define mdinfo   ((struct maven_data*)md)
#define mdinfo   ((struct maven_data*)md)
#define MGATVO_B   1

Definition at line 23 of file matroxfb_maven.c.

#define MGATVO_C   2

Definition at line 24 of file matroxfb_maven.c.

#define minfo   (mdinfo->primary_head)
#define minfo   (mdinfo->primary_head)
#define WLMAX   0x3FF

Definition at line 65 of file matroxfb_maven.c.

Function Documentation

MODULE_AUTHOR ( "(c) 1999-2002 Petr Vandrovec <[email protected]>"  )
MODULE_DESCRIPTION ( "Matrox G200/G400 Matrox MGA-TVO driver )
MODULE_DEVICE_TABLE ( i2c  ,
maven_id   
)
module_exit ( matroxfb_maven_exit  )
module_init ( matroxfb_maven_init  )
MODULE_LICENSE ( "GPL"  )