Lines Matching defs:dev
50 static int em28xx_i2c_timeout(struct em28xx *dev) in em28xx_i2c_timeout()
73 static int em2800_i2c_send_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_send_bytes()
125 static int em2800_i2c_recv_bytes(struct em28xx *dev, u8 addr, u8 *buf, u16 len) in em2800_i2c_recv_bytes()
185 static int em2800_i2c_check_for_device(struct em28xx *dev, u8 addr) in em2800_i2c_check_for_device()
199 static int em28xx_i2c_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em28xx_i2c_send_bytes()
269 static int em28xx_i2c_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, u16 len) in em28xx_i2c_recv_bytes()
335 static int em28xx_i2c_check_for_device(struct em28xx *dev, u16 addr) in em28xx_i2c_check_for_device()
350 static int em25xx_bus_B_send_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_send_bytes()
403 static int em25xx_bus_B_recv_bytes(struct em28xx *dev, u16 addr, u8 *buf, in em25xx_bus_B_recv_bytes()
458 static int em25xx_bus_B_check_for_device(struct em28xx *dev, u16 addr) in em25xx_bus_B_check_for_device()
476 struct em28xx *dev = i2c_bus->dev; in i2c_check_for_device() local
491 struct em28xx *dev = i2c_bus->dev; in i2c_recv_bytes() local
507 struct em28xx *dev = i2c_bus->dev; in i2c_send_bytes() local
528 struct em28xx *dev = i2c_bus->dev; in em28xx_i2c_xfer() local
632 static int em28xx_i2c_read_block(struct em28xx *dev, unsigned int bus, u16 addr, in em28xx_i2c_read_block()
670 static int em28xx_i2c_eeprom(struct em28xx *dev, unsigned int bus, in em28xx_i2c_eeprom()
940 void em28xx_do_i2c_scan(struct em28xx *dev, unsigned int bus) in em28xx_do_i2c_scan()
968 int em28xx_i2c_register(struct em28xx *dev, unsigned int bus, in em28xx_i2c_register()
1022 int em28xx_i2c_unregister(struct em28xx *dev, unsigned int bus) in em28xx_i2c_unregister()