Zephyr API 3.6.99
|
Compute the mempool block index for a given pointer. More...
#include <rtio.h>
Data Fields | |
struct rtio_sqe | sqe |
struct mpsc_node | q |
struct rtio_iodev_sqe * | next |
struct rtio * | r |
Compute the mempool block index for a given pointer.
[in] | r | RTIO context |
[in] | ptr | Memory pointer in the mempool |
IO device submission queue entry
May be cast safely to and from a rtio_sqe as they occupy the same memory provided by the pool
struct rtio_iodev_sqe* rtio_iodev_sqe::next |
struct mpsc_node rtio_iodev_sqe::q |
struct rtio* rtio_iodev_sqe::r |
struct rtio_sqe rtio_iodev_sqe::sqe |