Searched refs:get_attr_uint16 (Results 1 - 25 of 39) sorted by relevance

12

/haiku/src/add-ons/kernel/busses/mmc/
H A Dsdhci_pci.cpp206 if (gDeviceManager->get_attr_uint16(node, B_DEVICE_VENDOR_ID,
208 || gDeviceManager->get_attr_uint16(node, B_DEVICE_ID, &deviceId,
243 if (gDeviceManager->get_attr_uint16(context->fNode, B_DEVICE_VENDOR_ID,
245 || gDeviceManager->get_attr_uint16(context->fNode, B_DEVICE_ID,
262 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorId,
264 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceId,
272 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subType,
274 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &type,
/haiku/src/add-ons/kernel/busses/ata/highpoint_ide_pci/
H A Dhighpoint_ide_pci.cpp152 sDeviceManager->get_attr_uint16(node, B_DEVICE_VENDOR_ID, &vendorID, true);
153 sDeviceManager->get_attr_uint16(node, B_DEVICE_ID, &deviceID, true);
350 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass, false) != B_OK
351 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass, false) != B_OK
352 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorID, false) != B_OK
353 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID, false) != B_OK)
/haiku/src/add-ons/kernel/busses/random/ccp/
H A Dccp_pci.cpp110 < B_OK || gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
112 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
/haiku/src/add-ons/kernel/busses/random/virtio/
H A Dvirtio_rng.cpp42 if (gDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
/haiku/src/add-ons/kernel/drivers/audio/virtio/
H A Dvirtio_sound.cpp48 || sDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
/haiku/src/add-ons/kernel/busses/scsi/ahci/
H A Dahci.c222 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass,
224 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass,
226 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_INTERFACE,
228 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
230 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
/haiku/src/add-ons/kernel/busses/ata/it8211/
H A Dit8211.c170 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorID, false) != B_OK
171 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID, false) != B_OK) {
/haiku/src/tests/system/kernel/device_manager/playground/
H A Dbus.cpp157 gDeviceManager->get_attr_uint16((device_node*)cookie, B_DEVICE_VENDOR_ID,
159 gDeviceManager->get_attr_uint16((device_node*)cookie, B_DEVICE_ID,
H A Dgeneric_video_driver.cpp31 if (gDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &type, false)
H A Ddevice_manager.cpp587 get_attr_uint16(const device_node* node, const char* name, uint16* _value, function
715 get_attr_uint16,
1270 get_attr_uint16(this, B_DEVICE_TYPE, &type, false);
1271 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false);
1272 get_attr_uint16(this, B_DEVICE_INTERFACE, &interface, false);
1443 get_attr_uint16(this, B_DEVICE_TYPE, &type, false);
1444 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false);
1561 if (get_attr_uint16(this, B_DEVICE_TYPE, &type, false) == B_OK
1562 && get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false)
H A Ddevice_manager.h97 status_t (*get_attr_uint16)(const device_node *node, const char *name, member in struct:device_manager_info
/haiku/src/add-ons/kernel/busses/ata/generic_ide_pci/
H A Dgeneric_ide_pci.cpp176 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_TYPE, &baseClass, false) != B_OK
177 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_SUB_TYPE, &subClass, false) != B_OK)
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A Dvirtio_balloon.cpp73 if (gDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
/haiku/src/add-ons/kernel/bus_managers/i2c/
H A DI2CDevice.cpp71 if (gDeviceManager->get_attr_uint16(node, I2C_DEVICE_SLAVE_ADDR_ITEM,
/haiku/headers/os/drivers/
H A Ddevice_manager.h92 status_t (*get_attr_uint16)(const device_node *node, const char *name, member in struct:device_manager_info
/haiku/src/add-ons/kernel/busses/ata/ide_isa/
H A Dide_isa.c319 if (sDeviceManager->get_attr_uint16(node, ATA_ISA_COMMAND_BLOCK_BASE, &command_block_base, false) != B_OK
320 || sDeviceManager->get_attr_uint16(node, ATA_ISA_CONTROL_BLOCK_BASE, &control_block_base, false) != B_OK
/haiku/src/add-ons/kernel/interrupt_controllers/openpic/
H A Dopenpic.cpp295 if (sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
297 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID,
/haiku/src/add-ons/kernel/busses/ata/legacy_sata/
H A Dlegacy_sata.cpp77 if ((res = sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendor_id, false)) != B_OK
78 || (res = sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &device_id, false)) != B_OK) {
/haiku/src/add-ons/kernel/drivers/power/pch_thermal/
H A Dpch_thermal.cpp198 if (sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorID,
200 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
/haiku/src/add-ons/kernel/busses/i2c/pch/
H A Dpch_i2c_pci.cpp230 < B_OK || gDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID,
232 || gDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID,
/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp823 get_attr_uint16(const device_node* node, const char* name, uint16* _value, function
1004 get_attr_uint16,
1648 if (get_attr_uint16(this, B_DEVICE_TYPE, &type, false) != B_OK
1649 || get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false)
1653 get_attr_uint16(this, B_DEVICE_INTERFACE, &interface, false);
1887 get_attr_uint16(this, B_DEVICE_TYPE, &type, false);
1888 get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false);
2042 if (get_attr_uint16(this, B_DEVICE_SUB_TYPE, &subType, false) == B_OK
2043 && get_attr_uint16(this, B_DEVICE_TYPE, &type, false) == B_OK) {
/haiku/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp371 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_VENDOR_ID_ITEM, &vendorID, true);
372 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_DEVICE_ID_ITEM, &deviceID, true);
379 if (sDeviceManager->get_attr_uint16(node, ATA_ADAPTER_COMMAND_BLOCK_BASE, &command_block_base, false) != B_OK
380 || sDeviceManager->get_attr_uint16(node, ATA_ADAPTER_CONTROL_BLOCK_BASE, &control_block_base, false) != B_OK
642 if (sDeviceManager->get_attr_uint16(node, ATA_ADAPTER_BUS_MASTER_BASE, &bus_master_base, false) != B_OK)
/haiku/src/system/kernel/arch/ppc/
H A Darch_int.cpp520 if (deviceManager->get_attr_uint16(node, B_DEVICE_TYPE,
522 deviceManager->get_attr_uint16(node, B_DEVICE_SUB_TYPE,
/haiku/src/add-ons/kernel/busses/ata/silicon_image_3112/
H A Dsilicon_image_3112.c124 if (sDeviceManager->get_attr_uint16(parent, B_DEVICE_VENDOR_ID, &vendorID, false) != B_OK
125 || sDeviceManager->get_attr_uint16(parent, B_DEVICE_ID, &deviceID, false) != B_OK) {
433 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_VENDOR_ID_ITEM, &vendorID, true);
434 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_DEVICE_ID_ITEM, &deviceID, true);
/haiku/src/add-ons/kernel/busses/scsi/virtio/
H A Dvirtio_scsi.cpp181 if (gDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,

Completed in 116 milliseconds

12