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

Go to the source code of this file.

Macros

#define TARGET_HW_I2C_CLOCK   50
 
#define ATOM_MAX_HW_I2C_WRITE   2
 
#define ATOM_MAX_HW_I2C_READ   255
 

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)
 

Macro Definition Documentation

#define ATOM_MAX_HW_I2C_READ   255

Definition at line 34 of file atombios_i2c.c.

#define ATOM_MAX_HW_I2C_WRITE   2

Definition at line 33 of file atombios_i2c.c.

#define TARGET_HW_I2C_CLOCK   50

Definition at line 30 of file atombios_i2c.c.

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.