Changes

475 bytes added ,  17:29, 15 June 2017
Line 123: Line 123:  
| 0xC00C0016 || Inout || 12 || [[#NVHOST_IOCTL_CTRL_SYNCPT_WAIT]] ||
 
| 0xC00C0016 || Inout || 12 || [[#NVHOST_IOCTL_CTRL_SYNCPT_WAIT]] ||
 
|-
 
|-
| 0x40080017 || In || 8 || NVHOST_IOCTL_CTRL_MODULE_MUTEX ||
+
| 0x40080017 || In || 8 || [[#NVHOST_IOCTL_CTRL_MODULE_MUTEX]] ||
 
|-
 
|-
| 0xC0180018 || Inout || 24 || NVHOST32_IOCTL_CTRL_MODULE_REGRDWR ||
+
| 0xC0180018 || Inout || 24 || [[#NVHOST_IOCTL_CTRL_MODULE_REGRDWR]] ||
 
|-
 
|-
 
| 0xC0100019 || Inout || 16 || [[#NVHOST_IOCTL_CTRL_SYNCPT_WAITEX]] ||
 
| 0xC0100019 || Inout || 16 || [[#NVHOST_IOCTL_CTRL_SYNCPT_WAITEX]] ||
Line 166: Line 166:  
     u32 __thresh;      // in
 
     u32 __thresh;      // in
 
     s32 __timeout;    // in
 
     s32 __timeout;    // in
 +
  };
 +
 +
=== NVHOST_IOCTL_CTRL_MODULE_MUTEX ===
 +
Identical to Linux driver.
 +
 +
  struct {
 +
    u32 __id;          // in
 +
    u32 __lock;        // in (0==unlock; 1==lock)
 +
  };
 +
 +
=== NVHOST_IOCTL_CTRL_MODULE_REGRDWR ===
 +
Identical to Linux driver. Uses 32-bit version and doesn't work.
 +
 +
  struct {
 +
    u32 __id;          // in
 +
    u32 __num_offsets;  // in
 +
    u32 __block_size;  // in
 +
    u32 __offsets;      // in
 +
    u32 __values;      // in
 +
    u32 __write;        // in
 
   };
 
   };