Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
0002 /*
0003  * Copyright (C) 2020-2021 OpenSynergy GmbH
0004  * Copyright (C) 2021 ARM Ltd.
0005  */
0006 
0007 #ifndef _UAPI_LINUX_VIRTIO_SCMI_H
0008 #define _UAPI_LINUX_VIRTIO_SCMI_H
0009 
0010 #include <linux/virtio_types.h>
0011 
0012 /* Device implements some SCMI notifications, or delayed responses. */
0013 #define VIRTIO_SCMI_F_P2A_CHANNELS 0
0014 
0015 /* Device implements any SCMI statistics shared memory region */
0016 #define VIRTIO_SCMI_F_SHARED_MEMORY 1
0017 
0018 /* Virtqueues */
0019 
0020 #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */
0021 #define VIRTIO_SCMI_VQ_RX 1 /* eventq */
0022 #define VIRTIO_SCMI_VQ_MAX_CNT 2
0023 
0024 #endif /* _UAPI_LINUX_VIRTIO_SCMI_H */