libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Macros
nv_ioc.h File Reference

/dev/nvmap ioctl structures and definitions More...

Go to the source code of this file.

Data Structures

struct  nvhost_ioc_ctrl_syncpt_wait_args
 
struct  nvhost_ioc_ctrl_event_wait_args
 
struct  nvmap_ioc_create_args
 Args to create an nvmap object. More...
 
struct  nvmap_ioc_from_id_args
 Args to get the handle to an existing nvmap object. More...
 
struct  nvmap_ioc_alloc_args
 Memory allocation args structure for the nvmap object. More...
 
struct  nvmap_ioc_free_args
 Memory freeing args structure for the nvmap object. More...
 
struct  nvmap_ioc_param_args
 Info query args structure for an nvmap object. More...
 
struct  nvmap_ioc_get_id_args
 ID query args structure for an nvmap object. More...
 

Macros

#define NVHOST_IOC_CTRL_SYNCPT_READ   0xC0080014
 
#define NVHOST_IOC_CTRL_SYNCPT_INCR   0x40040015
 
#define NVHOST_IOC_CTRL_SYNCPT_WAIT   0xC00C0016
 
#define NVHOST_IOC_CTRL_MODULE_MUTEX   0x40080017
 
#define NVHOST_IOC_CTRL_MODULE_REGRDWR   0xC0180018
 
#define NVHOST_IOC_CTRL_SYNCPT_WAITEX   0xC0100019
 
#define NVHOST_IOC_CTRL_SYNCPT_READ_MAX   0xC008001A
 
#define NVHOST_IOC_CTRL_GET_CONFIG   0xC183001B
 
#define NVHOST_IOC_CTRL_EVENT_SIGNAL   0xC004001C
 
#define NVHOST_IOC_CTRL_EVENT_WAIT   0xC010001D
 
#define NVHOST_IOC_CTRL_EVENT_WAIT_ASYNC   0xC010001E
 
#define NVHOST_IOC_CTRL_EVENT_REGISTER   0xC004001F
 
#define NVHOST_IOC_CTRL_EVENT_UNREGISTER   0xC0040020
 
#define NVHOST_IOC_CTRL_EVENT_KILL   0x40080021
 
#define NVMAP_IOC_CREATE   0xC0080101
 
#define NVMAP_IOC_FROM_ID   0xC0080103
 
#define NVMAP_IOC_ALLOC   0xC0200104
 
#define NVMAP_IOC_FREE   0xC0180105
 
#define NVMAP_IOC_PARAM   0xC00C0109
 
#define NVMAP_IOC_GET_ID   0xC008010E
 

Detailed Description

/dev/nvmap ioctl structures and definitions