Changeset 17873ac7 in mainline for uspace/drv/bus/usb/uhci/uhci_batch.h
- Timestamp:
- 2017-10-31T19:06:57Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 479e32d
- Parents:
- a312d8f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/uhci_batch.h
ra312d8f r17873ac7 98 98 } 99 99 100 /** Aborts the batch.101 * Sets error to EINTR and size off transferd data to 0, before finishing the102 * batch.103 * @param uhci_batch Batch to abort.104 */105 static inline void uhci_transfer_batch_abort(uhci_transfer_batch_t *uhci_batch)106 {107 assert(uhci_batch);108 uhci_batch->base.error = EINTR;109 uhci_batch->base.transfered_size = 0;110 usb_transfer_batch_finish(&uhci_batch->base);111 }112 113 100 /** Linked list conversion wrapper. 114 101 * @param l Linked list link.
Note:
See TracChangeset
for help on using the changeset viewer.