![]() |
|
|||
0001 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 0002 /* 0003 * Copyright (c) 2016, Linaro Ltd. 0004 */ 0005 0006 #ifndef _UAPI_RPMSG_H_ 0007 #define _UAPI_RPMSG_H_ 0008 0009 #include <linux/ioctl.h> 0010 #include <linux/types.h> 0011 0012 #define RPMSG_ADDR_ANY 0xFFFFFFFF 0013 0014 /** 0015 * struct rpmsg_endpoint_info - endpoint info representation 0016 * @name: name of service 0017 * @src: local address. To set to RPMSG_ADDR_ANY if not used. 0018 * @dst: destination address. To set to RPMSG_ADDR_ANY if not used. 0019 */ 0020 struct rpmsg_endpoint_info { 0021 char name[32]; 0022 __u32 src; 0023 __u32 dst; 0024 }; 0025 0026 /** 0027 * Instantiate a new rmpsg char device endpoint. 0028 */ 0029 #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) 0030 0031 /** 0032 * Destroy a rpmsg char device endpoint created by the RPMSG_CREATE_EPT_IOCTL. 0033 */ 0034 #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) 0035 0036 /** 0037 * Instantiate a new local rpmsg service device. 0038 */ 0039 #define RPMSG_CREATE_DEV_IOCTL _IOW(0xb5, 0x3, struct rpmsg_endpoint_info) 0040 0041 /** 0042 * Release a local rpmsg device. 0043 */ 0044 #define RPMSG_RELEASE_DEV_IOCTL _IOW(0xb5, 0x4, struct rpmsg_endpoint_info) 0045 0046 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |