Changeset 2770b66 in mainline for uspace/drv/bus/usb/xhci/endpoint.h
- Timestamp:
- 2017-10-15T15:05:06Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 816f5f4
- Parents:
- 20eaa82
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.h
r20eaa82 r2770b66 66 66 endpoint_t base; /**< Inheritance. Keep this first. */ 67 67 68 /** Parent device. */ 68 69 xhci_device_t *device; 69 70 } xhci_endpoint_t; 70 71 71 72 typedef struct xhci_device { 73 /** Unique USB address assigned to the device. */ 72 74 usb_address_t address; 73 75 76 /** Slot ID assigned to the device by xHC. */ 74 77 uint32_t slot_id; 75 78 79 /** Associated device in libusbhost. */ 80 device_t *device; 81 82 /** All endpoints of the device. Inactive ones are NULL */ 76 83 xhci_endpoint_t *endpoints[XHCI_DEVICE_MAX_ENDPOINTS]; 84 85 /** Number of non-NULL endpoints. Reference count of sorts. */ 77 86 uint8_t active_endpoint_count; 78 87 } xhci_device_t;
Note:
See TracChangeset
for help on using the changeset viewer.