Merge tag 'pull-loongarch-20241016' of https://gitlab.com/gaosong/qemu into staging
[qemu/armbru.git] / include / standard-headers / linux / virtio_scmi.h
blob8f2c305aea0e2c54af89bbb7e43d34181267ad79
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 */
7 #ifndef _LINUX_VIRTIO_SCMI_H
8 #define _LINUX_VIRTIO_SCMI_H
10 #include "standard-headers/linux/virtio_types.h"
12 /* Device implements some SCMI notifications, or delayed responses. */
13 #define VIRTIO_SCMI_F_P2A_CHANNELS 0
15 /* Device implements any SCMI statistics shared memory region */
16 #define VIRTIO_SCMI_F_SHARED_MEMORY 1
18 /* Virtqueues */
20 #define VIRTIO_SCMI_VQ_TX 0 /* cmdq */
21 #define VIRTIO_SCMI_VQ_RX 1 /* eventq */
22 #define VIRTIO_SCMI_VQ_MAX_CNT 2
24 #endif /* _LINUX_VIRTIO_SCMI_H */