/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | virtio_driver.cpp | 55 fbl::unique_ptr<virtio::Backend> backend = nullptr; 57 zxlogf(SPEW, "virtio %02x:%02x.%1x using modern PCI backend\n", info.bus_id, info.dev_id, info.func_id); 58 backend.reset(new virtio::PciModernBackend(pci, info)); 60 zxlogf(SPEW, "virtio %02x:%02x.%1x using legacy PCI backend\n", info.bus_id, info.dev_id, info.func_id); 61 backend.reset(new virtio::PciLegacyBackend(pci, info)); 71 fbl::unique_ptr<virtio::Device> virtio_device = nullptr; 75 virtio_device.reset(new virtio::EthernetDevice(bus_device, fbl::move(bti), 80 virtio_device.reset(new virtio::BlockDevice(bus_device, fbl::move(bti), 85 virtio_device.reset(new virtio::ConsoleDevice(bus_device, fbl::move(bti), 89 virtio_device.reset(new virtio [all...] |
H A D | virtio_c.c | 15 #include <virtio/virtio.h> 25 ZIRCON_DRIVER_BEGIN(virtio, virtio_driver_ops, "zircon", "0.1", 13) 39 ZIRCON_DRIVER_END(virtio)
|
H A D | ethernet.cpp | 22 #include <virtio/net.h> 23 #include <virtio/virtio.h> 34 namespace virtio { namespace 61 virtio::EthernetDevice* eth = static_cast<virtio::EthernetDevice*>(ctx); 66 fbl::unique_ptr<virtio::EthernetDevice> eth(static_cast<virtio::EthernetDevice*>(ctx)); 90 virtio::EthernetDevice* eth = static_cast<virtio [all...] |
H A D | ring.h | 7 #include <virtio/virtio_ring.h> 12 namespace virtio { namespace 68 } // namespace virtio
|
H A D | device.h | 15 #include <virtio/virtio.h> 20 // gpu) with a virtio::Device base. The device class handles general work around 22 // that implements a virtio backend. This allows a single device driver to work 25 namespace virtio { namespace 106 } // namespace virtio
|
H A D | rng.h | 12 namespace virtio { namespace 25 const char* tag() const override { return "virtio-rng"; } 42 // the virtio ring 52 } // namespace virtio
|
H A D | input.cpp | 23 namespace virtio { namespace 160 virtio::InputDevice* inp = static_cast<virtio::InputDevice*>(ctx); 165 virtio::InputDevice* inp = static_cast<virtio::InputDevice*>(ctx); 171 virtio::InputDevice* inp = static_cast<virtio::InputDevice*>(ctx); 202 virtio::InputDevice* inp = static_cast<virtio::InputDevice*>(ctx); 207 virtio [all...] |
H A D | ethernet.h | 18 #include <virtio/net.h> 24 namespace virtio { namespace 44 const char* tag() const override { return "virtio-net"; } 74 } // namespace virtio
|
H A D | block.h | 13 #include <virtio/block.h> 19 namespace virtio { namespace 44 const char* tag() const override { return "virtio-blk"; } 63 // the main virtio ring 109 } // namespace virtio
|
H A D | input.h | 10 #include <virtio/input.h> 16 namespace virtio { namespace 28 const char* tag() const override { return "virtio-input"; } 76 } // namespace virtio
|
H A D | rules.mk | 33 system/ulib/virtio \
|
H A D | device.cpp | 23 namespace virtio { namespace 84 thrd_create_with_name(&irq_thread_, IrqThreadEntry, this, "virtio-irq-thread"); 98 } // namespace virtio
|
H A D | console.cpp | 11 #include <virtio/virtio.h> 16 namespace virtio { namespace 25 zxlogf(ERROR, "Failed to find free descriptor for the virtio ring\n"); 126 // It's a common part for all virtio devices: reset the device, notify 131 zxlogf(ERROR, "%s: Legacy virtio interface is not supported by this driver\n", tag()); 155 // put all descriptors in the virtio ring available list 187 args.name = "virtio-console"; 334 } // namespace virtio
|
H A D | console.h | 14 namespace virtio { namespace 58 // Actual virtio console implementation 68 const char* tag() const override { return "virtio-console"; }; 92 } // namespace virtio
|
H A D | gpu.h | 18 namespace virtio { namespace 36 const char* tag() const override { return "virtio-gpu"; }; 70 // the main virtio ring 105 } // namespace virtio
|
H A D | ring.cpp | 22 namespace virtio { namespace 147 } // namespace virtio
|
H A D | rng.cpp | 12 namespace virtio { namespace 56 args.name = "virtio-rng"; 71 "virtio-rng-seed-thread"); 112 zxlogf(SPEW, "virtio-rng-seed-thread: RngDevice::Request() returned %d\n", rc); 143 } // namespace virtio
|
H A D | block.cpp | 28 namespace virtio { namespace 193 args.name = "virtio-block"; 404 TRACEF("virtio: transaction too large\n"); 414 TRACEF("virtio: could not pin pages\n"); 443 printf("virtio-block: failed to queue txn to hw: %d\n", status); 466 } // namespace virtio
|
H A D | gpu.cpp | 22 namespace virtio { namespace 445 printf("virtio-gpu: found display x %u y %u w %u h %u flags 0x%x\n", 454 thrd_create_with_name(&flush_thread_, virtio_gpu_flusher_entry, this, "virtio-gpu-flusher"); 471 args.name = "virtio-gpu-display"; 528 thrd_create_with_name(&start_thread_, virtio_gpu_start_entry, this, "virtio-gpu-starter"); 571 } // namespace virtio
|
/fuchsia/zircon/system/dev/bus/virtio/backends/ |
H A D | pci.cpp | 10 #include <virtio/virtio.h> 15 namespace virtio { namespace 70 } // namespace virtio
|
H A D | backend.h | 9 #include <virtio/virtio.h> 19 namespace virtio { namespace 69 } // namespace virtio
|
H A D | pci_legacy.cpp | 12 namespace virtio { namespace 209 } // namespace virtio
|
H A D | pci.h | 10 namespace virtio { namespace 47 // virtio devices to work with fields only they know about. For most virtio 60 // Handle the virtio queues for the device. Due to configuration layouts changing 86 // the mappings safely while the virtio device is being used by a driver. 99 // virtio devices to work with fields only they know about. 116 // Handle the virtio queues for the device. Due to configuration layouts changing 141 } // namespace virtio
|
H A D | pci_modern.cpp | 15 // For reading the virtio specific vendor capabilities that can be PIO or MMIO space 91 namespace virtio { namespace 132 zxlogf(SPEW, "virtio: modern pci backend successfully initialized\n"); 366 } // namespace virtio
|
/fuchsia/zircon/scripts/ |
H A D | run-zircon | 21 echo "--disktype[=<type>] : should be one of (ahci, virtio, nvme), default is ahci" 36 echo "-V : try to use virtio devices" 273 # use the virtio gpu for display 275 ARGS+=" -device virtio-gpu-pci" 283 DISKTYPE="virtio" 290 if [[ "$DISKTYPE" == "virtio" ]]; then 291 ARGS+=" -device virtio-blk-pci,drive=mydisk" 356 ARGS+=" -device virtio-net-pci,netdev=net0${MAC}" 388 # start a few extra harmless virtio devices that can be ignored 390 ARGS+=" -device virtio [all...] |