Changeset 1ed3eb4 in mainline for uspace/drv/bus/usb/xhci/endpoint.c
- Timestamp:
- 2018-01-13T19:13:04Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2489353
- Parents:
- 001778c
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-13 19:12:34)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-13 19:13:04)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.c
r001778c r1ed3eb4 443 443 } 444 444 445 /** Retrieve XHCI endpoint from a device by the endpoint number.446 * @param[in] dev XHCI device to query.447 * @param[in] ep Endpoint number identifying the endpoint to retrieve.448 *449 * @return XHCI endpoint with the specified number or NULL if no such endpoint exists.450 */451 xhci_endpoint_t *xhci_device_get_endpoint(xhci_device_t *dev, usb_endpoint_t ep)452 {453 endpoint_t *ep_base = dev->base.endpoints[ep];454 if (!ep_base)455 return NULL;456 457 return xhci_endpoint_get(ep_base);458 }459 460 445 /** 461 446 * @}
Note:
See TracChangeset
for help on using the changeset viewer.