Changeset d60115a in mainline for uspace/drv/bus/usb/ohci/ohci_batch.h
- Timestamp:
- 2018-01-17T17:55:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ad2b0a
- Parents:
- ed8575f
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-17 17:54:31)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-17 17:55:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_batch.h
red8575f rd60115a 47 47 usb_transfer_batch_t base; 48 48 49 /** Link */50 link_t link;51 49 /** Endpoint descriptor of the target endpoint. */ 52 50 ed_t *ed; … … 65 63 void ohci_transfer_batch_destroy(ohci_transfer_batch_t *ohci_batch); 66 64 67 static inline ohci_transfer_batch_t *ohci_transfer_batch_from_link(link_t *l)68 {69 assert(l);70 return list_get_instance(l, ohci_transfer_batch_t, link);71 }72 73 65 static inline ohci_transfer_batch_t * ohci_transfer_batch_get(usb_transfer_batch_t *usb_batch) 74 66 {
Note:
See TracChangeset
for help on using the changeset viewer.