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

Go to the source code of this file.

Data Structures

struct  gmbus_port
 

Macros

#define I2C_RISEFALL_TIME   10
 

Functions

void intel_i2c_reset (struct drm_device *dev)
 
int intel_setup_gmbus (struct drm_device *dev)
 
struct i2c_adapterintel_gmbus_get_adapter (struct drm_i915_private *dev_priv, unsigned port)
 
void intel_gmbus_set_speed (struct i2c_adapter *adapter, int speed)
 
void intel_gmbus_force_bit (struct i2c_adapter *adapter, bool force_bit)
 
void intel_teardown_gmbus (struct drm_device *dev)
 

Macro Definition Documentation

#define I2C_RISEFALL_TIME   10

Definition at line 53 of file intel_i2c.c.

Function Documentation

void intel_gmbus_force_bit ( struct i2c_adapter adapter,
bool  force_bit 
)

Definition at line 531 of file intel_i2c.c.

struct i2c_adapter* intel_gmbus_get_adapter ( struct drm_i915_private dev_priv,
unsigned  port 
)
read

Definition at line 515 of file intel_i2c.c.

void intel_gmbus_set_speed ( struct i2c_adapter adapter,
int  speed 
)

Definition at line 524 of file intel_i2c.c.

void intel_i2c_reset ( struct drm_device dev)

Definition at line 62 of file intel_i2c.c.

int intel_setup_gmbus ( struct drm_device dev)

intel_gmbus_setup - instantiate all Intel i2c GMBuses : DRM device

Definition at line 461 of file intel_i2c.c.

void intel_teardown_gmbus ( struct drm_device dev)

Definition at line 538 of file intel_i2c.c.