Lines Matching refs:em28xx
3 // em28xx-i2c.c - driver for Empia EM2800/EM2820/2840 USB video capture devices
11 #include "em28xx.h"
50 static int em28xx_i2c_timeout(struct em28xx *dev)
73 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len)
125 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len)
185 static int em2800_i2c_check_for_device(struct em28xx *dev, u8 addr)
199 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf,
269 static int em28xx_i2c_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, u16 len)
335 static int em28xx_i2c_check_for_device(struct em28xx *dev, u16 addr)
350 static int em25xx_bus_B_send_bytes(struct em28xx *dev, u16 addr, u8 *buf,
403 static int em25xx_bus_B_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf,
458 static int em25xx_bus_B_check_for_device(struct em28xx *dev, u16 addr)
476 struct em28xx *dev = i2c_bus->dev;
491 struct em28xx *dev = i2c_bus->dev;
507 struct em28xx *dev = i2c_bus->dev;
528 struct em28xx *dev = i2c_bus->dev;
632 static int em28xx_i2c_read_block(struct em28xx *dev, unsigned int bus, u16 addr,
670 static int em28xx_i2c_eeprom(struct em28xx *dev, unsigned int bus,
713 print_hex_dump(KERN_DEBUG, "em28xx eeprom ", DUMP_PREFIX_OFFSET,
902 .name = "em28xx",
907 .name = "em28xx internal",
940 void em28xx_do_i2c_scan(struct em28xx *dev, unsigned int bus)
968 int em28xx_i2c_register(struct em28xx *dev, unsigned int bus,
1022 int em28xx_i2c_unregister(struct em28xx *dev, unsigned int bus)