Home
last modified time | relevance | path

Searched refs:tpriv (Results 1 – 3 of 3) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c1748 struct linux_transfer_priv *tpriv = in discard_urbs() local
1757 urb = tpriv->iso_urbs[i]; in discard_urbs()
1759 urb = &tpriv->urbs[i]; in discard_urbs()
1780 static void free_iso_urbs(struct linux_transfer_priv *tpriv) in free_iso_urbs() argument
1783 for (i = 0; i < tpriv->num_urbs; i++) { in free_iso_urbs()
1784 struct usbfs_urb *urb = tpriv->iso_urbs[i]; in free_iso_urbs()
1790 free(tpriv->iso_urbs); in free_iso_urbs()
1791 tpriv->iso_urbs = NULL; in free_iso_urbs()
1798 struct linux_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_bulk_transfer() local
1868 tpriv->urbs = urbs; in submit_bulk_transfer()
[all …]
Ddarwin_usb.c1652 struct darwin_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_iso_transfer() local
1664 if (tpriv->isoc_framelist && tpriv->num_iso_packets != transfer->num_iso_packets) { in submit_iso_transfer()
1665 free(tpriv->isoc_framelist); in submit_iso_transfer()
1666 tpriv->isoc_framelist = NULL; in submit_iso_transfer()
1669 if (!tpriv->isoc_framelist) { in submit_iso_transfer()
1670 tpriv->num_iso_packets = transfer->num_iso_packets; in submit_iso_transfer()
1671tpriv->isoc_framelist = (IOUSBIsocFrame*) calloc (transfer->num_iso_packets, sizeof(IOUSBIsocFrame… in submit_iso_transfer()
1672 if (!tpriv->isoc_framelist) in submit_iso_transfer()
1678 tpriv->isoc_framelist[i].frReqCount = transfer->iso_packet_desc[i].length; in submit_iso_transfer()
1695 free(tpriv->isoc_framelist); in submit_iso_transfer()
[all …]
Dsunos_usb.c807 struct sunos_transfer_priv *tpriv = in sunos_async_callback() local
809 struct libusb_transfer *xfer = tpriv->transfer; in sunos_async_callback()
810 struct aiocb *aiocb = &tpriv->aiocb; in sunos_async_callback()
843 struct sunos_transfer_priv *tpriv; in sunos_do_async_io() local
847 tpriv = usbi_transfer_get_os_priv(LIBUSB_TRANSFER_TO_USBI_TRANSFER(transfer)); in sunos_do_async_io()
851 tpriv->transfer = transfer; in sunos_do_async_io()
852 aiocb = &tpriv->aiocb; in sunos_do_async_io()
861 aiocb->aio_sigevent.sigev_value.sival_ptr = tpriv; in sunos_do_async_io()
1074 sunos_xfer_priv_t *tpriv; in sunos_cancel_transfer() local
1081 tpriv = usbi_transfer_get_os_priv(itransfer); in sunos_cancel_transfer()
[all …]