18cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/**************************************************************************** 28cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes **************************************************************************** 38cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 48cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** This header was automatically generated from a Linux kernel header 58cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** of the same name, to make information necessary for userspace to 68cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** call into the kernel available to libc. It contains only constants, 78cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** structures, and macros generated from the original header, and thus, 88cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** contains no copyrightable information. 98cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 108cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** To edit the content of this header, modify the corresponding 118cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** source file (e.g. under external/kernel-headers/original/) then 128cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** run bionic/libc/kernel/tools/update_all.py 138cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 148cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** Any manual change here will be lost the next time this script will 158cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** be run. You've been warned! 168cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes *** 178cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes **************************************************************************** 188cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes ****************************************************************************/ 198cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#ifndef _UAPI_LINUX_SYNC_H 208cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#define _UAPI_LINUX_SYNC_H 218cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#include <linux/ioctl.h> 228cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#include <linux/types.h> 238cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 248cb52b056cfc302e05304d847c4228dff15715cfElliott Hughesstruct sync_merge_data { 258cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __s32 fd2; 268cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes char name[32]; 278cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __s32 fence; 288cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 298cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes}; 308cb52b056cfc302e05304d847c4228dff15715cfElliott Hughesstruct sync_pt_info { 318cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __u32 len; 328cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes char obj_name[32]; 338cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 348cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes char driver_name[32]; 358cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __s32 status; 368cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __u64 timestamp_ns; 378cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __u8 driver_data[0]; 388cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 398cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes}; 408cb52b056cfc302e05304d847c4228dff15715cfElliott Hughesstruct sync_fence_info_data { 418cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __u32 len; 428cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes char name[32]; 438cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 448cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __s32 status; 458cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes __u8 pt_info[0]; 468cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes}; 478cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#define SYNC_IOC_MAGIC '>' 488cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 498cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#define SYNC_IOC_WAIT _IOW(SYNC_IOC_MAGIC, 0, __s32) 508cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#define SYNC_IOC_MERGE _IOWR(SYNC_IOC_MAGIC, 1, struct sync_merge_data) 518cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#define SYNC_IOC_FENCE_INFO _IOWR(SYNC_IOC_MAGIC, 2, struct sync_fence_info_data) 528cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes#endif 538cb52b056cfc302e05304d847c4228dff15715cfElliott Hughes/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54