MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / _virtio_dev_check

Function _virtio_dev_check

components/drivers/virtio/virtio.c:17–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15#include <virtio.h>
16
17rt_inline void _virtio_dev_check(struct virtio_device *dev)
18{
19 RT_ASSERT(dev != RT_NULL);
20 RT_ASSERT(dev->mmio_config != RT_NULL);
21}
22
23void virtio_reset_device(struct virtio_device *dev)
24{

Callers 15

virtio_reset_deviceFunction · 0.85
virtio_status_driver_okFunction · 0.85
virtio_interrupt_ackFunction · 0.85
virtio_has_featureFunction · 0.85
virtio_queues_allocFunction · 0.85
virtio_queue_initFunction · 0.85
virtio_queue_destroyFunction · 0.85
virtio_queue_notifyFunction · 0.85
virtio_submit_chainFunction · 0.85
virtio_alloc_descFunction · 0.85
virtio_free_descFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected