Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
netup-eeprom.c File Reference
#include "cx23885.h"
#include "netup-eeprom.h"

Go to the source code of this file.

Macros

#define EEPROM_I2C_ADDR   0x50
 

Functions

int netup_eeprom_read (struct i2c_adapter *i2c_adap, u8 addr)
 
int netup_eeprom_write (struct i2c_adapter *i2c_adap, u8 addr, u8 data)
 
void netup_get_card_info (struct i2c_adapter *i2c_adap, struct netup_card_info *cinfo)
 

Macro Definition Documentation

#define EEPROM_I2C_ADDR   0x50

Definition at line 30 of file netup-eeprom.c.

Function Documentation

int netup_eeprom_read ( struct i2c_adapter i2c_adap,
u8  addr 
)

Definition at line 32 of file netup-eeprom.c.

int netup_eeprom_write ( struct i2c_adapter i2c_adap,
u8  addr,
u8  data 
)

Definition at line 66 of file netup-eeprom.c.

void netup_get_card_info ( struct i2c_adapter i2c_adap,
struct netup_card_info cinfo 
)

Definition at line 95 of file netup-eeprom.c.