1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Lin 1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2 /* 2 /* 3 * Copyright (C) 2020-2021 OpenSynergy GmbH 3 * Copyright (C) 2020-2021 OpenSynergy GmbH 4 * Copyright (C) 2021 ARM Ltd. 4 * Copyright (C) 2021 ARM Ltd. 5 */ 5 */ 6 6 7 #ifndef _UAPI_LINUX_VIRTIO_SCMI_H 7 #ifndef _UAPI_LINUX_VIRTIO_SCMI_H 8 #define _UAPI_LINUX_VIRTIO_SCMI_H 8 #define _UAPI_LINUX_VIRTIO_SCMI_H 9 9 10 #include <linux/virtio_types.h> 10 #include <linux/virtio_types.h> 11 11 12 /* Device implements some SCMI notifications, 12 /* Device implements some SCMI notifications, or delayed responses. */ 13 #define VIRTIO_SCMI_F_P2A_CHANNELS 0 13 #define VIRTIO_SCMI_F_P2A_CHANNELS 0 14 14 15 /* Device implements any SCMI statistics share 15 /* Device implements any SCMI statistics shared memory region */ 16 #define VIRTIO_SCMI_F_SHARED_MEMORY 1 16 #define VIRTIO_SCMI_F_SHARED_MEMORY 1 17 17 18 /* Virtqueues */ 18 /* Virtqueues */ 19 19 20 #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */ 20 #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */ 21 #define VIRTIO_SCMI_VQ_RX 1 /* eventq */ 21 #define VIRTIO_SCMI_VQ_RX 1 /* eventq */ 22 #define VIRTIO_SCMI_VQ_MAX_CNT 2 22 #define VIRTIO_SCMI_VQ_MAX_CNT 2 23 23 24 #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */ 24 #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */ 25 25
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.