Changeset 00aece0 in mainline for uspace/drv/bus/usb/ohci/ohci_endpoint.h
- Timestamp:
- 2012-02-18T16:47:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4449c6c
- Parents:
- bd5f3b7 (diff), f943dd3 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 moved
-
uspace/drv/bus/usb/ohci/ohci_endpoint.h (moved) (moved from uspace/drv/bus/usb/ohci/hcd_endpoint.h ) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_endpoint.h
rbd5f3b7 r00aece0 38 38 #include <adt/list.h> 39 39 #include <usb/host/endpoint.h> 40 #include <usb/host/hcd.h> 40 41 41 42 #include "hw_struct/endpoint_descriptor.h" … … 43 44 44 45 /** Connector structure linking ED to to prepared TD. */ 45 typedef struct hcd_endpoint {46 typedef struct ohci_endpoint { 46 47 /** OHCI endpoint descriptor */ 47 48 ed_t *ed; … … 50 51 /** Linked list used by driver software */ 51 52 link_t link; 52 } hcd_endpoint_t;53 } ohci_endpoint_t; 53 54 54 hcd_endpoint_t * hcd_endpoint_assign(endpoint_t *ep);55 void hcd_endpoint_clear(endpoint_t *ep);55 int ohci_endpoint_init(hcd_t *hcd, endpoint_t *ep); 56 void ohci_endpoint_fini(hcd_t *hcd, endpoint_t *ep); 56 57 57 /** Get and convert assigned hcd_endpoint_t structure58 /** Get and convert assigned ohci_endpoint_t structure 58 59 * @param[in] ep USBD endpoint structure. 59 60 * @return Pointer to assigned hcd endpoint structure 60 61 */ 61 static inline hcd_endpoint_t * hcd_endpoint_get(endpoint_t *ep)62 static inline ohci_endpoint_t * ohci_endpoint_get(const endpoint_t *ep) 62 63 { 63 64 assert(ep);
Note:
See TracChangeset
for help on using the changeset viewer.
