Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
i810-i2c.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/gfp.h>
#include <linux/pci.h>
#include <linux/fb.h>
#include "i810.h"
#include "i810_regs.h"
#include "i810_main.h"
#include "../edid.h"

Go to the source code of this file.

Macros

#define SCL_DIR_MASK   0x0001
 
#define SCL_DIR   0x0002
 
#define SCL_VAL_MASK   0x0004
 
#define SCL_VAL_OUT   0x0008
 
#define SCL_VAL_IN   0x0010
 
#define SDA_DIR_MASK   0x0100
 
#define SDA_DIR   0x0200
 
#define SDA_VAL_MASK   0x0400
 
#define SDA_VAL_OUT   0x0800
 
#define SDA_VAL_IN   0x1000
 
#define DEBUG   /* define this for verbose EDID parsing output */
 
#define DPRINTK(fmt, args...)   printk(fmt,## args)
 

Functions

void i810_create_i2c_busses (struct i810fb_par *par)
 
void i810_delete_i2c_busses (struct i810fb_par *par)
 
int i810_probe_i2c_connector (struct fb_info *info, u8 **out_edid, int conn)
 

Macro Definition Documentation

#define DEBUG   /* define this for verbose EDID parsing output */

Definition at line 34 of file i810-i2c.c.

#define DPRINTK (   fmt,
  args... 
)    printk(fmt,## args)

Definition at line 37 of file i810-i2c.c.

#define SCL_DIR   0x0002

Definition at line 24 of file i810-i2c.c.

#define SCL_DIR_MASK   0x0001

Definition at line 23 of file i810-i2c.c.

#define SCL_VAL_IN   0x0010

Definition at line 27 of file i810-i2c.c.

#define SCL_VAL_MASK   0x0004

Definition at line 25 of file i810-i2c.c.

#define SCL_VAL_OUT   0x0008

Definition at line 26 of file i810-i2c.c.

#define SDA_DIR   0x0200

Definition at line 29 of file i810-i2c.c.

#define SDA_DIR_MASK   0x0100

Definition at line 28 of file i810-i2c.c.

#define SDA_VAL_IN   0x1000

Definition at line 32 of file i810-i2c.c.

#define SDA_VAL_MASK   0x0400

Definition at line 30 of file i810-i2c.c.

#define SDA_VAL_OUT   0x0800

Definition at line 31 of file i810-i2c.c.

Function Documentation

void i810_create_i2c_busses ( struct i810fb_par par)

Definition at line 126 of file i810-i2c.c.

void i810_delete_i2c_busses ( struct i810fb_par par)

Definition at line 140 of file i810-i2c.c.

int i810_probe_i2c_connector ( struct fb_info info,
u8 **  out_edid,
int  conn 
)

Definition at line 155 of file i810-i2c.c.