Home
last modified time | relevance | path

Searched refs:itransfer (Results 1 – 5 of 5) sorted by relevance

/external/libusb/libusb/os/
Dlinux_usbfs.c1335 static int submit_bulk_transfer(struct usbi_transfer *itransfer, in submit_bulk_transfer() argument
1339 __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer()
1340 struct linux_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_bulk_transfer()
1380 urb->usercontext = itransfer; in submit_bulk_transfer()
1451 static int submit_iso_transfer(struct usbi_transfer *itransfer) in submit_iso_transfer() argument
1454 __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_iso_transfer()
1455 struct linux_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_iso_transfer()
1543 urb->usercontext = itransfer; in submit_iso_transfer()
1608 static int submit_control_transfer(struct usbi_transfer *itransfer) in submit_control_transfer() argument
1610 struct linux_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_control_transfer()
[all …]
Ddarwin_usb.c1072 static int submit_bulk_transfer(struct usbi_transfer *itransfer) { in submit_bulk_transfer() argument
1073 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_bulk_transfer()
1104 transfer->length, darwin_async_io_callback, itransfer); in submit_bulk_transfer()
1107 transfer->length, darwin_async_io_callback, itransfer); in submit_bulk_transfer()
1112 darwin_async_io_callback, (void *)itransfer); in submit_bulk_transfer()
1116 darwin_async_io_callback, (void *)itransfer); in submit_bulk_transfer()
1126 static int submit_iso_transfer(struct usbi_transfer *itransfer) { in submit_iso_transfer() argument
1127 struct libusb_transfer *transfer = __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in submit_iso_transfer()
1128 struct darwin_transfer_priv *tpriv = usbi_transfer_get_os_priv(itransfer); in submit_iso_transfer()
1178 itransfer); in submit_iso_transfer()
[all …]
/external/libusb/libusb/
Dio.c1167 struct usbi_transfer *itransfer = malloc(alloc_size); in libusb_alloc_transfer() local
1168 if (!itransfer) in libusb_alloc_transfer()
1171 memset(itransfer, 0, alloc_size); in libusb_alloc_transfer()
1172 itransfer->num_iso_packets = iso_packets; in libusb_alloc_transfer()
1173 pthread_mutex_init(&itransfer->lock, NULL); in libusb_alloc_transfer()
1174 return __USBI_TRANSFER_TO_LIBUSB_TRANSFER(itransfer); in libusb_alloc_transfer()
1196 struct usbi_transfer *itransfer; in libusb_free_transfer() local
1203 itransfer = __LIBUSB_TRANSFER_TO_USBI_TRANSFER(transfer); in libusb_free_transfer()
1204 pthread_mutex_destroy(&itransfer->lock); in libusb_free_transfer()
1205 free(itransfer); in libusb_free_transfer()
[all …]
Dlibusbi.h303 int usbi_handle_transfer_completion(struct usbi_transfer *itransfer,
715 int (*submit_transfer)(struct usbi_transfer *itransfer);
723 int (*cancel_transfer)(struct usbi_transfer *itransfer);
735 void (*clear_transfer_priv)(struct usbi_transfer *itransfer);
/external/mesa3d/src/gallium/drivers/i915/
Di915_resource_texture.c766 struct i915_transfer *itransfer = (struct i915_transfer*)transfer; in i915_transfer_destroy() local
768 if ((itransfer->staging_texture) && in i915_transfer_destroy()
772 u_box_origin_2d(itransfer->b.box.width, itransfer->b.box.height, &sbox); in i915_transfer_destroy()
773 pipe->resource_copy_region(pipe, itransfer->b.resource, itransfer->b.level, in i915_transfer_destroy()
774 itransfer->b.box.x, itransfer->b.box.y, itransfer->b.box.z, in i915_transfer_destroy()
775 itransfer->staging_texture, in i915_transfer_destroy()
778 pipe_resource_reference(&itransfer->staging_texture, NULL); in i915_transfer_destroy()
781 util_slab_free(&i915->texture_transfer_pool, itransfer); in i915_transfer_destroy()
788 struct i915_transfer *itransfer = (struct i915_transfer*)transfer; in i915_texture_transfer_map() local
789 struct pipe_resource *resource = itransfer->b.resource; in i915_texture_transfer_map()
[all …]