virtio_scmi.h 652 B

123456789101112131415161718192021222324
  1. /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
  2. /*
  3. * Copyright (C) 2020-2021 OpenSynergy GmbH
  4. * Copyright (C) 2021 ARM Ltd.
  5. */
  6. #ifndef _UAPI_LINUX_VIRTIO_SCMI_H
  7. #define _UAPI_LINUX_VIRTIO_SCMI_H
  8. #include <linux/virtio_types.h>
  9. /* Device implements some SCMI notifications, or delayed responses. */
  10. #define VIRTIO_SCMI_F_P2A_CHANNELS 0
  11. /* Device implements any SCMI statistics shared memory region */
  12. #define VIRTIO_SCMI_F_SHARED_MEMORY 1
  13. /* Virtqueues */
  14. #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */
  15. #define VIRTIO_SCMI_VQ_RX 1 /* eventq */
  16. #define VIRTIO_SCMI_VQ_MAX_CNT 2
  17. #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */