Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rtio_iodev_sqe Struct Reference

Compute the mempool block index for a given pointer. More...

#include <rtio.h>

Data Fields

struct rtio_sqe sqe
 
struct rtio_mpsc_node q
 
struct rtio_iodev_sqenext
 
struct rtior
 

Detailed Description

Compute the mempool block index for a given pointer.

Parameters
[in]rRTIO context
[in]ptrMemory pointer in the mempool
Returns
Index of the mempool block associated with the pointer. Or UINT16_MAX if invalid.

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

Field Documentation

◆ next

struct rtio_iodev_sqe* rtio_iodev_sqe::next

◆ q

struct rtio_mpsc_node rtio_iodev_sqe::q

◆ r

struct rtio* rtio_iodev_sqe::r

◆ sqe

struct rtio_sqe rtio_iodev_sqe::sqe

The documentation for this struct was generated from the following file: