Home
last modified time | relevance | path

Searched refs:i2c_bitbang (Results 1 – 9 of 9) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_bitbang.h28 struct i2c_bitbang { struct
43 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,
Di2c_bitbang.c42 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 …]
Di2c_litex.c40 ((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; \
Di2c_sbcon.c48 struct i2c_bitbang bitbang; /* Bit-bang library data */
Di2c_gpio.c49 struct i2c_bitbang bitbang; /* Bit-bang library data */
DCMakeLists.txt10 zephyr_library_sources_ifdef(CONFIG_I2C_BITBANG i2c_bitbang.c)
Di2c_ambiq.c279 struct i2c_bitbang bitbang_ctx; in i2c_ambiq_recover_bus()
Di2c_ll_stm32.c255 struct i2c_bitbang bitbang_ctx; in i2c_stm32_recover_bus()
Di2c_mcux_lpi2c.c259 struct i2c_bitbang bitbang_ctx; in mcux_lpi2c_recover_bus()