Lines Matching refs:i2c_bitbang
42 int i2c_bitbang_configure(struct i2c_bitbang *context, uint32_t dev_config) in i2c_bitbang_configure()
68 int i2c_bitbang_get_config(struct i2c_bitbang *context, uint32_t *config) in i2c_bitbang_get_config()
79 static void i2c_set_scl(struct i2c_bitbang *context, int state) in i2c_set_scl()
84 static void i2c_set_sda(struct i2c_bitbang *context, int state) in i2c_set_sda()
89 static int i2c_get_sda(struct i2c_bitbang *context) in i2c_get_sda()
103 static void i2c_start(struct i2c_bitbang *context) in i2c_start()
122 static void i2c_repeated_start(struct i2c_bitbang *context) in i2c_repeated_start()
132 static void i2c_stop(struct i2c_bitbang *context) in i2c_stop()
145 static void i2c_write_bit(struct i2c_bitbang *context, int bit) in i2c_write_bit()
155 static bool i2c_read_bit(struct i2c_bitbang *context) in i2c_read_bit()
172 static bool i2c_write_byte(struct i2c_bitbang *context, uint8_t byte) in i2c_write_byte()
184 static uint8_t i2c_read_byte(struct i2c_bitbang *context) in i2c_read_byte()
196 int i2c_bitbang_transfer(struct i2c_bitbang *context, in i2c_bitbang_transfer()
277 int i2c_bitbang_recover_bus(struct i2c_bitbang *context) in i2c_bitbang_recover_bus()
317 void i2c_bitbang_init(struct i2c_bitbang *context, in i2c_bitbang_init()