Zephyr API Documentation 4.3.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rtio_iodev_api Struct Reference

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

#include <zephyr/rtio/rtio.h>

Data Fields

void(* submit )(struct rtio_iodev_sqe *iodev_sqe)
 Submit to the iodev an entry to work on.

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.

API that an RTIO IO device should implement

Field Documentation

◆ submit

void(* rtio_iodev_api::submit) (struct rtio_iodev_sqe *iodev_sqe)

Submit to the iodev an entry to work on.

This call should be short in duration and most likely either enqueue or kick off an entry with the hardware.

Parameters
iodev_sqeSubmission queue entry

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