Searched refs:bus_device (Results 1 - 11 of 11) sorted by relevance

/fuchsia/zircon/system/dev/bus/virtio/
H A Dvirtio_driver.cpp30 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 Drng.h18 RngDevice(zx_device_t* bus_device, zx::bti bti, fbl::unique_ptr<Backend> backend);
H A Ddevice.cpp25 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 Ddevice.h29 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 Drng.cpp14 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 Dconsole.cpp118 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 Dblock.cpp113 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 Dethernet.cpp184 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 Dinput.cpp211 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 Dgpu.cpp172 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 Dusb-hub.c35 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;

Completed in 92 milliseconds