Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
io.c File Reference
#include <linux/ip.h>
#include "2t3e3.h"
#include "ctrl.h"

Go to the source code of this file.

Macros

#define cpld_write_nolock(channel, reg, val)   bootrom_write((channel), CPLD_MAP_REG(reg, channel), val)
 

Functions

u32 cpld_read (struct channel *channel, u32 reg)
 
u32 bootrom_read (struct channel *channel, u32 reg)
 
void bootrom_write (struct channel *channel, u32 reg, u32 val)
 
u32 t3e3_eeprom_read_word (struct channel *channel, u32 address)
 
u32 exar7250_read (struct channel *channel, u32 reg)
 
void exar7250_write (struct channel *channel, u32 reg, u32 val)
 
u32 exar7300_read (struct channel *channel, u32 reg)
 
void exar7300_write (struct channel *channel, u32 reg, u32 val)
 

Macro Definition Documentation

#define cpld_write_nolock (   channel,
  reg,
  val 
)    bootrom_write((channel), CPLD_MAP_REG(reg, channel), val)

Definition at line 21 of file io.c.

Function Documentation

u32 bootrom_read ( struct channel channel,
u32  reg 
)

Definition at line 39 of file io.c.

void bootrom_write ( struct channel channel,
u32  reg,
u32  val 
)

Definition at line 63 of file io.c.

u32 cpld_read ( struct channel channel,
u32  reg 
)

Definition at line 24 of file io.c.

u32 exar7250_read ( struct channel channel,
u32  reg 
)

Definition at line 197 of file io.c.

void exar7250_write ( struct channel channel,
u32  reg,
u32  val 
)

Definition at line 212 of file io.c.

u32 exar7300_read ( struct channel channel,
u32  reg 
)

Definition at line 232 of file io.c.

void exar7300_write ( struct channel channel,
u32  reg,
u32  val 
)

Definition at line 279 of file io.c.

u32 t3e3_eeprom_read_word ( struct channel channel,
u32  address 
)

Definition at line 144 of file io.c.