Home
last modified time | relevance | path

Searched refs:num_iso_packets (Results 1 – 12 of 12) sorted by relevance

/external/libusb/libusb/
Dlibusb.h1277 int num_iso_packets; member
1686 unsigned char *buffer, int length, int num_iso_packets, in libusb_fill_iso_transfer() argument
1695 transfer->num_iso_packets = num_iso_packets; in libusb_fill_iso_transfer()
1713 for (i = 0; i < transfer->num_iso_packets; i++) in libusb_set_iso_packet_lengths()
1747 if (_packet >= transfer->num_iso_packets) in libusb_get_iso_packet_buffer()
1787 if (_packet >= transfer->num_iso_packets) in libusb_get_iso_packet_buffer_simple()
Dlibusbi.h528 int num_iso_packets; member
Dio.c1309 itransfer->num_iso_packets = iso_packets; in libusb_alloc_transfer()
/external/libusb/include/libusb/
Dlibusb.h1277 int num_iso_packets; member
1686 unsigned char *buffer, int length, int num_iso_packets, in libusb_fill_iso_transfer() argument
1695 transfer->num_iso_packets = num_iso_packets; in libusb_fill_iso_transfer()
1713 for (i = 0; i < transfer->num_iso_packets; i++) in libusb_set_iso_packet_lengths()
1747 if (_packet >= transfer->num_iso_packets) in libusb_get_iso_packet_buffer()
1787 if (_packet >= transfer->num_iso_packets) in libusb_get_iso_packet_buffer_simple()
Dlibusbi.h528 int num_iso_packets; member
/external/libusb/libusb/os/
Dhaiku_usb_backend.cpp126 command.isochronous.packet_count = fLibusbTransfer->num_iso_packets; in Do()
128 …et_descriptor *packetDescriptors = new usb_iso_packet_descriptor[fLibusbTransfer->num_iso_packets]; in Do()
129 for (i = 0; i < fLibusbTransfer->num_iso_packets; i++) { in Do()
137 if (i < fLibusbTransfer->num_iso_packets) in Do()
148 for (i = 0; i < fLibusbTransfer->num_iso_packets; i++) { in Do()
Ddarwin_usb.c1885 if (tpriv->num_iso_packets != transfer->num_iso_packets) { in submit_iso_transfer()
1891 tpriv->num_iso_packets = transfer->num_iso_packets; in submit_iso_transfer()
1892 …tpriv->isoc_framelist = (IOUSBIsocFrame*) calloc ((size_t)transfer->num_iso_packets, sizeof(IOUSBI… in submit_iso_transfer()
1898 for (i = 0 ; i < transfer->num_iso_packets ; i++) { in submit_iso_transfer()
1937 … (UInt32)transfer->num_iso_packets, tpriv->isoc_framelist, darwin_async_io_callback, in submit_iso_transfer()
1941 … (UInt32)transfer->num_iso_packets, tpriv->isoc_framelist, darwin_async_io_callback, in submit_iso_transfer()
1946 …cInterface->frames[transfer->endpoint] = frame + (UInt32)transfer->num_iso_packets * (1U << (inter… in submit_iso_transfer()
1949 …cInterface->frames[transfer->endpoint] = frame + (UInt32)transfer->num_iso_packets * (1U << (inter… in submit_iso_transfer()
2170 for (int i = 0; i < transfer->num_iso_packets ; i++) { in darwin_handle_transfer_completion()
Dwindows_usbdk.c612 transfer_priv->request.IsochronousPacketsArraySize = transfer->num_iso_packets; in usbdk_do_iso_transfer()
613 transfer_priv->IsochronousPacketsArray = malloc(transfer->num_iso_packets * sizeof(ULONG64)); in usbdk_do_iso_transfer()
620 …transfer_priv->IsochronousResultsArray = malloc(transfer->num_iso_packets * sizeof(USB_DK_ISO_TRAN… in usbdk_do_iso_transfer()
627 for (i = 0; i < transfer->num_iso_packets; i++) in usbdk_do_iso_transfer()
Ddarwin_usb.h191 int num_iso_packets; member
Dwindows_winusb.c2786 for (idx = 0; idx < transfer->num_iso_packets && !fallback; idx++) { in winusbx_native_iso_transfer_continue_stream_callback()
2838 iso_ctx_size = sizeof(KISO_CONTEXT) + (transfer->num_iso_packets * sizeof(KISO_PACKET)); in winusbx_submit_iso_transfer()
2845 iso_context->NumberOfPackets = (SHORT)transfer->num_iso_packets; in winusbx_submit_iso_transfer()
2849 for (i = 0; i < transfer->num_iso_packets; i++) { in winusbx_submit_iso_transfer()
2855 usbi_dbg("reading %d iso packets", transfer->num_iso_packets); in winusbx_submit_iso_transfer()
2858 usbi_dbg("writing %d iso packets", transfer->num_iso_packets); in winusbx_submit_iso_transfer()
2925 for (idx = 0; idx < transfer->num_iso_packets; ++idx) { in winusbx_submit_iso_transfer()
2927 …ength != pipe_info_ex.MaximumBytesPerInterval && idx + 1 < transfer->num_iso_packets && transfer->… in winusbx_submit_iso_transfer()
2967 …le, 0, transfer->length, !transfer_priv->iso_break_stream, transfer->num_iso_packets, (PUSBD_ISO_P… in winusbx_submit_iso_transfer()
3145 for (i = 0; i < transfer->num_iso_packets; i++) { in winusbx_copy_transfer_data()
[all …]
Dlinux_usbfs.c2060 int num_packets = transfer->num_iso_packets; in submit_iso_transfer()
/external/libusb/examples/
Dsam3u_benchmark.c84 for (i = 0; i < xfr->num_iso_packets; i++) { in cb_xfr()