Lines Matching defs:ki2c
49 struct ki2c { struct
58 static int ki2c_inuse_lock(struct ki2c *ki2c) in ki2c_inuse_lock()
86 static void ki2c_inuse_unlock(struct ki2c *ki2c) in ki2c_inuse_unlock()
100 static int ki2c_wait_for_mcf(struct ki2c *ki2c) in ki2c_wait_for_mcf()
106 static int ki2c_wait_for_data(struct ki2c *ki2c) in ki2c_wait_for_data()
119 static int ki2c_wait_for_data_ack(struct ki2c *ki2c) in ki2c_wait_for_data_ack()
136 static int ki2c_has_capability(struct ki2c *ki2c, unsigned int cap) in ki2c_has_capability()
143 static int ki2c_get_scl(struct ki2c *ki2c) in ki2c_get_scl()
151 static int ki2c_get_sda(struct ki2c *ki2c) in ki2c_get_sda()
159 static void ki2c_set_scl(struct ki2c *ki2c, int val) in ki2c_set_scl()
182 static int ki2c_reset_bus_bitwise(struct ki2c *ki2c) in ki2c_reset_bus_bitwise()
237 static int ki2c_reset_bus_bytewise(struct ki2c *ki2c) in ki2c_reset_bus_bytewise()
264 static int ki2c_reset_bus(struct ki2c *ki2c) in ki2c_reset_bus()
286 static void ki2c_write_target_addr(struct ki2c *ki2c, struct i2c_msg *m) in ki2c_write_target_addr()
298 static int ki2c_start_addr(struct ki2c *ki2c, struct i2c_msg *m) in ki2c_start_addr()
328 static int ki2c_repstart_addr(struct ki2c *ki2c, struct i2c_msg *m) in ki2c_repstart_addr()
361 static void ki2c_stop(struct ki2c *ki2c) in ki2c_stop()
367 static int ki2c_write(struct ki2c *ki2c, const u8 *data, int len) in ki2c_write()
384 static int ki2c_read(struct ki2c *ki2c, u8 *data, int len) in ki2c_read()
430 struct ki2c *ki2c = i2c_get_adapdata(adap); in ki2c_xfer() local
463 static void ki2c_unregister_devices(struct ki2c *ki2c) in ki2c_unregister_devices()
475 static int ki2c_register_devices(struct ki2c *ki2c) in ki2c_register_devices()
516 struct ki2c *ki2c; in ki2c_probe() local
572 struct ki2c *ki2c = auxiliary_get_drvdata(auxdev); in ki2c_remove() local