Searched refs:i2c_bitbang (Results 1 – 9 of 9) sorted by relevance
28 struct i2c_bitbang { struct43 void i2c_bitbang_init(struct i2c_bitbang *bitbang,50 int i2c_bitbang_configure(struct i2c_bitbang *bitbang, uint32_t dev_config);56 int i2c_bitbang_get_config(struct i2c_bitbang *context, uint32_t *config);62 int i2c_bitbang_recover_bus(struct i2c_bitbang *bitbang);68 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()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()[all …]
40 ((struct i2c_bitbang *) dev->data)95 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_init()112 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_configure()119 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_get_config()127 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_transfer()134 struct i2c_bitbang *bitbang = GET_I2C_BITBANG(dev); in i2c_litex_recover_bus()158 static struct i2c_bitbang i2c_bitbang_##n; \
48 struct i2c_bitbang bitbang; /* Bit-bang library data */
49 struct i2c_bitbang bitbang; /* Bit-bang library data */
10 zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
279 struct i2c_bitbang bitbang_ctx; in i2c_ambiq_recover_bus()
255 struct i2c_bitbang bitbang_ctx; in i2c_stm32_recover_bus()
259 struct i2c_bitbang bitbang_ctx; in mcux_lpi2c_recover_bus()