/haiku/src/servers/bluetooth/ |
H A D | HCITransportAccessor.cpp | 17 fDescriptor = open (path->Path(), O_RDWR); in HCITransportAccessor() 18 if (fDescriptor > 0) { in HCITransportAccessor() 20 status = ioctl(fDescriptor, GET_HCI_ID, &fIdentifier, 0); in HCITransportAccessor() 34 if (fDescriptor > 0) { in ~HCITransportAccessor() 35 close(fDescriptor); in ~HCITransportAccessor() 36 fDescriptor = -1; in ~HCITransportAccessor() 45 if (Id() < 0 || fDescriptor < 0) in IssueCommand() 55 return ioctl(fDescriptor, ISSUE_BT_COMMAND, rc, size); in IssueCommand() 63 return ioctl(fDescriptor, BT_UP, &dummy, sizeof(uint32)); in Launch()
|
H A D | HCITransportAccessor.h | 23 int fDescriptor;
|
/haiku/src/kits/device/ |
H A D | USBConfiguration.cpp | 24 command.config.descriptor = &fDescriptor; in BUSBConfiguration() 28 memset(&fDescriptor, 0, sizeof(fDescriptor)); in BUSBConfiguration() 31 fDescriptor.number_interfaces]; in BUSBConfiguration() 35 for (uint32 i = 0; i < fDescriptor.number_interfaces; i++) { in BUSBConfiguration() 46 for (int32 i = 0; i < fDescriptor.number_interfaces; i++) in ~BUSBConfiguration() 70 if (fDescriptor.configuration == 0) in ConfigurationString() 77 fDescriptor.configuration); in ConfigurationString() 88 return &fDescriptor; in Descriptor() 95 return fDescriptor.number_interfaces; in CountInterfaces() 102 if (index >= fDescriptor.number_interfaces || fInterfaces == NULL) in InterfaceAt()
|
H A D | USBDevice.cpp | 28 memset(&fDescriptor, 0, sizeof(fDescriptor)); in BUSBDevice() 68 command.device.descriptor = &fDescriptor; in SetTo() 76 fDescriptor.num_configurations]; in SetTo() 80 for (uint32 i = 0; i < fDescriptor.num_configurations; i++) { in SetTo() 105 for (int32 i = 0; i < fDescriptor.num_configurations; i++) in Unset() 112 memset(&fDescriptor, 0, sizeof(fDescriptor)); in Unset() 129 return fDescriptor.device_class == 0x09; in IsHub() 136 return fDescriptor.usb_version; in USBVersion() 143 return fDescriptor.device_class; in Class() 150 return fDescriptor.device_subclass; in Subclass() [all …]
|
H A D | USBEndpoint.cpp | 21 command.endpoint_etc.descriptor = &fDescriptor; in BUSBEndpoint() 28 memset(&fDescriptor, 0, sizeof(fDescriptor)); in BUSBEndpoint() 68 return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK) in IsBulk() 76 return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK) in IsInterrupt() 84 return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK) in IsIsochronous() 92 return (fDescriptor.attributes & USB_ENDPOINT_ATTR_MASK) in IsControl() 100 return (fDescriptor.endpoint_address & USB_ENDPOINT_ADDR_DIR_IN) in IsInput() 108 return (fDescriptor.endpoint_address & USB_ENDPOINT_ADDR_DIR_IN) in IsOutput() 116 return fDescriptor.max_packet_size; in MaxPacketSize() 123 return fDescriptor.interval; in Interval() [all …]
|
H A D | USBInterface.cpp | 38 for (int32 i = 0; i < fDescriptor.num_endpoints; i++) in ~BUSBInterface() 84 return fDescriptor.interface_class; in Class() 91 return fDescriptor.interface_subclass; in Subclass() 98 return fDescriptor.interface_protocol; in Protocol() 105 if (fDescriptor.interface == 0) in InterfaceString() 111 fInterfaceString = Device()->DecodeStringDescriptor(fDescriptor.interface); in InterfaceString() 122 return &fDescriptor; in Descriptor() 151 return fDescriptor.num_endpoints; in CountEndpoints() 158 if (index >= fDescriptor.num_endpoints || fEndpoints == NULL) in EndpointAt() 241 command.interface_etc.descriptor = &fDescriptor; in _UpdateDescriptorAndEndpoints() [all …]
|
/haiku/src/system/boot/platform/efi/arch/arm64/ |
H A D | arch_mmu.h | 68 : fDescriptor(descriptor) in ARMv8TranslationTableDescriptor() 72 : fDescriptor(reinterpret_cast<uint64_t*>(descriptor)) in ARMv8TranslationTableDescriptor() 76 return (*fDescriptor & kTypeMask) == kTypeInvalid; in IsInvalid() 80 return (*fDescriptor & kTypeMask) == kTypeBlock; in IsBlock() 84 return (*fDescriptor & kTypeMask) == kTypePage; in IsPage() 88 return (*fDescriptor & kTypeMask) == kTypeTable; in IsTable() 95 return reinterpret_cast<uint64_t*>((*fDescriptor) & 0x0000fffffffff000ULL); in Dereference() 101 *fDescriptor = reinterpret_cast<uint64_t>(descriptor) | kTypeTable; in SetToTable() 105 *fDescriptor = CleanAttributes(reinterpret_cast<uint64_t>(physical)) | attributes | kTypePage; in SetAsPage() 109 *fDescriptor = CleanAttributes(reinterpret_cast<uint64_t>(physical)) | attributes | kTypeBlock; in SetAsBlock() [all …]
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | HIDDevice.cpp | 44 sizeof(fDescriptorAddress), &fDescriptor, sizeof(fDescriptor)); in HIDDevice() 54 uint16 descriptorLength = fDescriptor.wReportDescLength; in HIDDevice() 62 uint16 reportDescRegister = fDescriptor.wReportDescRegister; in HIDDevice() 76 fDescriptor.wVendorID, fDescriptor.wProductID); in HIDDevice() 242 (uint8)(fDescriptor.wCommandRegister & 0xff), in _Reset() 243 (uint8)(fDescriptor.wCommandRegister >> 8), in _Reset() 264 (uint8)(fDescriptor.wCommandRegister & 0xff), in _SetPower() 265 (uint8)(fDescriptor.wCommandRegister >> 8), in _SetPower() 280 (uint8)(fDescriptor.wCommandRegister & 0xff), in _FetchReport() 281 (uint8)(fDescriptor.wCommandRegister >> 8), in _FetchReport() [all …]
|
H A D | HIDDevice.h | 78 i2c_hid_descriptor fDescriptor; variable
|
/haiku/src/system/kernel/fs/ |
H A D | vfs_tracing.h | 29 fDescriptor(descriptor), in TRACE_ENTRY_SELECTOR() 35 file_descriptor* fDescriptor; in TRACE_ENTRY_SELECTOR() 54 "fd: %d", fDescriptor, fReferenceCount, fContext, fFD); in AddDump() 74 out.Print("fd put: descriptor: %p (%" B_PRId32 ")", fDescriptor, in AddDump() 94 "fd: %d", fDescriptor, fReferenceCount, fContext, fFD); in AddDump() 117 "fd: %d", fDescriptor, fReferenceCount, fContext, fFD); in AddDump() 144 "fd: %d -> %d, evicted: %p (%" B_PRId32 ")", fDescriptor, in AddDump() 174 "fd: %d, parentContext: %p", fDescriptor, fReferenceCount, fContext, in AddDump()
|
/haiku/src/add-ons/kernel/drivers/input/i2c_elan/ |
H A D | ELANDevice.cpp | 64 sizeof(descriptorAddress), &fDescriptor, sizeof(fDescriptor)); in ELANDevice() 386 (uint8)(fDescriptor.wCommandRegister & 0xff), in _Reset() 387 (uint8)(fDescriptor.wCommandRegister >> 8), in _Reset() 408 (uint8)(fDescriptor.wCommandRegister & 0xff), in _SetPower() 409 (uint8)(fDescriptor.wCommandRegister >> 8), in _SetPower() 454 (uint8)(fDescriptor.wCommandRegister & 0xff), in _FetchReport() 455 (uint8)(fDescriptor.wCommandRegister >> 8), in _FetchReport() 468 cmd[dataOffset++] = fDescriptor.wDataRegister & 0xff; in _FetchReport() 469 cmd[dataOffset++] = fDescriptor.wDataRegister >> 8; in _FetchReport()
|
H A D | ELANDevice.h | 78 i2c_hid_descriptor fDescriptor; variable
|
/haiku/headers/os/device/ |
H A D | USBKit.h | 150 usb_device_descriptor fDescriptor; variable 202 usb_configuration_descriptor fDescriptor; variable 293 usb_interface_descriptor fDescriptor; variable 369 usb_endpoint_descriptor fDescriptor; variable
|
/haiku/src/system/kernel/arch/x86/64/ |
H A D | descriptors.cpp | 65 uint32_t fDescriptor[2]; member 174 fDescriptor { 0, 0 } in Descriptor() 183 fDescriptor { first, second } in Descriptor()
|
/haiku/headers/private/debugger/model/ |
H A D | Team.h | 425 int32 Descriptor() const { return fDescriptor; } in Descriptor() 429 int32 fDescriptor;
|
/haiku/src/kits/debugger/model/ |
H A D | Team.cpp | 1029 fDescriptor(fd), in ConsoleOutputEvent()
|