Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
radeon_i2c.c File Reference
#include <linux/export.h>
#include <drm/drmP.h>
#include <drm/drm_edid.h>
#include <drm/radeon_drm.h>
#include "radeon.h"
#include "atom.h"

Go to the source code of this file.

Functions

int radeon_atom_hw_i2c_xfer (struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
 
u32 radeon_atom_hw_i2c_func (struct i2c_adapter *adap)
 
bool radeon_ddc_probe (struct radeon_connector *radeon_connector)
 
struct radeon_i2c_chanradeon_i2c_create (struct drm_device *dev, struct radeon_i2c_bus_rec *rec, const char *name)
 
struct radeon_i2c_chanradeon_i2c_create_dp (struct drm_device *dev, struct radeon_i2c_bus_rec *rec, const char *name)
 
void radeon_i2c_destroy (struct radeon_i2c_chan *i2c)
 
void radeon_i2c_init (struct radeon_device *rdev)
 
void radeon_i2c_fini (struct radeon_device *rdev)
 
void radeon_i2c_add (struct radeon_device *rdev, struct radeon_i2c_bus_rec *rec, const char *name)
 
struct radeon_i2c_chanradeon_i2c_lookup (struct radeon_device *rdev, struct radeon_i2c_bus_rec *i2c_bus)
 
struct drm_encoderradeon_best_encoder (struct drm_connector *connector)
 
void radeon_i2c_get_byte (struct radeon_i2c_chan *i2c_bus, u8 slave_addr, u8 addr, u8 *val)
 
void radeon_i2c_put_byte (struct radeon_i2c_chan *i2c_bus, u8 slave_addr, u8 addr, u8 val)
 
void radeon_router_select_ddc_port (struct radeon_connector *radeon_connector)
 
void radeon_router_select_cd_port (struct radeon_connector *radeon_connector)
 

Function Documentation

u32 radeon_atom_hw_i2c_func ( struct i2c_adapter adap)

Definition at line 135 of file atombios_i2c.c.

int radeon_atom_hw_i2c_xfer ( struct i2c_adapter i2c_adap,
struct i2c_msg msgs,
int  num 
)

Definition at line 85 of file atombios_i2c.c.

struct drm_encoder* radeon_best_encoder ( struct drm_connector connector)
read

Definition at line 1067 of file radeon_i2c.c.

bool radeon_ddc_probe ( struct radeon_connector radeon_connector)

radeon_ddc_probe

Definition at line 42 of file radeon_i2c.c.

void radeon_i2c_add ( struct radeon_device rdev,
struct radeon_i2c_bus_rec rec,
const char name 
)

Definition at line 1037 of file radeon_i2c.c.

struct radeon_i2c_chan* radeon_i2c_create ( struct drm_device dev,
struct radeon_i2c_bus_rec rec,
const char name 
)
read

Definition at line 895 of file radeon_i2c.c.

struct radeon_i2c_chan* radeon_i2c_create_dp ( struct drm_device dev,
struct radeon_i2c_bus_rec rec,
const char name 
)
read

Definition at line 971 of file radeon_i2c.c.

void radeon_i2c_destroy ( struct radeon_i2c_chan i2c)

Definition at line 1006 of file radeon_i2c.c.

void radeon_i2c_fini ( struct radeon_device rdev)

Definition at line 1024 of file radeon_i2c.c.

void radeon_i2c_get_byte ( struct radeon_i2c_chan i2c_bus,
u8  slave_addr,
u8  addr,
u8 val 
)

Definition at line 1072 of file radeon_i2c.c.

void radeon_i2c_init ( struct radeon_device rdev)

Definition at line 1015 of file radeon_i2c.c.

struct radeon_i2c_chan* radeon_i2c_lookup ( struct radeon_device rdev,
struct radeon_i2c_bus_rec i2c_bus 
)
read

Definition at line 1053 of file radeon_i2c.c.

void radeon_i2c_put_byte ( struct radeon_i2c_chan i2c_bus,
u8  slave_addr,
u8  addr,
u8  val 
)

Definition at line 1106 of file radeon_i2c.c.

void radeon_router_select_cd_port ( struct radeon_connector radeon_connector)

Definition at line 1156 of file radeon_i2c.c.

void radeon_router_select_ddc_port ( struct radeon_connector radeon_connector)

Definition at line 1128 of file radeon_i2c.c.