Zephyr API 3.6.99
|
RTIO CQE Flags . More...
Macros | |
#define | RTIO_CQE_FLAG_MEMPOOL_BUFFER BIT(0) |
The entry's buffer was allocated from the RTIO's mempool. | |
#define | RTIO_CQE_FLAG_GET(flags) |
#define | RTIO_CQE_FLAG_MEMPOOL_GET_BLK_IDX(flags) |
Get the block index of a mempool flags. | |
#define | RTIO_CQE_FLAG_MEMPOOL_GET_BLK_CNT(flags) |
Get the block count of a mempool flags. | |
#define | RTIO_CQE_FLAG_PREP_MEMPOOL(blk_idx, blk_cnt) |
Prepare CQE flags for a mempool read. | |
RTIO CQE Flags .
#define RTIO_CQE_FLAG_GET | ( | flags | ) |
#include <zephyr/rtio/rtio.h>
#define RTIO_CQE_FLAG_MEMPOOL_BUFFER BIT(0) |
#include <zephyr/rtio/rtio.h>
The entry's buffer was allocated from the RTIO's mempool.
If this bit is set, the buffer was allocated from the memory pool and should be recycled as soon as the application is done with it.
#define RTIO_CQE_FLAG_MEMPOOL_GET_BLK_CNT | ( | flags | ) |
#include <zephyr/rtio/rtio.h>
Get the block count of a mempool flags.
flags | The CQE flags value |
#define RTIO_CQE_FLAG_MEMPOOL_GET_BLK_IDX | ( | flags | ) |
#include <zephyr/rtio/rtio.h>
Get the block index of a mempool flags.
flags | The CQE flags value |
#define RTIO_CQE_FLAG_PREP_MEMPOOL | ( | blk_idx, | |
blk_cnt ) |
#include <zephyr/rtio/rtio.h>
Prepare CQE flags for a mempool read.
blk_idx | The mempool block index |
blk_cnt | The mempool block count |