Changeset 35c37fc in mainline for uspace/drv/bus/usb/ehci/ehci_batch.h
- Timestamp:
- 2018-01-05T20:15:08Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9e5b162
- Parents:
- b60944b
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-05 16:11:04)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-05 20:15:08)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/ehci_batch.h
rb60944b r35c37fc 39 39 #include <stdbool.h> 40 40 #include <usb/host/usb_transfer_batch.h> 41 #include <usb/host/dma_buffer.h> 41 42 42 43 #include "hw_struct/queue_head.h" … … 46 47 typedef struct ehci_transfer_batch { 47 48 usb_transfer_batch_t base; 49 /** Number of TDs used by the transfer */ 50 size_t td_count; 48 51 /** Link */ 49 52 link_t link; 50 53 /** Endpoint descriptor of the target endpoint. */ 51 54 qh_t *qh; 52 /** List of TDs needed for the transfer */53 td_t **tds;54 /** Number of TDs used by the transfer */55 size_t td_count;56 55 /** Data buffer, must be accessible by the EHCI hw. */ 57 char *device_buffer; 56 dma_buffer_t dma_buffer; 57 /** List of TDs needed for the transfer - backed by dma_buffer */ 58 td_t *tds; 59 /** Data buffers - backed by dma_buffer */ 60 void *setup_buffer; 61 void *data_buffer; 58 62 /** Generic USB transfer structure */ 59 63 usb_transfer_batch_t *usb_batch;
Note:
See TracChangeset
for help on using the changeset viewer.