Changeset 2f762a7 in mainline for uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
- Timestamp:
- 2018-02-11T17:18:17Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1d758fc
- Parents:
- d345ce2
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-02-05 03:52:09)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-02-11 17:18:17)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
rd345ce2 r2f762a7 70 70 } setup; 71 71 72 /** DMA buffer with enforced policy */ 73 dma_buffer_t dma_buffer; 72 /** 73 * In case a bounce buffer is allocated, the original buffer must to be 74 * stored to be filled after the IN transaction is finished. 75 */ 76 char *buffer; 74 77 /** Size of memory buffer */ 75 78 size_t buffer_size; 76 79 77 /** 78 * In case the DMA buffer is allocated, the original buffer must to be 79 * stored to be filled after the IN transaction is finished. 80 */ 81 char *original_buffer; 80 /** DMA buffer with enforced policy */ 81 dma_buffer_t dma_buffer; 82 bool is_bounced; 82 83 83 84 /** Indicates success/failure of the communication */ … … 114 115 void usb_transfer_batch_init(usb_transfer_batch_t *, endpoint_t *); 115 116 117 errno_t usb_transfer_batch_bounce(usb_transfer_batch_t *); 116 118 /** Buffer preparation */ 117 119 errno_t usb_transfer_batch_prepare_buffer(usb_transfer_batch_t *, char *);
Note:
See TracChangeset
for help on using the changeset viewer.