snd_i2c_bus
int snd_cs8427_init(struct snd_i2c_bus *bus, struct snd_i2c_device *device);
int snd_cs8427_create(struct snd_i2c_bus *bus, unsigned char addr,
struct snd_i2c_bus *bus; /* I2C bus */
void (*start)(struct snd_i2c_bus *bus); /* transfer start */
void (*stop)(struct snd_i2c_bus *bus); /* transfer stop */
void (*direction)(struct snd_i2c_bus *bus, int clock, int data); /* set line direction (0 = write, 1 = read) */
void (*setlines)(struct snd_i2c_bus *bus, int clock, int data);
int (*getclock)(struct snd_i2c_bus *bus);
int (*getdata)(struct snd_i2c_bus *bus, int ack);
int (*probeaddr)(struct snd_i2c_bus *bus, unsigned short addr);
struct snd_i2c_bus *master; /* master bus when SCK/SCL is shared */
void (*private_free)(struct snd_i2c_bus *bus);
#define snd_i2c_slave_bus(n) list_entry(n, struct snd_i2c_bus, buses)
struct snd_i2c_bus *master, struct snd_i2c_bus **ri2c);
int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name,
static inline void snd_i2c_lock(struct snd_i2c_bus *bus)
static inline void snd_i2c_unlock(struct snd_i2c_bus *bus)
int snd_i2c_probeaddr(struct snd_i2c_bus *bus, unsigned short addr);
struct snd_i2c_bus *i2c_bus;
int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer);
int snd_tea6330t_update_mixer(struct snd_card *card, struct snd_i2c_bus *bus,
int snd_cs8427_init(struct snd_i2c_bus *bus,
int snd_cs8427_create(struct snd_i2c_bus *bus,
int snd_i2c_probeaddr(struct snd_i2c_bus *bus, unsigned short addr)
static inline void snd_i2c_bit_hw_start(struct snd_i2c_bus *bus)
static inline void snd_i2c_bit_hw_stop(struct snd_i2c_bus *bus)
static void snd_i2c_bit_direction(struct snd_i2c_bus *bus, int clock, int data)
static void snd_i2c_bit_set(struct snd_i2c_bus *bus, int clock, int data)
static int snd_i2c_bit_clock(struct snd_i2c_bus *bus)
static int snd_i2c_bit_data(struct snd_i2c_bus *bus, int ack)
static void snd_i2c_bit_start(struct snd_i2c_bus *bus)
static void snd_i2c_bit_stop(struct snd_i2c_bus *bus)
static void snd_i2c_bit_send(struct snd_i2c_bus *bus, int data)
static int snd_i2c_bit_ack(struct snd_i2c_bus *bus)
static int snd_i2c_bit_sendbyte(struct snd_i2c_bus *bus, unsigned char data)
static int snd_i2c_bit_readbyte(struct snd_i2c_bus *bus, int last)
static int snd_i2c_bit_probeaddr(struct snd_i2c_bus *bus,
struct snd_i2c_bus *bus = device->bus;
struct snd_i2c_bus *bus = device->bus;
static int snd_i2c_bit_probeaddr(struct snd_i2c_bus *bus, unsigned short addr)
static int snd_i2c_bus_free(struct snd_i2c_bus *bus)
struct snd_i2c_bus *slave;
struct snd_i2c_bus *bus = device->device_data;
struct snd_i2c_bus *master, struct snd_i2c_bus **ri2c)
struct snd_i2c_bus *bus;
int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name,
struct snd_i2c_bus *bus,
struct snd_i2c_bus *bus;
int snd_tea6330t_detect(struct snd_i2c_bus *bus, int equalizer)
static void snd_interwave_i2c_setlines(struct snd_i2c_bus *bus, int ctrl, int data)
static int snd_interwave_i2c_getclockline(struct snd_i2c_bus *bus)
static int snd_interwave_i2c_getdataline(struct snd_i2c_bus *bus, int ack)
struct snd_i2c_bus **rbus)
struct snd_i2c_bus *bus;
, struct snd_i2c_bus **rbus
struct snd_i2c_bus *i2c_bus;
static int ap_cs8427_probeaddr(struct snd_i2c_bus *bus, unsigned short addr)
static void ewx_i2c_direction(struct snd_i2c_bus *bus, int clock, int data)
static void ewx_i2c_setlines(struct snd_i2c_bus *bus, int clk, int data)
static int ewx_i2c_getclock(struct snd_i2c_bus *bus)
static int ewx_i2c_getdata(struct snd_i2c_bus *bus, int ack)
static void ewx_i2c_start(struct snd_i2c_bus *bus)
static void ewx_i2c_stop(struct snd_i2c_bus *bus)
struct snd_i2c_bus *i2c; /* I2C bus */
static void revo_i2c_setlines(struct snd_i2c_bus *bus, int clk, int data)
static int revo_i2c_getdata(struct snd_i2c_bus *bus, int ack)
static void revo_i2c_start(struct snd_i2c_bus *bus)
static void revo_i2c_stop(struct snd_i2c_bus *bus)
static void revo_i2c_direction(struct snd_i2c_bus *bus, int clock, int data)