Lines Matching refs:versatile_i2c_priv
23 struct versatile_i2c_priv { struct
28 static inline void versatile_sda_set(struct versatile_i2c_priv *priv, u8 state) in versatile_sda_set() argument
34 static inline int versatile_sda_get(struct versatile_i2c_priv *priv) in versatile_sda_get()
42 static inline void versatile_scl_set(struct versatile_i2c_priv *priv, u8 state) in versatile_scl_set()
48 static inline int versatile_scl_get(struct versatile_i2c_priv *priv) in versatile_scl_get()
57 static void versatile_i2c_start(struct versatile_i2c_priv *priv) in versatile_i2c_start()
66 static void versatile_i2c_stop(struct versatile_i2c_priv *priv) in versatile_i2c_stop()
75 static u8 versatile_i2c_read_bit(struct versatile_i2c_priv *priv) in versatile_i2c_read_bit()
85 static void versatile_i2c_write_bit(struct versatile_i2c_priv *priv, u8 bit) in versatile_i2c_write_bit()
94 static void versatile_i2c_reset_bus(struct versatile_i2c_priv *priv) in versatile_i2c_reset_bus()
105 static int versatile_i2c_write_byte(struct versatile_i2c_priv *priv, u8 byte) in versatile_i2c_write_byte()
121 static int versatile_i2c_read_byte(struct versatile_i2c_priv *priv, in versatile_i2c_read_byte()
137 static int versatile_i2c_send_slave_addr(struct versatile_i2c_priv *priv, in versatile_i2c_send_slave_addr()
183 static int versatile_i2c_message_xfer(struct versatile_i2c_priv *priv, in versatile_i2c_message_xfer()
213 struct versatile_i2c_priv *priv = dev_get_priv(bus); in versatile_i2c_xfer()
231 struct versatile_i2c_priv *priv = dev_get_priv(bus); in versatile_i2c_chip_probe()
238 struct versatile_i2c_priv *priv = dev_get_priv(bus); in versatile_i2c_set_bus_speed()
249 struct versatile_i2c_priv *priv = dev_get_priv(dev); in versatile_i2c_probe()
278 .priv_auto_alloc_size = sizeof(struct versatile_i2c_priv),