rpmsg.h 554 B

12345678910111213141516171819202122232425262728
  1. /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
  2. /*
  3. * Copyright (c) 2016, Linaro Ltd.
  4. */
  5. #ifndef _UAPI_RPMSG_H_
  6. #define _UAPI_RPMSG_H_
  7. #include <linux/ioctl.h>
  8. #include <linux/types.h>
  9. /**
  10. * struct rpmsg_endpoint_info - endpoint info representation
  11. * @name: name of service
  12. * @src: local address
  13. * @dst: destination address
  14. */
  15. struct rpmsg_endpoint_info {
  16. char name[32];
  17. __u32 src;
  18. __u32 dst;
  19. };
  20. #define RPMSG_CREATE_EPT_IOCTL _IOW(0xb5, 0x1, struct rpmsg_endpoint_info)
  21. #define RPMSG_DESTROY_EPT_IOCTL _IO(0xb5, 0x2)
  22. #endif