Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
i2c.c File Reference
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/string.h>
#include <linux/errno.h>
#include <sound/core.h>
#include <sound/i2c.h>

Go to the source code of this file.

Functions

 MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>")
 
 MODULE_DESCRIPTION ("Generic i2c interface for ALSA")
 
 MODULE_LICENSE ("GPL")
 
int snd_i2c_bus_create (struct snd_card *card, const char *name, struct snd_i2c_bus *master, struct snd_i2c_bus **ri2c)
 
 EXPORT_SYMBOL (snd_i2c_bus_create)
 
int snd_i2c_device_create (struct snd_i2c_bus *bus, const char *name, unsigned char addr, struct snd_i2c_device **rdevice)
 
 EXPORT_SYMBOL (snd_i2c_device_create)
 
int snd_i2c_device_free (struct snd_i2c_device *device)
 
 EXPORT_SYMBOL (snd_i2c_device_free)
 
int snd_i2c_sendbytes (struct snd_i2c_device *device, unsigned char *bytes, int count)
 
 EXPORT_SYMBOL (snd_i2c_sendbytes)
 
int snd_i2c_readbytes (struct snd_i2c_device *device, unsigned char *bytes, int count)
 
 EXPORT_SYMBOL (snd_i2c_readbytes)
 
int snd_i2c_probeaddr (struct snd_i2c_bus *bus, unsigned short addr)
 
 EXPORT_SYMBOL (snd_i2c_probeaddr)
 

Function Documentation

EXPORT_SYMBOL ( snd_i2c_bus_create  )
EXPORT_SYMBOL ( snd_i2c_device_create  )
EXPORT_SYMBOL ( snd_i2c_device_free  )
EXPORT_SYMBOL ( snd_i2c_sendbytes  )
EXPORT_SYMBOL ( snd_i2c_readbytes  )
EXPORT_SYMBOL ( snd_i2c_probeaddr  )
MODULE_AUTHOR ( "Jaroslav Kysela <[email protected]>"  )
MODULE_DESCRIPTION ( "Generic i2c interface for ALSA"  )
MODULE_LICENSE ( "GPL"  )
int snd_i2c_bus_create ( struct snd_card card,
const char name,
struct snd_i2c_bus master,
struct snd_i2c_bus **  ri2c 
)

Definition at line 79 of file i2c.c.

int snd_i2c_device_create ( struct snd_i2c_bus bus,
const char name,
unsigned char  addr,
struct snd_i2c_device **  rdevice 
)

Definition at line 113 of file i2c.c.

int snd_i2c_device_free ( struct snd_i2c_device device)

Definition at line 134 of file i2c.c.

int snd_i2c_probeaddr ( struct snd_i2c_bus bus,
unsigned short  addr 
)

Definition at line 160 of file i2c.c.

int snd_i2c_readbytes ( struct snd_i2c_device device,
unsigned char bytes,
int  count 
)

Definition at line 153 of file i2c.c.

int snd_i2c_sendbytes ( struct snd_i2c_device device,
unsigned char bytes,
int  count 
)

Definition at line 146 of file i2c.c.