Home
last modified time | relevance | path

Searched refs:VirtmmioDev (Results 1 – 12 of 12) sorted by relevance

/device/qemu/riscv32_virt/liteos_m/board/driver/
Dvirtmmio.c24 static inline uint32_t VirtioGetStatus(const struct VirtmmioDev *dev) in VirtioGetStatus()
29 static inline void VirtioAddStatus(const struct VirtmmioDev *dev, uint32_t val) in VirtioAddStatus()
34 static inline void VirtioResetStatus(const struct VirtmmioDev *dev) in VirtioResetStatus()
39 bool VirtmmioDiscover(uint32_t devId, struct VirtmmioDev *dev) in VirtmmioDiscover()
70 void VirtmmioInitBegin(const struct VirtmmioDev *dev) in VirtmmioInitBegin()
78 void VritmmioInitEnd(const struct VirtmmioDev *dev) in VritmmioInitEnd()
83 void VirtmmioInitFailed(const struct VirtmmioDev *dev) in VirtmmioInitFailed()
88 static bool Negotiate(struct VirtmmioDev *baseDev, uint32_t nth, VirtioFeatureFn fn, void *dev) in Negotiate()
111 bool VirtmmioNegotiate(struct VirtmmioDev *baseDev, VirtioFeatureFn f0, VirtioFeatureFn f1, void *d… in VirtmmioNegotiate()
137 static void WriteQueueAddr(uint64_t addr, const struct VirtmmioDev *dev, uint32_t regLow) in WriteQueueAddr()
[all …]
Dvirtmmio.h135 struct VirtmmioDev { struct
144 bool VirtmmioDiscover(uint32_t devId, struct VirtmmioDev *dev); argument
146 void VirtmmioInitBegin(const struct VirtmmioDev *dev);
152 bool VirtmmioNegotiate(struct VirtmmioDev *baseDev, VirtioFeatureFn f0, VirtioFeatureFn f1, void *d…
158 VADDR_T VirtmmioConfigQueue(struct VirtmmioDev *dev, VADDR_T base, uint16_t qsz[], int num);
160 bool VirtmmioRegisterIRQ(struct VirtmmioDev *dev, HWI_PROC_FUNC handle, void *argDev, const char *d…
162 void VritmmioInitEnd(const struct VirtmmioDev *dev);
164 void VirtmmioInitFailed(const struct VirtmmioDev *dev);
Dvirtinput.c84 struct VirtmmioDev dev;
Dvirtnet.c130 struct VirtmmioDev dev;
Dvirtgpu.c118 struct VirtmmioDev dev;
/device/qemu/drivers/virtio/
Dvirtmmio.c19 static inline uint32_t VirtioGetStatus(const struct VirtmmioDev *dev) in VirtioGetStatus()
24 static inline void VirtioAddStatus(const struct VirtmmioDev *dev, uint32_t val) in VirtioAddStatus()
29 static inline void VirtioResetStatus(const struct VirtmmioDev *dev) in VirtioResetStatus()
34 bool VirtmmioDiscover(uint32_t devId, struct VirtmmioDev *dev) in VirtmmioDiscover()
65 void VirtmmioInitBegin(const struct VirtmmioDev *dev) in VirtmmioInitBegin()
73 void VritmmioInitEnd(const struct VirtmmioDev *dev) in VritmmioInitEnd()
78 void VirtmmioInitFailed(const struct VirtmmioDev *dev) in VirtmmioInitFailed()
83 static bool Negotiate(struct VirtmmioDev *baseDev, uint32_t nth, VirtioFeatureFn fn, void *dev) in Negotiate()
106 bool VirtmmioNegotiate(struct VirtmmioDev *baseDev, VirtioFeatureFn f0, VirtioFeatureFn f1, void *d… in VirtmmioNegotiate()
128 static void WriteQueueAddr(uint64_t addr, const struct VirtmmioDev *dev, uint32_t regLow) in WriteQueueAddr()
[all …]
Dvirtmmio.h124 struct VirtmmioDev { struct
133 bool VirtmmioDiscover(uint32_t devId, struct VirtmmioDev *dev); argument
135 void VirtmmioInitBegin(const struct VirtmmioDev *dev);
141 bool VirtmmioNegotiate(struct VirtmmioDev *baseDev, VirtioFeatureFn f0, VirtioFeatureFn f1, void *d…
147 VADDR_T VirtmmioConfigQueue(struct VirtmmioDev *dev, VADDR_T base, uint16_t qsz[], int len);
149 bool VirtmmioRegisterIRQ(struct VirtmmioDev *dev, HWI_PROC_FUNC handle, void *argDev, const char *d…
151 void VritmmioInitEnd(const struct VirtmmioDev *dev);
153 void VirtmmioInitFailed(const struct VirtmmioDev *dev);
Dvirtrng.c31 struct VirtmmioDev dev;
Dvirtnet.c78 struct VirtmmioDev dev;
782 struct VirtmmioDev dev; in FakeWifiInit()
Dvirtinput.c82 struct VirtmmioDev dev;
Dvirtblock.c74 struct VirtmmioDev dev;
Dvirtgpu.c117 struct VirtmmioDev dev;