Searched refs:descriptor (Results 51 - 75 of 83) sorted by relevance

1234

/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp879 xhci_td *descriptor = CreateDescriptor(3, 1, requestData->Length);
880 if (descriptor == NULL)
882 descriptor->transfer = transfer;
886 memcpy(&descriptor->trbs[index].address, requestData,
888 descriptor->trbs[index].status = TRB_2_IRQ(0) | TRB_2_BYTES(8);
889 descriptor->trbs[index].flags
892 descriptor->trbs[index].flags |=
900 descriptor->trbs[index].address = descriptor->buffer_addrs[0];
901 descriptor
1412 FreeDescriptor(xhci_td *descriptor) argument
1454 WriteDescriptor(xhci_td *descriptor, generic_io_vec *vector, size_t vectorCount, bool physical) argument
1486 ReadDescriptor(xhci_td *descriptor, generic_io_vec *vector, size_t vectorCount, bool physical) argument
2000 _LinkDescriptorForPipe(xhci_td *descriptor, xhci_endpoint *endpoint) argument
2124 _UnlinkDescriptorForPipe(xhci_td *descriptor, xhci_endpoint *endpoint) argument
2703 usb_iso_packet_descriptor& descriptor = isochronousData->packet_descriptors[offset]; local
2721 usb_iso_packet_descriptor& descriptor = isochronousData->packet_descriptors[i]; local
[all...]
H A Duhci.h83 // of every isochronous descriptor as they are NOT
156 isochronous_transfer_data * FindIsochronousTransfer(uhci_td *descriptor);
159 uhci_td *descriptor,
164 uhci_qh * CreateTransferQueue(uhci_td *descriptor);
180 void FreeDescriptor(uhci_td *descriptor);
225 // keeps track of the first and last isochronous transfer descriptor
H A Dxhci.h162 void FreeDescriptor(xhci_td *descriptor);
164 size_t WriteDescriptor(xhci_td *descriptor,
166 size_t ReadDescriptor(xhci_td *descriptor,
169 status_t _LinkDescriptorForPipe(xhci_td *descriptor,
171 status_t _UnlinkDescriptorForPipe(xhci_td *descriptor,
H A Dehci.h37 // of every isochronous descriptor as they are NOT
169 void FreeDescriptor(ehci_qtd *descriptor);
171 void FreeDescriptor(ehci_itd *descriptor);
172 void FreeDescriptor(ehci_sitd *descriptor);
H A Dohci.h112 // Transfer descriptor related methods
116 ohci_general_td *descriptor);
128 ohci_isochronous_td *descriptor);
/haiku/src/kits/device/
H A DUSBInterface.cpp127 BUSBInterface::OtherDescriptorAt(uint32 index, usb_descriptor *descriptor, argument
130 if (length <= 0 || descriptor == NULL)
134 command.generic_etc.descriptor = descriptor;
241 command.interface_etc.descriptor = &fDescriptor;
H A DUSBConfiguration.cpp24 command.config.descriptor = &fDescriptor;
/haiku/src/add-ons/kernel/drivers/input/usb_hid/
H A DDriver.cpp373 usb_support_descriptor &descriptor = sSupportDescriptors[i + 1]; local
374 descriptor.dev_class = gQuirkyDevices[i].device_class;
375 descriptor.dev_subclass = gQuirkyDevices[i].device_subclass;
376 descriptor.dev_protocol = gQuirkyDevices[i].device_protocol;
377 descriptor.vendor = gQuirkyDevices[i].vendor_id;
378 descriptor.product = gQuirkyDevices[i].product_id;
H A DHIDDevice.cpp63 // Conforming device, find the HID descriptor and get the report
64 // descriptor from the device.
81 TRACE_ALWAYS("didn't find a HID descriptor in the configuration, "
87 TRACE_ALWAYS("failed to allocate buffer for hid descriptor\n");
98 TRACE("get hid descriptor: result: 0x%08" B_PRIx32 "; length: %lu"
105 TRACE_ALWAYS("failed to get HID descriptor, trying with a "
106 "fallback report descriptor length of %lu\n",
115 TRACE_ALWAYS("failed to allocate buffer for report descriptor\n");
126 TRACE("get report descriptor: result: 0x%08" B_PRIx32 "; length: %"
129 TRACE_ALWAYS("failed tot get report descriptor\
169 usb_endpoint_descriptor *descriptor = interface->endpoint[i].descr; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_ecm/
H A DECMDevice.cpp40 TRACE_ALWAYS("failed to get device descriptor\n");
329 TRACE_ALWAYS("failed to get device descriptor\n");
382 TRACE_ALWAYS("failed to get device descriptor\n");
399 usb_interface_descriptor *descriptor = interface->descr; local
400 if (descriptor->interface_class != USB_INTERFACE_CLASS_CDC
401 || descriptor->interface_subclass != USB_INTERFACE_SUBCLASS_ECM
434 TRACE_ALWAYS("did not find a union descriptor\n");
439 TRACE_ALWAYS("did not find an ethernet descriptor\n");
452 usb_interface_descriptor *descriptor = interface->descr; local
453 if ((descriptor
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/usb_rndis/
H A DRNDISDevice.cpp87 TRACE_ALWAYS("failed to get device descriptor\n");
492 TRACE_ALWAYS("failed to get device descriptor\n");
612 TRACE_ALWAYS("failed to get device descriptor\n");
629 usb_interface_descriptor *descriptor = interface->descr; local
630 if (descriptor->interface_class != USB_COMMUNICATION_WIRELESS_DEVICE_CLASS
631 || descriptor->interface_subclass != 0x01
632 || descriptor->interface_protocol != 0x03
663 TRACE_ALWAYS("did not find a union descriptor\n");
668 TRACE_ALWAYS("did not find an ethernet descriptor\n");
681 usb_interface_descriptor *descriptor local
[all...]
/haiku/src/tools/vmdkimage/
H A Dvmdkimage.cpp91 char *descriptor = (char *)malloc(descriptorSize); local
92 if (descriptor == NULL) {
93 fprintf(stderr, "Error: cannot allocate descriptor size %u.\n",
98 if (pread(image, descriptor, descriptorSize,
105 puts(descriptor);
107 free(descriptor);
341 // Create embedded descriptor
/haiku/src/add-ons/translators/tga/
H A DTGATranslator.cpp201 // descriptor which says there are no alpha bits.
206 nalpha = imagespec.descriptor & TGA_DESC_ALPHABITS;
340 imagespec.descriptor = buf[17];
343 if ((imagespec.descriptor & TGA_ORIGIN_HORZ_BIT) != TGA_ORIGIN_LEFT)
345 // unused descriptor bits, these bits must be zero
346 if (imagespec.descriptor & TGA_DESC_BITS76)
351 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 8 &&
352 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 0)
357 (imagespec.descriptor & TGA_DESC_ALPHABITS) != 0)
362 (imagespec.descriptor
[all...]
H A DTGATranslator.h102 uint8 descriptor; member in struct:TGAImageSpec
/haiku/src/add-ons/kernel/bus_managers/usb/
H A DDevice.cpp45 // Get the device descriptor
52 TRACE_ERROR("error while getting the device descriptor\n");
56 TRACE("full device descriptor for device %d:\n", fDeviceAddress);
119 " descriptor %" B_PRId32 " got %" B_PRIuSIZE " expected %"
145 TRACE("got interface descriptor\n");
219 TRACE("got endpoint descriptor\n");
267 TRACE_ERROR("found endpoint companion descriptor "
269 "descriptor, ignoring!\n");
273 // companion descriptor along with the endpoint
274 // descriptor, bu
728 usb_interface_descriptor* descriptor local
902 usb_interface_descriptor* descriptor local
[all...]
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DDriver.cpp180 const pc_device_descriptor *descriptor
183 TRACE_ALWAYS("probing device: 0x%04x/0x%04x\n", descriptor->vendor_id,
184 descriptor->product_id);
188 descriptor->vendor_id, descriptor->product_id);
218 descriptor->vendor_id, descriptor->product_id);
/haiku/src/libs/compat/freebsd_network/
H A Dusb.cpp213 const usb_device_descriptor* descriptor = sUSB->get_device_descriptor( local
215 KASSERT(descriptor != NULL, ("no device"));
217 if (descriptor->usb_version >= 0x0300)
219 else if (descriptor->usb_version >= 0x200)
221 else if (descriptor->usb_version >= 0x110)
223 else if (descriptor->usb_version >= 0x100)
/haiku/src/build/libroot/
H A Dfs_descriptors.h123 int add_descriptor(Descriptor *descriptor);
H A Dfs_attr_haiku.cpp290 // create descriptor
291 AttrDirDescriptor *descriptor = new AttrDirDescriptor(dir, ref);
292 return add_descriptor(descriptor);
/haiku/src/tools/fs_shell/
H A Dvfs.h93 void vfs_unlock_vnode_if_locked(struct file_descriptor *descriptor);
/haiku/headers/os/device/
H A DUSBKit.h62 The device class provides direct accessors for descriptor fields as well
82 // These are direct accessors to descriptor fields.
93 // descriptor data. The strings are decoded to normal 0 terminated
107 usb_string_descriptor *descriptor,
124 // configuration descriptor.
211 /* The BUSBInterface class can be used to access the descriptor fields of
228 // These are accessors to descriptor fields. InterfaceString() tries
243 usb_descriptor *descriptor,
257 // AlternateAt() returns the interface descriptor of the alternate
/haiku/src/system/boot/platform/efi/arch/arm64/
H A Darch_mmu.cpp131 uint32_t level, uint64_t flags, uint64* descriptor)
133 ARMv8TranslationTableDescriptor ttd(descriptor);
147 level, reinterpret_cast<uint64>(descriptor), ttd.Location());
194 panic("Required contiguous descriptor in use by Block/Page for %lx\n", ttd.Location());
217 panic("Re-setting a Block/Page descriptor for %lx\n", ttd.Location());
224 panic("All descriptor types processed for %lx\n", ttd.Location());
130 map_region(addr_t virt_addr, addr_t phys_addr, size_t size, uint32_t level, uint64_t flags, uint64* descriptor) argument
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DAudioControlInterface.cpp698 usb_audio_input_terminal_descriptor* descriptor local
700 TRACE(UAC, "Effect Unit:%d >>>\n", descriptor->terminal_id);
848 usb_audio_input_terminal_descriptor* descriptor local
850 TRACE(UAC, "Clock Source:%d >>>\n", descriptor->terminal_id);
864 usb_audio_input_terminal_descriptor* descriptor local
866 TRACE(UAC, "Clock Selector:%d >>>\n", descriptor->terminal_id);
880 usb_audio_input_terminal_descriptor* descriptor local
882 TRACE(UAC, "Clock Multiplier:%d >>>\n", descriptor->terminal_id);
896 usb_audio_input_terminal_descriptor* descriptor local
898 TRACE(UAC, "Sample Rate Converter:%d >>>\n", descriptor
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvlist.c1430 NVLIST_EXISTS(descriptor, DESCRIPTOR)
1561 NVLIST_ADD(int, descriptor);
1592 NVLIST_ADD_ARRAY(const int *, descriptor)
1625 NVLIST_APPEND_ARRAY(const int, descriptor, DESCRIPTOR)
1888 NVLIST_GET(int, descriptor, DESCRIPTOR)
1923 NVLIST_GET_ARRAY(const int *, descriptor, DESCRIPTOR)
1949 NVLIST_TAKE(int, descriptor, DESCRIPTOR)
1992 NVLIST_TAKE_ARRAY(int *, descriptor, DESCRIPTOR)
2033 NVLIST_FREE(descriptor, DESCRIPTOR)
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/
H A Dwb840.c68 // Prepares a RX descriptor to be used by the chip
70 wb_put_rx_descriptor(volatile wb_desc* descriptor) argument
72 descriptor->wb_status = WB_RXSTAT_OWN;
73 descriptor->wb_ctl |= WB_MAX_FRAMELEN | WB_RXCTL_RLINK;
363 LOG((DEVICE_NAME": Device still owns the descriptor\n"));

Completed in 156 milliseconds

1234