/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | virtio_driver.cpp | 30 extern "C" zx_status_t virtio_pci_bind(void* ctx, zx_device_t* bus_device, void** cookie) { argument 35 if (device_get_protocol(bus_device, ZX_PROTOCOL_PCI, &pci)) { 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::GpuDevice(bus_device, fbl::move(bti), fbl::move(backend))); 93 virtio_device.reset(new virtio::RngDevice(bus_device, fbl::move(bti), fbl::move(backend))); 96 virtio_device.reset(new virtio::InputDevice(bus_device, fbl::move(bti),
|
H A D | rng.h | 18 RngDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend);
|
H A D | device.cpp | 25 Device::Device(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 26 : bti_(fbl::move(bti)), backend_(fbl::move(backend)), bus_device_(bus_device) {
|
H A D | device.h | 29 Device(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend); 80 zx_device_t* bus_device() const { return bus_device_; } function in class:virtio::Device
|
H A D | rng.cpp | 14 RngDevice::RngDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 15 : Device(bus_device, fbl::move(bti), fbl::move(backend)) {
|
H A D | console.cpp | 118 ConsoleDevice::ConsoleDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 119 : Device(bus_device, fbl::move(bti), fbl::move(backend)) {}
|
H A D | block.cpp | 113 BlockDevice::BlockDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 114 : Device(bus_device, fbl::move(bti), fbl::move(backend)) {
|
H A D | ethernet.cpp | 184 EthernetDevice::EthernetDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 185 : Device(bus_device, fbl::move(bti), fbl::move(backend)), rx_(this), tx_(this), bufs_(nullptr),
|
H A D | input.cpp | 211 InputDevice::InputDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 212 : Device(bus_device, fbl::move(bti), fbl::move(backend)) {}
|
H A D | gpu.cpp | 172 GpuDevice::GpuDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend) argument 173 : Device(bus_device, fbl::move(bti), fbl::move(backend)) {
|
/fuchsia/zircon/system/dev/usb/usb-hub/ |
H A D | usb-hub.c | 35 zx_device_t* bus_device; member in struct:usb_hub 411 zx_device_t* bus_device = device_get_parent(device); local 413 while (bus_device != NULL && bus.ops == NULL) { 414 if (device_get_protocol(bus_device, ZX_PROTOCOL_USB_BUS, &bus) == ZX_OK) { 417 bus_device = device_get_parent(bus_device); 419 if (!bus_device || !bus.ops) { 461 hub->bus_device = bus_device;
|