Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
intel_i2c.c File Reference
#include <linux/export.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "psb_drv.h"
#include "psb_intel_reg.h"

Go to the source code of this file.

Macros

#define I2C_RISEFALL_TIME   20
 

Functions

: name for this bus

psb_intel_i2c_create - instantiate an Intel i2c bus using the specified GPIO reg : DRM device : driver specific output device : GPIO reg to use

Creates and registers a new i2c bus with the Linux i2c layer, for use in output probing and control (e.g. DDC or SDVO control functions).

Possible values for include: GPIOA GPIOB GPIOC GPIOD GPIOE GPIOF GPIOG GPIOH see PRM for details on how these different busses are used.

struct psb_intel_i2c_chanpsb_intel_i2c_create (struct drm_device *dev, const u32 reg, const char *name)
 
void psb_intel_i2c_destroy (struct psb_intel_i2c_chan *chan)
 

Macro Definition Documentation

#define I2C_RISEFALL_TIME   20

Definition at line 31 of file intel_i2c.c.

Function Documentation

struct psb_intel_i2c_chan* psb_intel_i2c_create ( struct drm_device dev,
const u32  reg,
const char name 
)
read

Definition at line 116 of file intel_i2c.c.

void psb_intel_i2c_destroy ( struct psb_intel_i2c_chan chan)

psb_intel_i2c_destroy - unregister and free i2c bus resources : channel to free

Unregister the adapter from the i2c layer, then free the structure.

Definition at line 162 of file intel_i2c.c.