1*8d67ca89SAndroid Build Coastguard Worker /* 2*8d67ca89SAndroid Build Coastguard Worker * This file is auto-generated. Modifications will be lost. 3*8d67ca89SAndroid Build Coastguard Worker * 4*8d67ca89SAndroid Build Coastguard Worker * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/ 5*8d67ca89SAndroid Build Coastguard Worker * for more information. 6*8d67ca89SAndroid Build Coastguard Worker */ 7*8d67ca89SAndroid Build Coastguard Worker #ifndef _UAPI_RPMSG_H_ 8*8d67ca89SAndroid Build Coastguard Worker #define _UAPI_RPMSG_H_ 9*8d67ca89SAndroid Build Coastguard Worker #include <linux/ioctl.h> 10*8d67ca89SAndroid Build Coastguard Worker #include <linux/types.h> 11*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_ADDR_ANY 0xFFFFFFFF 12*8d67ca89SAndroid Build Coastguard Worker struct rpmsg_endpoint_info { 13*8d67ca89SAndroid Build Coastguard Worker char name[32]; 14*8d67ca89SAndroid Build Coastguard Worker __u32 src; 15*8d67ca89SAndroid Build Coastguard Worker __u32 dst; 16*8d67ca89SAndroid Build Coastguard Worker }; 17*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) 18*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) 19*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_CREATE_DEV_IOCTL _IOW(0xb5, 0x3, struct rpmsg_endpoint_info) 20*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_RELEASE_DEV_IOCTL _IOW(0xb5, 0x4, struct rpmsg_endpoint_info) 21*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_GET_OUTGOING_FLOWCONTROL _IOR(0xb5, 0x5, int) 22*8d67ca89SAndroid Build Coastguard Worker #define RPMSG_SET_INCOMING_FLOWCONTROL _IOR(0xb5, 0x6, int) 23*8d67ca89SAndroid Build Coastguard Worker #endif 24