Home
last modified time | relevance | path

Searched refs:ui16 (Results 1 – 25 of 25) sorted by relevance

/haiku/src/tests/system/kernel/device_manager/playground/
H A Dbus.cpp18 {B_DEVICE_VENDOR_ID, B_UINT16_TYPE, {ui16: 0x1001}}, in bus_trigger_device_removed()
19 {B_DEVICE_ID, B_UINT16_TYPE, {ui16: 0x0001}}, in bus_trigger_device_removed()
105 {B_DEVICE_VENDOR_ID, B_UINT16_TYPE, {ui16: kDevices[i].vendor}}, in register_child_devices()
106 {B_DEVICE_ID, B_UINT16_TYPE, {ui16: kDevices[i].device}}, in register_child_devices()
109 {B_DEVICE_TYPE, B_UINT16_TYPE, {ui16: kDevices[i].type}}, in register_child_devices()
111 {ui16: kDevices[i].sub_type}}, in register_child_devices()
113 {ui16: kDevices[i].interface}}, in register_child_devices()
H A Ddevice_manager.h46 uint16 ui16; /* B_UINT16_TYPE */ member
H A Ddevice_manager.cpp256 dprintf("uint16 : %u (%#x)", attr->value.ui16, attr->value.ui16); in dump_attribute()
597 *_value = attr->value.ui16; in get_attr_uint16()
830 return (int)attrA->value.ui16 - (int)attrB->value.ui16; in Compare()
/haiku/src/add-ons/kernel/bus_managers/pci/
H A Dpci_root.cpp67 {B_DEVICE_VENDOR_ID, B_UINT16_TYPE, {.ui16 = info.vendor_id}}, in pci_root_traverse()
68 {B_DEVICE_ID, B_UINT16_TYPE, {.ui16 = info.device_id}}, in pci_root_traverse()
70 {B_DEVICE_TYPE, B_UINT16_TYPE, {.ui16 = info.class_base}}, in pci_root_traverse()
71 {B_DEVICE_SUB_TYPE, B_UINT16_TYPE, {.ui16 = info.class_sub}}, in pci_root_traverse()
72 {B_DEVICE_INTERFACE, B_UINT16_TYPE, {.ui16 = info.class_api}}, in pci_root_traverse()
/haiku/src/tests/system/kernel/device_manager/
H A Dlistdev.c37 printf("uint16 : %u (%#x)", attr->value.ui16, attr->value.ui16); in dump_attribute()
H A Dconfig_driver.h21 uint16 ui16; member
H A Dconfig.c135 params->attr->value.ui16 = attr->value.ui16; break; in config_ioctl()
/haiku/src/add-ons/kernel/bus_managers/mmc/
H A Dmmc_bus.cpp299 { "mmc/revision", B_UINT16_TYPE, {.ui16 = revision}}, in _WorkerThread()
301 { "mmc/year", B_UINT16_TYPE, {.ui16 = year}}, in _WorkerThread()
302 { kMmcRcaAttribute, B_UINT16_TYPE, {.ui16 = rca}}, in _WorkerThread()
/haiku/headers/private/system/
H A Ddevice_manager_defs.h29 uint16 ui16; member
/haiku/src/bin/listdev/
H A Dlistdev.cpp99 printf("uint16 : %" B_PRIu16 " (%#" B_PRIx16 ")", attr->value.ui16, in dump_attribute()
100 attr->value.ui16); in dump_attribute()
209 vendor_id = attr.value.ui16; in display_device()
212 device_id = attr.value.ui16; in display_device()
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DModule.cpp132 attrs[attrCount].value.ui16 = (clsClass >> 16) & 0xff ; in acpi_enumerate_child_devices()
136 attrs[attrCount].value.ui16 = (clsClass >> 8) & 0xff ; in acpi_enumerate_child_devices()
140 attrs[attrCount].value.ui16 = (clsClass >> 0) & 0xff ; in acpi_enumerate_child_devices()
/haiku/src/add-ons/kernel/interrupt_controllers/openpic/
H A Dopenpic.cpp318 { B_DEVICE_TYPE, B_UINT16_TYPE, { .ui16 = PCI_base_peripheral }}, in openpic_register_device()
319 { B_DEVICE_SUB_TYPE, B_UINT16_TYPE, { .ui16 = PCI_pic }}, in openpic_register_device()
321 { B_DEVICE_INTERFACE, B_UINT16_TYPE, { .ui16 = PCI_pic_8259 }}, in openpic_register_device()
/haiku/src/add-ons/kernel/busses/ata/ide_isa/
H A Dide_isa.c81 { ATA_ISA_COMMAND_BLOCK_BASE, B_UINT16_TYPE, { .ui16 = command_block_base }}, in publish_channel()
82 { ATA_ISA_CONTROL_BLOCK_BASE, B_UINT16_TYPE, { .ui16 = control_block_base }}, in publish_channel()
/haiku/src/add-ons/kernel/bus_managers/i2c/
H A DI2CBus.cpp63 { I2C_DEVICE_SLAVE_ADDR_ITEM, B_UINT16_TYPE, { .ui16 = slaveAddress }}, in RegisterDevice()
/haiku/headers/os/drivers/
H A Ddevice_manager.h46 uint16 ui16; /* B_UINT16_TYPE */ member
/haiku/src/system/kernel/device_manager/
H A Ddevice_manager.cpp272 kprintf("uint16 : %" B_PRIu16 " (%#" B_PRIx16 ")", attr->value.ui16, in dump_attribute()
273 attr->value.ui16); in dump_attribute()
459 attrInfo.value.ui16 = attr->value.ui16; in control_device_manager()
748 *_value = attr->value.ui16; in get_attr_uint16()
1035 return (int)attrA->value.ui16 - (int)attrB->value.ui16; in Compare()
/haiku/src/add-ons/kernel/generic/ata_adapter/
H A Data_adapter.cpp505 { .ui16 = command_block_base }}, in ata_adapter_publish_channel()
507 { .ui16 = control_block_base }}, in ata_adapter_publish_channel()
738 { ATA_ADAPTER_BUS_MASTER_BASE, B_UINT16_TYPE, { .ui16 = bus_master_base }}, in ata_adapter_publish_controller()
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioModule.cpp226 { .ui16 = deviceType }}, in virtio_added_device()
/haiku/src/add-ons/kernel/busses/ata/promise_tx2/
H A Dpromise_tx2.c200 { ATA_ADAPTER_BUS_MASTER_BASE, B_UINT16_TYPE, { .ui16 = bus_master_base }}, in publish_controller()
/haiku/src/bin/
H A Dhey.cpp1173 uint16 ui16; in format_data() local
1253 ui16 = *(uint16*)ptr; in format_data()
1254 sprintf(str, "%u (0x%04X)", ui16, ui16); in format_data()
/haiku/src/apps/devices/
H A DDevicesView.cpp253 attrString << attr.value.ui16; in AddDeviceAndChildren()
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DDevice.cpp877 attrs[attrCount].value.ui16 = fDeviceDescriptor.vendor_id; in RegisterNode()
882 attrs[attrCount].value.ui16 = fDeviceDescriptor.product_id; in RegisterNode()
/haiku/src/add-ons/kernel/busses/virtio/virtio_pci/
H A Dvirtio_pci.cpp812 { .ui16 = virtioDeviceId }}, in register_child_devices()
814 { .ui16 = VIRTIO_PCI_VRING_ALIGN }}, in register_child_devices()
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A Dvirtio_mmio.cpp236 { "virtio/type", B_UINT16_TYPE, {.ui16 = (uint16)mappedRegs->deviceId} }, in virtio_device_register_device()
/haiku/src/add-ons/kernel/busses/usb/
H A Dehci.cpp385 { B_DEVICE_VENDOR_ID, B_UINT16_TYPE, { .ui16 = AMD_SBX00_VENDOR }}, in EHCI()
386 { B_DEVICE_ID, B_UINT16_TYPE, { .ui16 = AMD_SBX00_SMBUS_CONTROLLER }}, in EHCI()