zephyr/subsys/rtio
Yuval Peress dbb470ea7a rtio: Add a managed memory pool for reads
- Introduce a new Kconfig to enable mempool in RTIO
- Introduce a new RTIO_DEFINE_WITH_MEMPOOL to allocate an RTIO context
  with an associated memory pool.
- Add a new sqe read function rtio_sqe_read_with_pool() for memory pool
  enabled RTIO contexts
- Allow IODevs to allocate only the memory they need via rtio_sqe_rx_buf()
- Allow the consumer to get the allocated buffer via
  rtio_cqe_get_mempool_buffer()
- Consumers need to release the buffer via rtio_release_buffer() when
  processing is complete.

Signed-off-by: Yuval Peress <peress@google.com>
2023-04-10 18:34:43 -04:00
..
CMakeLists.txt rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
Kconfig rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
rtio_executor_common.h rtio: Add callback op 2023-04-03 09:51:02 +02:00
rtio_executor_concurrent.c rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
rtio_executor_simple.c rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
rtio_handlers.c rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00
rtio_userspace_init.c rtio: Add a managed memory pool for reads 2023-04-10 18:34:43 -04:00