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