Lines Matching refs:transport
13 use crate::driver::virtio::transport::VirtIOTransport;
21 use virtio_drivers::transport::{DeviceType, Transport};
38 Ok(mut transport) => { in virtio_probe_pci()
41 transport.device_type(), in virtio_probe_pci()
42 transport.read_device_features(), in virtio_probe_pci()
44 let transport = VirtIOTransport::Pci(transport); in virtio_probe_pci() localVariable
49 virtio_device_init(transport, dev_id, pci_raw_device); in virtio_probe_pci()
60 transport: VirtIOTransport, in virtio_device_init()
64 match transport.device_type() { in virtio_device_init()
65 DeviceType::Block => virtio_blk(transport, dev_id, dev_parent), in virtio_device_init()
72 DeviceType::Network => virtio_net(transport, dev_id, dev_parent), in virtio_device_init()