Home
last modified time | relevance | path

Searched refs:kDevices (Results 1 – 2 of 2) sorted by relevance

/haiku/src/tests/system/kernel/device_manager/playground/
H A Dbus.cpp93 } kDevices[] = { in register_child_devices() local
100 const size_t kNumDevices = sizeof(kDevices) / sizeof(kDevices[0]); in register_child_devices()
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()
/haiku/src/add-ons/kernel/drivers/common/
H A Dusb_modeswitch.cpp135 } kDevices[] = { variable
287 static uint32 kDevicesCount = sizeof(kDevices) / sizeof(kDevices[0]);
388 if (kDevices[i].desc.dev_class != 0x0 in my_get_msg_type()
389 && kDevices[i].desc.dev_class != desc->device_class) in my_get_msg_type()
391 if (kDevices[i].desc.dev_subclass != 0x0 in my_get_msg_type()
392 && kDevices[i].desc.dev_subclass != desc->device_subclass) in my_get_msg_type()
394 if (kDevices[i].desc.dev_protocol != 0x0 in my_get_msg_type()
395 && kDevices[i].desc.dev_protocol != desc->device_protocol) in my_get_msg_type()
397 if (kDevices[i].desc.vendor != 0x0 in my_get_msg_type()
398 && kDevices[i].desc.vendor != desc->vendor_id) in my_get_msg_type()
[all …]