Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
oxygen_io.c File Reference
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/export.h>
#include <sound/core.h>
#include <sound/mpu401.h>
#include <asm/io.h>
#include "oxygen.h"

Go to the source code of this file.

Functions

u8 oxygen_read8 (struct oxygen *chip, unsigned int reg)
 
 EXPORT_SYMBOL (oxygen_read8)
 
u16 oxygen_read16 (struct oxygen *chip, unsigned int reg)
 
 EXPORT_SYMBOL (oxygen_read16)
 
u32 oxygen_read32 (struct oxygen *chip, unsigned int reg)
 
 EXPORT_SYMBOL (oxygen_read32)
 
void oxygen_write8 (struct oxygen *chip, unsigned int reg, u8 value)
 
 EXPORT_SYMBOL (oxygen_write8)
 
void oxygen_write16 (struct oxygen *chip, unsigned int reg, u16 value)
 
 EXPORT_SYMBOL (oxygen_write16)
 
void oxygen_write32 (struct oxygen *chip, unsigned int reg, u32 value)
 
 EXPORT_SYMBOL (oxygen_write32)
 
void oxygen_write8_masked (struct oxygen *chip, unsigned int reg, u8 value, u8 mask)
 
 EXPORT_SYMBOL (oxygen_write8_masked)
 
void oxygen_write16_masked (struct oxygen *chip, unsigned int reg, u16 value, u16 mask)
 
 EXPORT_SYMBOL (oxygen_write16_masked)
 
void oxygen_write32_masked (struct oxygen *chip, unsigned int reg, u32 value, u32 mask)
 
 EXPORT_SYMBOL (oxygen_write32_masked)
 
void oxygen_write_ac97 (struct oxygen *chip, unsigned int codec, unsigned int index, u16 data)
 
 EXPORT_SYMBOL (oxygen_write_ac97)
 
u16 oxygen_read_ac97 (struct oxygen *chip, unsigned int codec, unsigned int index)
 
 EXPORT_SYMBOL (oxygen_read_ac97)
 
void oxygen_write_ac97_masked (struct oxygen *chip, unsigned int codec, unsigned int index, u16 data, u16 mask)
 
 EXPORT_SYMBOL (oxygen_write_ac97_masked)
 
void oxygen_write_spi (struct oxygen *chip, u8 control, unsigned int data)
 
 EXPORT_SYMBOL (oxygen_write_spi)
 
void oxygen_write_i2c (struct oxygen *chip, u8 device, u8 map, u8 data)
 
 EXPORT_SYMBOL (oxygen_write_i2c)
 
void oxygen_reset_uart (struct oxygen *chip)
 
 EXPORT_SYMBOL (oxygen_reset_uart)
 
void oxygen_write_uart (struct oxygen *chip, u8 data)
 
 EXPORT_SYMBOL (oxygen_write_uart)
 
u16 oxygen_read_eeprom (struct oxygen *chip, unsigned int index)
 
void oxygen_write_eeprom (struct oxygen *chip, unsigned int index, u16 value)
 

Function Documentation

EXPORT_SYMBOL ( oxygen_read8  )
EXPORT_SYMBOL ( oxygen_read16  )
EXPORT_SYMBOL ( oxygen_read32  )
EXPORT_SYMBOL ( oxygen_write8  )
EXPORT_SYMBOL ( oxygen_write16  )
EXPORT_SYMBOL ( oxygen_write32  )
EXPORT_SYMBOL ( oxygen_write8_masked  )
EXPORT_SYMBOL ( oxygen_write16_masked  )
EXPORT_SYMBOL ( oxygen_write32_masked  )
EXPORT_SYMBOL ( oxygen_write_ac97  )
EXPORT_SYMBOL ( oxygen_read_ac97  )
EXPORT_SYMBOL ( oxygen_write_ac97_masked  )
EXPORT_SYMBOL ( oxygen_write_spi  )
EXPORT_SYMBOL ( oxygen_write_i2c  )
EXPORT_SYMBOL ( oxygen_reset_uart  )
EXPORT_SYMBOL ( oxygen_write_uart  )
u16 oxygen_read16 ( struct oxygen chip,
unsigned int  reg 
)

Definition at line 34 of file oxygen_io.c.

u32 oxygen_read32 ( struct oxygen chip,
unsigned int  reg 
)

Definition at line 40 of file oxygen_io.c.

u8 oxygen_read8 ( struct oxygen chip,
unsigned int  reg 
)

Definition at line 28 of file oxygen_io.c.

u16 oxygen_read_ac97 ( struct oxygen chip,
unsigned int  codec,
unsigned int  index 
)

Definition at line 154 of file oxygen_io.c.

u16 oxygen_read_eeprom ( struct oxygen chip,
unsigned int  index 
)

Definition at line 250 of file oxygen_io.c.

void oxygen_reset_uart ( struct oxygen chip)

Definition at line 236 of file oxygen_io.c.

void oxygen_write16 ( struct oxygen chip,
unsigned int  reg,
u16  value 
)

Definition at line 53 of file oxygen_io.c.

void oxygen_write16_masked ( struct oxygen chip,
unsigned int  reg,
u16  value,
u16  mask 
)

Definition at line 78 of file oxygen_io.c.

void oxygen_write32 ( struct oxygen chip,
unsigned int  reg,
u32  value 
)

Definition at line 60 of file oxygen_io.c.

void oxygen_write32_masked ( struct oxygen chip,
unsigned int  reg,
u32  value,
u32  mask 
)

Definition at line 89 of file oxygen_io.c.

void oxygen_write8 ( struct oxygen chip,
unsigned int  reg,
u8  value 
)

Definition at line 46 of file oxygen_io.c.

void oxygen_write8_masked ( struct oxygen chip,
unsigned int  reg,
u8  value,
u8  mask 
)

Definition at line 67 of file oxygen_io.c.

void oxygen_write_ac97 ( struct oxygen chip,
unsigned int  codec,
unsigned int  index,
u16  data 
)

Definition at line 129 of file oxygen_io.c.

void oxygen_write_ac97_masked ( struct oxygen chip,
unsigned int  codec,
unsigned int  index,
u16  data,
u16  mask 
)

Definition at line 187 of file oxygen_io.c.

void oxygen_write_eeprom ( struct oxygen chip,
unsigned int  index,
u16  value 
)

Definition at line 265 of file oxygen_io.c.

void oxygen_write_i2c ( struct oxygen chip,
u8  device,
u8  map,
u8  data 
)

Definition at line 217 of file oxygen_io.c.

void oxygen_write_spi ( struct oxygen chip,
u8  control,
unsigned int  data 
)

Definition at line 197 of file oxygen_io.c.

void oxygen_write_uart ( struct oxygen chip,
u8  data 
)

Definition at line 244 of file oxygen_io.c.