Searched refs:i2c_rtio (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/include/zephyr/drivers/i2c/ |
D | rtio.h | 21 struct i2c_rtio { struct 41 static struct i2c_rtio _name = { \ 60 void i2c_rtio_init(struct i2c_rtio *ctx, const struct device *dev); 71 bool i2c_rtio_complete(struct i2c_rtio *ctx, int status); 79 bool i2c_rtio_submit(struct i2c_rtio *ctx, struct rtio_iodev_sqe *iodev_sqe); 89 int i2c_rtio_configure(struct i2c_rtio *ctx, uint32_t i2c_config); 99 int i2c_rtio_transfer(struct i2c_rtio *ctx, struct i2c_msg *msgs, uint8_t num_msgs, uint16_t addr); 109 int i2c_rtio_recover(struct i2c_rtio *ctx);
|
/Zephyr-latest/tests/drivers/i2c/i2c_ram/src/ |
D | test_i2c_ram.c | 179 RTIO_DEFINE(i2c_rtio, 2, 2); 187 wr_sqe = rtio_sqe_acquire(&i2c_rtio); in ZTEST() 190 zassert_ok(rtio_submit(&i2c_rtio, 1), "submit should succeed"); in ZTEST() 192 wr_cqe = rtio_cqe_consume(&i2c_rtio); in ZTEST() 194 rtio_cqe_release(&i2c_rtio, wr_cqe); in ZTEST() 203 wr_sqe = rtio_sqe_acquire(&i2c_rtio); in ZTEST() 204 rd_sqe = rtio_sqe_acquire(&i2c_rtio); in ZTEST() 209 zassert_ok(rtio_submit(&i2c_rtio, 2), "submit should succeed"); in ZTEST() 211 wr_cqe = rtio_cqe_consume(&i2c_rtio); in ZTEST() 212 rd_cqe = rtio_cqe_consume(&i2c_rtio); in ZTEST() [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_nrfx_twi_rtio.c | 24 struct i2c_rtio *ctx; 42 struct i2c_rtio *ctx = dev_data->ctx; in i2c_nrfx_twi_rtio_msg_start() 65 struct i2c_rtio *ctx = dev_data->ctx; in i2c_nrfx_twi_rtio_start() 98 struct i2c_rtio *const ctx = data->ctx; in i2c_nrfx_twi_rtio_complete() 110 struct i2c_rtio *const ctx = ((struct i2c_nrfx_twi_rtio_data *) in i2c_nrfx_twi_rtio_configure() 119 struct i2c_rtio *const ctx = ((struct i2c_nrfx_twi_rtio_data *) in i2c_nrfx_twi_rtio_transfer() 127 struct i2c_rtio *const ctx = ((struct i2c_nrfx_twi_rtio_data *) in i2c_nrfx_twi_rtio_recover_bus() 148 struct i2c_rtio *const ctx = data->ctx; in i2c_nrfx_twi_rtio_submit()
|
D | i2c_rtio.c | 15 LOG_MODULE_REGISTER(i2c_rtio); 55 void i2c_rtio_init(struct i2c_rtio *ctx, const struct device *dev) in i2c_rtio_init() 73 static bool i2c_rtio_next(struct i2c_rtio *ctx, bool completion) in i2c_rtio_next() 101 bool i2c_rtio_complete(struct i2c_rtio *ctx, int status) in i2c_rtio_complete() 118 bool i2c_rtio_submit(struct i2c_rtio *ctx, struct rtio_iodev_sqe *iodev_sqe) in i2c_rtio_submit() 124 int i2c_rtio_transfer(struct i2c_rtio *ctx, struct i2c_msg *msgs, uint8_t num_msgs, uint16_t addr) in i2c_rtio_transfer() 157 int i2c_rtio_configure(struct i2c_rtio *ctx, uint32_t i2c_config) in i2c_rtio_configure() 189 int i2c_rtio_recover(struct i2c_rtio *ctx) in i2c_rtio_recover()
|
D | i2c_nrfx_twim_rtio.c | 25 struct i2c_rtio *ctx; 32 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_msg_start() 46 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_start() 94 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_complete() 107 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_configure() 116 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_transfer() 124 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_recover_bus() 132 struct i2c_rtio *ctx = config->ctx; in i2c_nrfx_twim_rtio_submit()
|
D | i2c_mcux_lpi2c_rtio.c | 58 struct i2c_rtio *ctx; 73 struct i2c_rtio *const ctx = ((struct mcux_lpi2c_data *) in mcux_lpi2c_configure() 139 struct i2c_rtio *ctx = data->ctx; in mcux_lpi2c_msg_start() 186 struct i2c_rtio *ctx = data->ctx; in mcux_lpi2c_start() 218 struct i2c_rtio *const ctx = data->ctx; in mcux_lpi2c_complete() 249 struct i2c_rtio *const ctx = data->ctx; in mcux_lpi2c_submit() 272 struct i2c_rtio *const ctx = ((struct mcux_lpi2c_data *) in mcux_lpi2c_transfer()
|
D | i2c_max32_rtio.c | 50 struct i2c_rtio *ctx; 62 struct i2c_rtio *const ctx = ((struct max32_i2c_data *) in max32_configure() 173 struct i2c_rtio *const ctx = ((struct max32_i2c_data *) in max32_transfer() 274 struct i2c_rtio *ctx = data->ctx; in max32_start() 304 struct i2c_rtio *const ctx = data->ctx; in max32_complete() 331 struct i2c_rtio *const ctx = data->ctx; in max32_submit()
|
D | i2c_sam_twihs_rtio.c | 56 struct i2c_rtio *ctx; 206 struct i2c_rtio *const ctx = ((struct i2c_sam_twihs_dev_data *) in i2c_sam_twihs_complete() 219 struct i2c_rtio *const ctx = ((struct i2c_sam_twihs_dev_data *) in i2c_sam_twihs_submit() 282 struct i2c_rtio *const ctx = ((struct i2c_sam_twihs_dev_data *) in i2c_sam_twihs_transfer()
|
D | i2c_rtio_default.c | 13 LOG_MODULE_DECLARE(i2c_rtio, CONFIG_I2C_LOG_LEVEL);
|
D | CMakeLists.txt | 15 i2c_rtio.c
|