|
MLIR-AIE
|
#include <linux/ioctl.h>#include <linux/types.h>
Include dependency graph for ion.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | ion_allocation_data |
| DOC: Ion Userspace API. More... | |
| struct | ion_heap_data |
| struct ion_heap_data - data about a heap More... | |
| struct | ion_heap_query |
| struct ion_heap_query - collection of data about all heaps More... | |
Macros | |
| #define | ION_NUM_HEAP_IDS (sizeof(unsigned int) * 8) |
| #define | ION_FLAG_CACHED 1 |
| allocation flags - the lower 16 bits are used by core ion, the upper 16 bits are reserved for use by the heaps themselves. | |
| #define | MAX_HEAP_NAME 32 |
| #define | ION_IOC_MAGIC 'I' |
| #define | ION_IOC_ALLOC _IOWR(ION_IOC_MAGIC, 0, struct ion_allocation_data) |
| DOC: ION_IOC_ALLOC - allocate memory. | |
| #define | ION_IOC_HEAP_QUERY _IOWR(ION_IOC_MAGIC, 8, struct ion_heap_query) |
| DOC: ION_IOC_HEAP_QUERY - information about available heaps. | |
Enumerations | |
| enum | ion_heap_type { ION_HEAP_TYPE_SYSTEM , ION_HEAP_TYPE_SYSTEM_CONTIG , ION_HEAP_TYPE_CARVEOUT , ION_HEAP_TYPE_CHUNK , ION_HEAP_TYPE_DMA , ION_HEAP_TYPE_CUSTOM } |
| enum ion_heap_types - list of all possible types of heaps More... | |
| #define ION_FLAG_CACHED 1 |
| #define ION_IOC_ALLOC _IOWR(ION_IOC_MAGIC, 0, struct ion_allocation_data) |
DOC: ION_IOC_ALLOC - allocate memory.
Takes an ion_allocation_data struct and returns it with the handle field populated with the opaque handle for the allocation.
| #define ION_IOC_HEAP_QUERY _IOWR(ION_IOC_MAGIC, 8, struct ion_heap_query) |
DOC: ION_IOC_HEAP_QUERY - information about available heaps.
Takes an ion_heap_query structure and populates information about available Ion heaps.
| enum ion_heap_type |
enum ion_heap_types - list of all possible types of heaps