Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | snd_i2c_device |
struct | snd_i2c_bit_ops |
struct | snd_i2c_ops |
struct | snd_i2c_bus |
Macros | |
#define | SND_I2C_DEVICE_ADDRTEN (1<<0) /* 10-bit I2C address */ |
#define | snd_i2c_device(n) list_entry(n, struct snd_i2c_device, list) |
#define | snd_i2c_slave_bus(n) list_entry(n, struct snd_i2c_bus, buses) |
Functions | |
int | snd_i2c_bus_create (struct snd_card *card, const char *name, struct snd_i2c_bus *master, struct snd_i2c_bus **ri2c) |
int | snd_i2c_device_create (struct snd_i2c_bus *bus, const char *name, unsigned char addr, struct snd_i2c_device **rdevice) |
int | snd_i2c_device_free (struct snd_i2c_device *device) |
int | snd_i2c_sendbytes (struct snd_i2c_device *device, unsigned char *bytes, int count) |
int | snd_i2c_readbytes (struct snd_i2c_device *device, unsigned char *bytes, int count) |
int | snd_i2c_probeaddr (struct snd_i2c_bus *bus, unsigned short addr) |
#define snd_i2c_device | ( | n | ) | list_entry(n, struct snd_i2c_device, list) |
#define snd_i2c_slave_bus | ( | n | ) | list_entry(n, struct snd_i2c_bus, buses) |
int snd_i2c_bus_create | ( | struct snd_card * | card, |
const char * | name, | ||
struct snd_i2c_bus * | master, | ||
struct snd_i2c_bus ** | ri2c | ||
) |
int snd_i2c_device_create | ( | struct snd_i2c_bus * | bus, |
const char * | name, | ||
unsigned char | addr, | ||
struct snd_i2c_device ** | rdevice | ||
) |
int snd_i2c_device_free | ( | struct snd_i2c_device * | device | ) |
int snd_i2c_probeaddr | ( | struct snd_i2c_bus * | bus, |
unsigned short | addr | ||
) |
int snd_i2c_readbytes | ( | struct snd_i2c_device * | device, |
unsigned char * | bytes, | ||
int | count | ||
) |