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 | |
7 | #ifndef _UAPI_LINUX_VIRTIO_SCMI_H |
8 | #define _UAPI_LINUX_VIRTIO_SCMI_H |
9 | |
10 | #include <linux/virtio_types.h> |
11 | |
12 | /* Device implements some SCMI notifications, or delayed responses. */ |
13 | #define VIRTIO_SCMI_F_P2A_CHANNELS 0 |
14 | |
15 | /* Device implements any SCMI statistics shared memory region */ |
16 | #define VIRTIO_SCMI_F_SHARED_MEMORY 1 |
17 | |
18 | /* Virtqueues */ |
19 | |
20 | #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */ |
21 | #define VIRTIO_SCMI_VQ_RX 1 /* eventq */ |
22 | #define VIRTIO_SCMI_VQ_MAX_CNT 2 |
23 | |
24 | #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */ |
25 | |