blob: ea75dce16b6b926f8cc22ef4c202810671f004c5 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferris525ce912017-07-26 13:12:53 -07007#ifndef _UAPI_RPMSG_H_
8#define _UAPI_RPMSG_H_
Christopher Ferris82d75042015-01-26 10:57:07 -08009#include <linux/ioctl.h>
10#include <linux/types.h>
Christopher Ferrisfcc3b4f2021-07-01 01:30:21 +000011#define RPMSG_ADDR_ANY 0xFFFFFFFF
Christopher Ferris525ce912017-07-26 13:12:53 -070012struct rpmsg_endpoint_info {
13 char name[32];
14 __u32 src;
15 __u32 dst;
Christopher Ferris82d75042015-01-26 10:57:07 -080016};
Christopher Ferris525ce912017-07-26 13:12:53 -070017#define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
18#define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
Christopher Ferris10a76e62022-06-08 13:31:52 -070019#define RPMSG_CREATE_DEV_IOCTL _IOW(0xb5, 0x3, struct rpmsg_endpoint_info)
20#define RPMSG_RELEASE_DEV_IOCTL _IOW(0xb5, 0x4, struct rpmsg_endpoint_info)
Christopher Ferris67d1e5e2023-10-31 13:36:37 -070021#define RPMSG_GET_OUTGOING_FLOWCONTROL _IOR(0xb5, 0x5, int)
22#define RPMSG_SET_INCOMING_FLOWCONTROL _IOR(0xb5, 0x6, int)
Christopher Ferris82d75042015-01-26 10:57:07 -080023#endif