Changeset 47e9494 in mainline for uspace/drv/bus/usb/xhci/endpoint.h
- Timestamp:
- 2018-01-16T18:02:46Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eeca8a6
- Parents:
- 7d1dd2b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/endpoint.h
r7d1dd2b r47e9494 51 51 typedef struct xhci_device xhci_device_t; 52 52 typedef struct xhci_endpoint xhci_endpoint_t; 53 typedef struct xhci_stream_data xhci_stream_data_t; 53 54 typedef struct xhci_bus xhci_bus_t; 54 55 … … 71 72 xhci_trb_ring_t ring; 72 73 73 /** Primary stream context array (or NULL if endpoint doesn't use streams). */ 74 /** Primary stream context data array (or NULL if endpoint doesn't use streams). */ 75 xhci_stream_data_t *primary_stream_data_array; 76 77 /** Primary stream context array - allocated for xHC hardware. */ 74 78 xhci_stream_ctx_t *primary_stream_ctx_array; 75 79 dma_buffer_t primary_stream_ctx_dma; 76 80 77 /** Primary stream ring array (or NULL if endpoint doesn't use streams). */ 78 xhci_trb_ring_t *primary_stream_rings; 79 80 /** Size of the allocated primary stream context array (and ring array). */ 81 uint16_t primary_stream_ctx_array_size; 81 /** Size of the allocated primary stream data array (and context array). */ 82 uint16_t primary_stream_data_size; 82 83 83 84 /* Maximum number of primary streams (0 - 2^16). */ … … 129 130 #define XHCI_DEV_ARGS(dev) ddf_fun_get_name((dev).base.fun), (dev).slot_id 130 131 132 int xhci_endpoint_type(xhci_endpoint_t *ep); 133 131 134 int xhci_endpoint_init(xhci_endpoint_t *, device_t *, const usb_endpoint_descriptors_t *); 132 135 void xhci_endpoint_fini(xhci_endpoint_t *); 133 134 int xhci_endpoint_request_streams(xhci_hc_t *, xhci_device_t *, xhci_endpoint_t *, unsigned);135 136 136 137 uint8_t xhci_endpoint_dci(xhci_endpoint_t *);
Note:
See TracChangeset
for help on using the changeset viewer.