Home
last modified time | relevance | path

Searched refs:parentModule (Results 1 – 4 of 4) sorted by relevance

/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A Dvirtio_mmio.cpp180 fdt_device_module_info *parentModule; in virtio_device_register_device() local
182 if (gDeviceManager->get_driver(parent, (driver_module_info**)&parentModule, in virtio_device_register_device()
188 if (!parentModule->get_reg(parentDev, 0, &regs, &regsLen)) { in virtio_device_register_device()
196 acpi_device_module_info *parentModule; in virtio_device_register_device() local
198 if (gDeviceManager->get_driver(parent, (driver_module_info**)&parentModule, in virtio_device_register_device()
205 parentModule->walk_resources(parentDev, (char *)"_CRS", in virtio_device_register_device()
267 fdt_device_module_info *parentModule; in virtio_device_init_device() local
270 (driver_module_info**)&parentModule, (void**)&parentDev)) in virtio_device_init_device()
273 TRACE(" bus: %p\n", parentModule->get_bus(parentDev)); in virtio_device_init_device()
274 TRACE(" compatible: %s\n", (const char*)parentModule->get_prop(parentDev, in virtio_device_init_device()
[all …]
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerFDT.cpp104 fdt_device_module_info* parentModule; in Finalize() local
107 CHECK_RET(gDeviceManager->get_driver(parent.Get(), (driver_module_info**)&parentModule, in Finalize()
110 struct fdt_interrupt_map* interruptMap = parentModule->get_interrupt_map(parentDev); in Finalize()
111 parentModule->print_interrupt_map(interruptMap); in Finalize()
122 FinalizeInterrupts(parentModule, interruptMap, bus, device, function); in Finalize()
125 FinalizeInterrupts(parentModule, interruptMap, bus, device, 0); in Finalize()
/haiku/src/add-ons/kernel/busses/i2c/ocores/
H A Docores_i2c.cpp144 fdt_device_module_info *parentModule; in InitDriverInt() local
147 (driver_module_info**)&parentModule, (void**)&parentDev)); in InitDriverInt()
151 if (!parentModule->get_reg(parentDev, 0, &regs, &regsLen)) in InitDriverInt()
160 if (!parentModule->get_interrupt(parentDev, 0, NULL, &irq)) in InitDriverInt()
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp315 driver_module_info* parentModule; in fdt_device_init_driver() local
318 parent.Get(), &parentModule, &parentDev) >= B_OK); in fdt_device_init_driver()
319 if (parentModule == (driver_module_info*)&gDeviceModule) in fdt_device_init_driver()
321 else if (parentModule == (driver_module_info*)&gBusModule) in fdt_device_init_driver()