Changeset ed8575f in mainline for uspace/lib/usbhost/include/usb/host/endpoint.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:
- d60115a
- Parents:
- feabe163
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-17 17:54:07)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-17 17:55:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/endpoint.h
rfeabe163 red8575f 55 55 /** Host controller side endpoint structure. */ 56 56 typedef struct endpoint { 57 /** Part of linked list. */58 link_t link;59 57 /** USB device */ 60 58 device_t *device; … … 111 109 } 112 110 113 /** list_get_instance wrapper.114 *115 * @param item Pointer to link member.116 *117 * @return Pointer to endpoint_t structure.118 *119 */120 static inline endpoint_t * endpoint_get_instance(link_t *item)121 {122 return item ? list_get_instance(item, endpoint_t, link) : NULL;123 }124 125 111 #endif 126 112
Note:
See TracChangeset
for help on using the changeset viewer.