/haiku/src/add-ons/kernel/drivers/network/ether/virtio/ |
H A D | virtio_net.cpp | 118 static device_manager_info* sDeviceManager; variable 285 device_node* parent = sDeviceManager->get_parent_node(info->node); 286 sDeviceManager->get_driver(parent, (driver_module_info**)&info->virtio, 288 sDeviceManager->put_node(parent); 877 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 884 if (sDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM, 904 return sDeviceManager->register_node(node, VIRTIO_NET_DRIVER_MODULE_NAME, 944 int32 id = sDeviceManager->create_id(VIRTIO_NET_DEVICE_ID_GENERATOR); 952 status = sDeviceManager->publish_device(info->node, name, 963 {B_DEVICE_MANAGER_MODULE_NAME, (module_info**)&sDeviceManager}, [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/virtio/ |
H A D | virtio_gpu.cpp | 85 static device_manager_info* sDeviceManager; variable 475 device_node* parent = sDeviceManager->get_parent_node(info->node); 476 sDeviceManager->get_driver(parent, (driver_module_info**)&info->virtio, 478 sDeviceManager->put_node(parent); 764 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 771 if (sDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM, 791 return sDeviceManager->register_node(node, VIRTIO_GPU_DRIVER_MODULE_NAME, 831 int32 id = sDeviceManager->create_id(VIRTIO_GPU_DEVICE_ID_GENERATOR); 839 status = sDeviceManager->publish_device(info->node, name, 850 {B_DEVICE_MANAGER_MODULE_NAME, (module_info**)&sDeviceManager}, [all...] |
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/ |
H A D | scsi_cd.cpp | 66 static device_manager_info *sDeviceManager; variable 994 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 1001 if (sDeviceManager->get_attr_uint8(parent, SCSI_DEVICE_TYPE_ITEM, 1022 if (sDeviceManager->get_attr_raw(node, SCSI_DEVICE_INQUIRY_ITEM, 1028 if (sDeviceManager->get_attr_uint32(node, B_DMA_MAX_TRANSFER_BLOCKS, 1045 return sDeviceManager->register_node(node, SCSI_CD_DRIVER_MODULE_NAME, 1056 status_t status = sDeviceManager->get_attr_uint8(node, "removable", 1081 sDeviceManager->get_attr_uint8(node, SCSI_DEVICE_TYPE_ITEM, 1084 device_node *parent = sDeviceManager->get_parent_node(node); 1085 sDeviceManager [all...] |
/haiku/src/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 77 static device_manager_info* sDeviceManager; variable 162 device_node* parent = sDeviceManager->get_parent_node(info->node); 163 sDeviceManager->get_driver(parent, (driver_module_info**)&pci, 166 sDeviceManager->put_node(parent); 1010 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) != B_OK 1011 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass, false) != B_OK 1012 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass, false) != B_OK) 1036 return sDeviceManager->register_node(parent, NVME_DISK_DRIVER_MODULE_NAME, 1084 int32 id = sDeviceManager->create_id(NVME_DISK_DEVICE_ID_GENERATOR); 1092 status = sDeviceManager [all...] |
/haiku/src/tests/system/kernel/file_corruption/driver/ |
H A D | checksum_device.cpp | 67 struct device_manager_info* sDeviceManager; variable in typeref:struct:device_manager_info 281 return sDeviceManager->register_node( 282 sDeviceManager->get_parent_node(Node()), kDriverModuleName, attrs, 288 return sDeviceManager->publish_device(Node(), kControlDeviceName, 470 return sDeviceManager->publish_device(Node(), fDeviceName, 724 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) 741 return sDeviceManager->register_node(parent, kDriverModuleName, attrs, NULL, 750 if (sDeviceManager->get_attr_string(node, kFilePathItem, &fileName, false) 912 status_t error = sDeviceManager->unpublish_device( 920 error = sDeviceManager [all...] |
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/ |
H A D | ram_disk.cpp | 147 struct device_manager_info* sDeviceManager; variable in typeref:struct:device_manager_info 212 status_t error = sDeviceManager->register_node( 213 sDeviceManager->get_parent_node(Node()), kDriverModuleName, attrs, 226 return sDeviceManager->publish_device(Node(), kControlDeviceName, 616 return sDeviceManager->publish_device(Node(), fDeviceName, 1063 status_t error = sDeviceManager->unpublish_device(node, 1071 error = sDeviceManager->unregister_node(node); 1128 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) 1147 return sDeviceManager->register_node(parent, kDriverModuleName, attrs, NULL, 1156 if (sDeviceManager [all...] |
/haiku/src/tests/system/kernel/device_manager/ |
H A D | dma_resource_test.cpp | 174 struct device_manager_info* sDeviceManager; variable in typeref:struct:device_manager_info 1096 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false) 1112 return sDeviceManager->register_node(parent, 1143 return sDeviceManager->publish_device((device_node*)driverCookie, 1349 {B_DEVICE_MANAGER_MODULE_NAME, (module_info **)&sDeviceManager},
|