Searched refs:i2c_bitbang (Results 1 – 8 of 8) sorted by relevance
28 struct i2c_bitbang { struct42 void i2c_bitbang_init(struct i2c_bitbang *bitbang,49 int i2c_bitbang_configure(struct i2c_bitbang *bitbang, uint32_t dev_config);55 int i2c_bitbang_recover_bus(struct i2c_bitbang *bitbang);61 int i2c_bitbang_transfer(struct i2c_bitbang *bitbang,
42 int i2c_bitbang_configure(struct i2c_bitbang *context, uint32_t dev_config) in i2c_bitbang_configure()66 static void i2c_set_scl(struct i2c_bitbang *context, int state) in i2c_set_scl()71 static void i2c_set_sda(struct i2c_bitbang *context, int state) in i2c_set_sda()76 static int i2c_get_sda(struct i2c_bitbang *context) in i2c_get_sda()90 static void i2c_start(struct i2c_bitbang *context) in i2c_start()109 static void i2c_repeated_start(struct i2c_bitbang *context) in i2c_repeated_start()119 static void i2c_stop(struct i2c_bitbang *context) in i2c_stop()132 static void i2c_write_bit(struct i2c_bitbang *context, int bit) in i2c_write_bit()142 static bool i2c_read_bit(struct i2c_bitbang *context) in i2c_read_bit()159 static bool i2c_write_byte(struct i2c_bitbang *context, uint8_t byte) in i2c_write_byte()[all …]
32 ((struct i2c_bitbang *) dev->data)87 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_init()97 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_configure()105 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_transfer()123 static struct i2c_bitbang i2c_bitbang_##n; \
42 struct i2c_bitbang bitbang; /* Bit-bang library data */
12 zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
49 struct i2c_bitbang bitbang; /* Bit-bang library data */
268 struct i2c_bitbang bitbang_ctx; in i2c_stm32_recover_bus()
247 struct i2c_bitbang bitbang_ctx; in mcux_lpi2c_recover_bus()