Searched refs:io_context (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.7.0/drivers/i2c/ |
D | i2c_bitbang.h | 14 void (*set_scl)(void *io_context, int state); 16 void (*set_sda)(void *io_context, int state); 18 int (*get_sda)(void *io_context); 30 void *io_context; member 44 const struct i2c_bitbang_io *io, void *io_context);
|
D | i2c_sbcon.c | 51 static void i2c_sbcon_set_scl(void *io_context, int state) in i2c_sbcon_set_scl() argument 53 struct sbcon *sbcon = io_context; in i2c_sbcon_set_scl() 62 static void i2c_sbcon_set_sda(void *io_context, int state) in i2c_sbcon_set_sda() argument 64 struct sbcon *sbcon = io_context; in i2c_sbcon_set_sda() 73 static int i2c_sbcon_get_sda(void *io_context) in i2c_sbcon_get_sda() argument 75 struct sbcon *sbcon = io_context; in i2c_sbcon_get_sda()
|
D | i2c_gpio.c | 53 static void i2c_gpio_set_scl(void *io_context, int state) in i2c_gpio_set_scl() argument 55 const struct i2c_gpio_config *config = io_context; in i2c_gpio_set_scl() 60 static void i2c_gpio_set_sda(void *io_context, int state) in i2c_gpio_set_sda() argument 62 const struct i2c_gpio_config *config = io_context; in i2c_gpio_set_sda() 67 static int i2c_gpio_get_sda(void *io_context) in i2c_gpio_get_sda() argument 69 const struct i2c_gpio_config *config = io_context; in i2c_gpio_get_sda()
|
D | i2c_bitbang.c | 81 context->io->set_scl(context->io_context, state); in i2c_set_scl() 86 context->io->set_sda(context->io_context, state); in i2c_set_sda() 91 return context->io->get_sda(context->io_context); in i2c_get_sda() 318 const struct i2c_bitbang_io *io, void *io_context) in i2c_bitbang_init() argument 321 context->io_context = io_context; in i2c_bitbang_init()
|
D | i2c_ll_stm32.c | 228 static void i2c_stm32_bitbang_set_scl(void *io_context, int state) in i2c_stm32_bitbang_set_scl() argument 230 const struct i2c_stm32_config *config = io_context; in i2c_stm32_bitbang_set_scl() 235 static void i2c_stm32_bitbang_set_sda(void *io_context, int state) in i2c_stm32_bitbang_set_sda() argument 237 const struct i2c_stm32_config *config = io_context; in i2c_stm32_bitbang_set_sda() 242 static int i2c_stm32_bitbang_get_sda(void *io_context) in i2c_stm32_bitbang_get_sda() argument 244 const struct i2c_stm32_config *config = io_context; in i2c_stm32_bitbang_get_sda()
|
D | i2c_mcux_lpi2c.c | 234 static void mcux_lpi2c_bitbang_set_scl(void *io_context, int state) in mcux_lpi2c_bitbang_set_scl() argument 236 const struct mcux_lpi2c_config *config = io_context; in mcux_lpi2c_bitbang_set_scl() 241 static void mcux_lpi2c_bitbang_set_sda(void *io_context, int state) in mcux_lpi2c_bitbang_set_sda() argument 243 const struct mcux_lpi2c_config *config = io_context; in mcux_lpi2c_bitbang_set_sda() 248 static int mcux_lpi2c_bitbang_get_sda(void *io_context) in mcux_lpi2c_bitbang_get_sda() argument 250 const struct mcux_lpi2c_config *config = io_context; in mcux_lpi2c_bitbang_get_sda()
|