Lines Matching defs:bus
34 static int snd_i2c_bus_free(struct snd_i2c_bus *bus) in snd_i2c_bus_free()
61 struct snd_i2c_bus *bus = device->device_data; in snd_i2c_bus_dev_free() local
68 struct snd_i2c_bus *bus; in snd_i2c_bus_create() local
99 int snd_i2c_device_create(struct snd_i2c_bus *bus, const char *name, in snd_i2c_device_create()
146 int snd_i2c_probeaddr(struct snd_i2c_bus *bus, unsigned short addr) in snd_i2c_probeaddr()
157 static inline void snd_i2c_bit_hw_start(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_start()
163 static inline void snd_i2c_bit_hw_stop(struct snd_i2c_bus *bus) in snd_i2c_bit_hw_stop()
169 static void snd_i2c_bit_direction(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_direction()
175 static void snd_i2c_bit_set(struct snd_i2c_bus *bus, int clock, int data) in snd_i2c_bit_set()
189 static int snd_i2c_bit_data(struct snd_i2c_bus *bus, int ack) in snd_i2c_bit_data()
194 static void snd_i2c_bit_start(struct snd_i2c_bus *bus) in snd_i2c_bit_start()
203 static void snd_i2c_bit_stop(struct snd_i2c_bus *bus) in snd_i2c_bit_stop()
211 static void snd_i2c_bit_send(struct snd_i2c_bus *bus, int data) in snd_i2c_bit_send()
218 static int snd_i2c_bit_ack(struct snd_i2c_bus *bus) in snd_i2c_bit_ack()
231 static int snd_i2c_bit_sendbyte(struct snd_i2c_bus *bus, unsigned char data) in snd_i2c_bit_sendbyte()
243 static int snd_i2c_bit_readbyte(struct snd_i2c_bus *bus, int last) in snd_i2c_bit_readbyte()
264 struct snd_i2c_bus *bus = device->bus; in snd_i2c_bit_sendbytes() local
290 struct snd_i2c_bus *bus = device->bus; in snd_i2c_bit_readbytes() local
314 static int snd_i2c_bit_probeaddr(struct snd_i2c_bus *bus, unsigned short addr) in snd_i2c_bit_probeaddr()