zephyr/drivers/i2c
Tom Burdick 24762115d4 i2c: Fix default RTIO handler transactions
Transactions from RTIO should result in single calls to i2c_transfer.
This corrects the default handler to first count the number of
submissions in the transaction, allocate on the stack, and then copy
over each submission to an equivalent i2c_msg.

It also cleans up the helper functions to be infallible, taking only the
submission and msg to copy to.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2024-10-22 18:29:34 -04:00
..
target
CMakeLists.txt i2c: nrfx_twim: native RTIO support 2024-10-21 15:53:05 +02:00
Kconfig i2c: Fix default RTIO handler transactions 2024-10-22 18:29:34 -04:00
Kconfig.ambiq drivers: i2c: add bus recovery 2024-10-22 20:40:29 +02:00
Kconfig.andes_atciic100
Kconfig.b91
Kconfig.bcm_iproc
Kconfig.cc13xx_cc26xx
Kconfig.dw
Kconfig.ene
Kconfig.esp32
Kconfig.gd32
Kconfig.gpio
Kconfig.i2c_emul
Kconfig.ifx_cat1 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.ifx_xmc4 drivers: Remove CONFIG_PINCTRL in defconfig files 2024-09-23 18:08:14 -04:00
Kconfig.it8xxx2 ITE: it8xxx2: Remove CONFIG_PINCTRL from soc defconfig file 2024-10-15 13:52:55 +02:00
Kconfig.litex
Kconfig.lpc11u6x boards: nxp: Removing CONFIG_PINCTRL from the boards defconfig 2024-10-15 19:09:45 -04:00
Kconfig.max32
Kconfig.mchp_mss
Kconfig.mcux
Kconfig.npcx
Kconfig.nrfx
Kconfig.numaker
Kconfig.rcar
Kconfig.renesas_ra
Kconfig.sam0
Kconfig.sam_twihs
Kconfig.sbcon
Kconfig.sc18im704
Kconfig.sedi
Kconfig.sifive
Kconfig.smartbond da1469x: Remove CONFIG_PINCTRL from all defconfig files 2024-10-08 16:57:41 +02:00
Kconfig.stm32 drivers: i2c: stm32: add support for STM32WB0 2024-10-17 10:49:34 -04:00
Kconfig.tca954x
Kconfig.test
Kconfig.xec
Kconfig.xilinx_axi
gpio_i2c_switch.c
i2c-priv.h
i2c_ambiq.c drivers: i2c: add bus recovery 2024-10-22 20:40:29 +02:00
i2c_andes_atciic100.c
i2c_andes_atciic100.h
i2c_b91.c
i2c_bcm_iproc.c
i2c_bitbang.c
i2c_bitbang.h
i2c_cc13xx_cc26xx.c
i2c_cc32xx.c
i2c_common.c
i2c_dw.c drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_dw.h drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_dw_registers.h drivers: i2c: Designware IP clang format pass 2024-10-07 20:15:54 -04:00
i2c_emul.c
i2c_ene_kb1200.c
i2c_esp32.c zephyr: bulk update to DT_NODE_HAS_STATUS_OKAY 2024-10-03 17:06:52 +01:00
i2c_gd32.c
i2c_gecko.c drivers: i2c: i2c_gecko: add exclusive access 2024-10-15 19:05:24 +01:00
i2c_gpio.c
i2c_handlers.c
i2c_ifx_cat1.c
i2c_ifx_xmc4.c
i2c_imx.c
i2c_ite_enhance.c drivers/i2c: it8xxx2: Add a property for maximum time allowed I2C transfer 2024-09-18 19:56:43 +01:00
i2c_ite_it8xxx2.c drivers/i2c: it8xxx2: Add a property for maximum time allowed I2C transfer 2024-09-18 19:56:43 +01:00
i2c_litex.c
i2c_ll_stm32.c
i2c_ll_stm32.h
i2c_ll_stm32_v1.c
i2c_ll_stm32_v2.c
i2c_lpc11u6x.c
i2c_lpc11u6x.h
i2c_max32.c
i2c_mchp_mss.c
i2c_mchp_xec.c
i2c_mchp_xec_v2.c
i2c_mcux.c
i2c_mcux_flexcomm.c
i2c_mcux_lpi2c.c
i2c_mcux_lpi2c_rtio.c
i2c_nios2.c
i2c_npcx_controller.c style: drivers: adjust `return` usage in `void functions` 2024-09-18 09:56:16 +02:00
i2c_npcx_controller.h
i2c_npcx_port.c
i2c_nrfx_twi.c
i2c_nrfx_twi_common.c
i2c_nrfx_twi_common.h
i2c_nrfx_twi_rtio.c
i2c_nrfx_twim.c i2c: i2c_nrfx_twim: update callback context to dev 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_common.c i2c: i2c_nrfx_twim: update callback context to dev 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_common.h i2c: i2c_nrfx_twim: extract common code 2024-10-21 15:53:05 +02:00
i2c_nrfx_twim_rtio.c i2c: nrfx_twim: native RTIO support 2024-10-21 15:53:05 +02:00
i2c_numaker.c
i2c_rcar.c
i2c_renesas_ra_iic.c drivers: i2c: change to use IRQ_CONNECT in Renesas RA i2c driver 2024-09-23 10:01:26 +02:00
i2c_rtio.c
i2c_rtio_default.c i2c: Fix default RTIO handler transactions 2024-10-22 18:29:34 -04:00
i2c_rv32m1_lpi2c.c
i2c_sam0.c
i2c_sam4l_twim.c
i2c_sam_twi.c
i2c_sam_twihs.c
i2c_sam_twihs_rtio.c
i2c_sbcon.c
i2c_sc18im704.c
i2c_sc18im704.h
i2c_sedi.c
i2c_shell.c
i2c_sifive.c
i2c_smartbond.c i2c_smartbond: Don't set STOP flag to last message 2024-09-28 08:20:41 -05:00
i2c_tca954x.c
i2c_test.c
i2c_xilinx_axi.c
i2c_xilinx_axi.h