Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
intelfb_i2c.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/fb.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <asm/io.h>
#include "intelfb.h"
#include "intelfbhw.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
 

Functions

void intelfb_create_i2c_busses (struct intelfb_info *dinfo)
 
void intelfb_delete_i2c_busses (struct intelfb_info *dinfo)
 

Macro Definition Documentation

#define SCL_DIR   0x0002

Definition at line 44 of file intelfb_i2c.c.

#define SCL_DIR_MASK   0x0001

Definition at line 43 of file intelfb_i2c.c.

#define SCL_VAL_IN   0x0010

Definition at line 47 of file intelfb_i2c.c.

#define SCL_VAL_MASK   0x0004

Definition at line 45 of file intelfb_i2c.c.

#define SCL_VAL_OUT   0x0008

Definition at line 46 of file intelfb_i2c.c.

#define SDA_DIR   0x0200

Definition at line 49 of file intelfb_i2c.c.

#define SDA_DIR_MASK   0x0100

Definition at line 48 of file intelfb_i2c.c.

#define SDA_VAL_IN   0x1000

Definition at line 52 of file intelfb_i2c.c.

#define SDA_VAL_MASK   0x0400

Definition at line 50 of file intelfb_i2c.c.

#define SDA_VAL_OUT   0x0800

Definition at line 51 of file intelfb_i2c.c.

Function Documentation

void intelfb_create_i2c_busses ( struct intelfb_info dinfo)

Definition at line 138 of file intelfb_i2c.c.

void intelfb_delete_i2c_busses ( struct intelfb_info dinfo)

Definition at line 195 of file intelfb_i2c.c.