nuttx/drivers/virtio
Bowen Wang 3237e25d70 drivers/virtio: use virtqueue_nused() to check pending buffers
Replace direct virtqueue internal field access with virtqueue_nused()
API to check for pending buffers in interrupt handlers. This improves
code maintainability and handles cached memory scenarios correctly.

Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
2026-01-31 14:14:25 +08:00
..
CMakeLists.txt virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
Kconfig virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
Make.defs virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-blk.c virtio-blk:if in assert,don't wait semaphore 2025-12-18 18:21:55 +08:00
virtio-blk.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-gpu.c drivers/virtio-gpu: Use macro to indicate blocking cmd 2026-01-08 22:01:09 +08:00
virtio-gpu.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-input.c drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-input.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-mmio.c drivers/virtio: use virtqueue_nused() to check pending buffers 2026-01-31 14:14:25 +08:00
virtio-net.c virtio: should use size matched operation to read virtio config space 2026-01-30 08:11:57 -03:00
virtio-net.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-pci-legacy.c virtio/virtio-pci: add PCI INTX interrupt fallback support 2026-01-28 13:09:19 -03:00
virtio-pci-modern.c virtio/virtio-pci-modern: support PCI_RESOURCE_MEM_64 capability 2026-01-28 13:09:19 -03:00
virtio-pci.c drivers/virtio: use virtqueue_nused() to check pending buffers 2026-01-31 14:14:25 +08:00
virtio-pci.h virtio/virtio-pci: add PCI INTX interrupt fallback support 2026-01-28 13:09:19 -03:00
virtio-rng.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
virtio-rng.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-rpmb.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
virtio-rpmb.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-rpmsg.c virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-rpmsg.h virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00
virtio-serial.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00
virtio-serial.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio-snd.c virtio: should use size matched operation to read virtio config space 2026-01-30 08:11:57 -03:00
virtio-snd.h drivers: migrate to SPDX identifier 2024-11-06 18:02:25 +08:00
virtio.c virtio and vhost-rpmsg: add virtio and vhost rpmsg device support 2026-01-19 14:18:27 +08:00