Searched refs:usbi_transfer (Results 1 – 4 of 4) sorted by relevance
251 struct usbi_transfer { struct270 + sizeof(struct usbi_transfer))) argument272 ((struct usbi_transfer *)(((void *)(transfer)) \273 - sizeof(struct usbi_transfer)))275 static inline void *usbi_transfer_get_os_priv(struct usbi_transfer *transfer) in usbi_transfer_get_os_priv()277 return ((void *)transfer) + sizeof(struct usbi_transfer) in usbi_transfer_get_os_priv()303 int usbi_handle_transfer_completion(struct usbi_transfer *itransfer,305 int usbi_handle_transfer_cancellation(struct usbi_transfer *transfer);715 int (*submit_transfer)(struct usbi_transfer *itransfer);723 int (*cancel_transfer)(struct usbi_transfer *itransfer);[all …]
1058 static int calculate_timeout(struct usbi_transfer *transfer) in calculate_timeout()1090 static int add_to_flying_list(struct usbi_transfer *transfer) in add_to_flying_list()1092 struct usbi_transfer *cur; in add_to_flying_list()1163 int alloc_size = sizeof(struct usbi_transfer) in libusb_alloc_transfer()1167 struct usbi_transfer *itransfer = malloc(alloc_size); in libusb_alloc_transfer()1196 struct usbi_transfer *itransfer; in libusb_free_transfer()1221 struct usbi_transfer *itransfer = in libusb_submit_transfer()1276 struct usbi_transfer *itransfer = in libusb_cancel_transfer()1312 struct usbi_transfer *transfer; in arm_timerfd_for_next_timeout()1356 int usbi_handle_transfer_completion(struct usbi_transfer *itransfer, in usbi_handle_transfer_completion()[all …]
1072 static int submit_bulk_transfer(struct usbi_transfer *itransfer) { in submit_bulk_transfer()1126 static int submit_iso_transfer(struct usbi_transfer *itransfer) { in submit_iso_transfer()1194 static int submit_control_transfer(struct usbi_transfer *itransfer) { in submit_control_transfer()1225 static int darwin_submit_transfer(struct usbi_transfer *itransfer) { in darwin_submit_transfer()1242 static int cancel_control_transfer(struct usbi_transfer *itransfer) { in cancel_control_transfer()1254 static int darwin_abort_transfers (struct usbi_transfer *itransfer) { in darwin_abort_transfers()1287 static int darwin_cancel_transfer(struct usbi_transfer *itransfer) { in darwin_cancel_transfer()1303 static void darwin_clear_transfer_priv (struct usbi_transfer *itransfer) { in darwin_clear_transfer_priv()1314 struct usbi_transfer *itransfer = (struct usbi_transfer *)refcon; in darwin_async_io_callback()1329 static int darwin_transfer_status (struct usbi_transfer *itransfer, kern_return_t result) { in darwin_transfer_status()[all …]
1335 static int submit_bulk_transfer(struct usbi_transfer *itransfer, in submit_bulk_transfer()1451 static int submit_iso_transfer(struct usbi_transfer *itransfer) in submit_iso_transfer()1608 static int submit_control_transfer(struct usbi_transfer *itransfer) in submit_control_transfer()1651 static int op_submit_transfer(struct usbi_transfer *itransfer) in op_submit_transfer()1672 static int cancel_control_transfer(struct usbi_transfer *itransfer) in cancel_control_transfer()1700 static int cancel_bulk_transfer(struct usbi_transfer *itransfer) in cancel_bulk_transfer()1722 static int cancel_iso_transfer(struct usbi_transfer *itransfer) in cancel_iso_transfer()1744 static int op_cancel_transfer(struct usbi_transfer *itransfer) in op_cancel_transfer()1764 static void op_clear_transfer_priv(struct usbi_transfer *itransfer) in op_clear_transfer_priv()1786 static int handle_bulk_completion(struct usbi_transfer *itransfer, in handle_bulk_completion()[all …]