1*b6f53ae0SMilan Zamazal /* 2*b6f53ae0SMilan Zamazal * virtio-scmi structures 3*b6f53ae0SMilan Zamazal * 4*b6f53ae0SMilan Zamazal * SPDX-FileCopyrightText: Red Hat, Inc. 5*b6f53ae0SMilan Zamazal * SPDX-License-Identifier: GPL-2.0-or-later 6*b6f53ae0SMilan Zamazal */ 7*b6f53ae0SMilan Zamazal 8*b6f53ae0SMilan Zamazal #ifndef TESTS_LIBQOS_VIRTIO_SCMI_H 9*b6f53ae0SMilan Zamazal #define TESTS_LIBQOS_VIRTIO_SCMI_H 10*b6f53ae0SMilan Zamazal 11*b6f53ae0SMilan Zamazal #include "qgraph.h" 12*b6f53ae0SMilan Zamazal #include "virtio.h" 13*b6f53ae0SMilan Zamazal #include "virtio-pci.h" 14*b6f53ae0SMilan Zamazal 15*b6f53ae0SMilan Zamazal typedef struct QVhostUserSCMI QVhostUserSCMI; 16*b6f53ae0SMilan Zamazal typedef struct QVhostUserSCMIPCI QVhostUserSCMIPCI; 17*b6f53ae0SMilan Zamazal typedef struct QVhostUserSCMIDevice QVhostUserSCMIDevice; 18*b6f53ae0SMilan Zamazal 19*b6f53ae0SMilan Zamazal struct QVhostUserSCMI { 20*b6f53ae0SMilan Zamazal QVirtioDevice *vdev; 21*b6f53ae0SMilan Zamazal QVirtQueue **queues; 22*b6f53ae0SMilan Zamazal }; 23*b6f53ae0SMilan Zamazal 24*b6f53ae0SMilan Zamazal struct QVhostUserSCMIPCI { 25*b6f53ae0SMilan Zamazal QVirtioPCIDevice pci_vdev; 26*b6f53ae0SMilan Zamazal QVhostUserSCMI scmi; 27*b6f53ae0SMilan Zamazal }; 28*b6f53ae0SMilan Zamazal 29*b6f53ae0SMilan Zamazal struct QVhostUserSCMIDevice { 30*b6f53ae0SMilan Zamazal QOSGraphObject obj; 31*b6f53ae0SMilan Zamazal QVhostUserSCMI scmi; 32*b6f53ae0SMilan Zamazal }; 33*b6f53ae0SMilan Zamazal 34*b6f53ae0SMilan Zamazal #endif 35