Changeset 8fe29a7c in mainline for uspace/drv/bus/usb/xhci/endpoint.h


Ignore:
Timestamp:
2018-01-18T17:12:53Z (7 years ago)
Author:
Ondřej Hlavatý <aearsis@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
41abf3c
Parents:
fb28cde
Message:

xhci: clear endpoint halted condition

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/xhci/endpoint.h

    rfb28cde r8fe29a7c  
    6363        EP_TYPE_BULK_IN = 6,
    6464        EP_TYPE_INTERRUPT_IN = 7
     65};
     66
     67enum {
     68        EP_STATE_DISABLED = 0,
     69        EP_STATE_RUNNING = 1,
     70        EP_STATE_HALTED = 2,
     71        EP_STATE_STOPPED = 3,
     72        EP_STATE_ERROR = 4,
    6573};
    6674
     
    141149
    142150void xhci_setup_endpoint_context(xhci_endpoint_t *, xhci_ep_ctx_t *);
     151int xhci_endpoint_clear_halt(xhci_endpoint_t *, unsigned);
    143152
    144153static inline xhci_device_t * xhci_device_get(device_t *dev)
     
    160169}
    161170
     171uint8_t xhci_endpoint_get_state(xhci_endpoint_t *ep);
     172
    162173#endif
    163174
Note: See TracChangeset for help on using the changeset viewer.