Add a description of the IOCTLs and provide information on the default value of the source and destination addresses.
Showing the changes to include/uapi (1 of 1 file). Show all
Unified · Split
| @@ -14,8 +14,8 @@ · 13 unmodified lines | |||
| 14 | /** | 14 | /** |
| 15 | * struct rpmsg_endpoint_info - endpoint info representation | 15 | * struct rpmsg_endpoint_info - endpoint info representation |
| 16 | * @name: name of service | 16 | * @name: name of service |
| 17 | * @src: local address | 17 | * @src: local address. To set to RPMSG_ADDR_ANY if not used. |
| 18 | * @dst: destination address | 18 | * @dst: destination address. To set to RPMSG_ADDR_ANY if not used. |
| 19 | */ | 19 | */ |
| 20 | struct rpmsg_endpoint_info { | 20 | struct rpmsg_endpoint_info { |
| 21 | char name[32]; | 21 | char name[32]; |
| @@ -23,7 +23,14 @@ struct rpmsg_endpoint_info { · 1 unmodified line | |||
| 23 | __u32 dst; | 23 | __u32 dst; |
| 24 | }; | 24 | }; |
| 25 | 25 | ||
| 26 | /** | ||
| 27 | * Instantiate a new rmpsg char device endpoint. | ||
| 28 | */ | ||
| 26 | #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) | 29 | #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info) |
| 30 | |||
| 31 | /** | ||
| 32 | * Destroy a rpmsg char device endpoint created by the RPMSG_CREATE_EPT_IOCTL. | ||
| 33 | */ | ||
| 27 | #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) | 34 | #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2) |
| 28 | 35 | ||
| 29 | #endif | 36 | #endif |