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