Lines Matching refs:i2c_diolan_u2c
77 struct i2c_diolan_u2c { struct
96 static int diolan_usb_transfer(struct i2c_diolan_u2c *dev) in diolan_usb_transfer() argument
156 static int diolan_write_cmd(struct i2c_diolan_u2c *dev, bool flush) in diolan_write_cmd()
164 static int diolan_usb_cmd(struct i2c_diolan_u2c *dev, u8 command, bool flush) in diolan_usb_cmd()
172 static int diolan_usb_cmd_data(struct i2c_diolan_u2c *dev, u8 command, u8 data, in diolan_usb_cmd_data()
182 static int diolan_usb_cmd_data2(struct i2c_diolan_u2c *dev, u8 command, u8 d1, in diolan_usb_cmd_data2()
198 static void diolan_flush_input(struct i2c_diolan_u2c *dev) in diolan_flush_input()
217 static int diolan_i2c_start(struct i2c_diolan_u2c *dev) in diolan_i2c_start()
222 static int diolan_i2c_repeated_start(struct i2c_diolan_u2c *dev) in diolan_i2c_repeated_start()
227 static int diolan_i2c_stop(struct i2c_diolan_u2c *dev) in diolan_i2c_stop()
232 static int diolan_i2c_get_byte_ack(struct i2c_diolan_u2c *dev, bool ack, in diolan_i2c_get_byte_ack()
246 static int diolan_i2c_put_byte_ack(struct i2c_diolan_u2c *dev, u8 byte) in diolan_i2c_put_byte_ack()
251 static int diolan_set_speed(struct i2c_diolan_u2c *dev, u8 speed) in diolan_set_speed()
257 static int diolan_set_clock_synch(struct i2c_diolan_u2c *dev, bool enable) in diolan_set_clock_synch()
263 static int diolan_set_clock_synch_timeout(struct i2c_diolan_u2c *dev, int ms) in diolan_set_clock_synch_timeout()
271 static void diolan_fw_version(struct i2c_diolan_u2c *dev) in diolan_fw_version()
283 static void diolan_get_serial(struct i2c_diolan_u2c *dev) in diolan_get_serial()
296 static int diolan_init(struct i2c_diolan_u2c *dev) in diolan_init()
342 struct i2c_diolan_u2c *dev = i2c_get_adapdata(adapter); in diolan_usb_xfer()
430 static void diolan_u2c_free(struct i2c_diolan_u2c *dev) in diolan_u2c_free()
440 struct i2c_diolan_u2c *dev; in diolan_u2c_probe()
498 struct i2c_diolan_u2c *dev = usb_get_intfdata(interface); in diolan_u2c_disconnect()