Changes in uspace/lib/usbdev/include/usb/dev/pipes.h [8d2dd7f2:ec700c7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/pipes.h
r8d2dd7f2 rec700c7 50 50 */ 51 51 typedef struct { 52 /** Endpoint number. */ 53 usb_endpoint_t endpoint_no; 54 55 /** Endpoint transfer type. */ 56 usb_transfer_type_t transfer_type; 57 58 /** Endpoint direction. */ 59 usb_direction_t direction; 60 61 /** Maximum packet size for the endpoint. */ 62 size_t max_packet_size; 63 64 /** Number of packets per frame/uframe. 65 * Only valid for HS INT and ISO transfers. All others should set to 1*/ 66 unsigned packets; 67 52 /** Endpoint description */ 53 usb_endpoint_desc_t desc; 68 54 /** Whether to automatically reset halt on the endpoint. 69 55 * Valid only for control endpoint zero. 70 56 */ 71 57 bool auto_reset_halt; 72 73 58 /** The connection used for sending the data. */ 74 59 usb_dev_session_t *bus_session; … … 103 88 /** Found descriptor fitting the description. */ 104 89 const usb_standard_endpoint_descriptor_t *descriptor; 90 /** Relevant superspeed companion descriptor. */ 91 const usb_superspeed_endpoint_companion_descriptor_t *companion_descriptor; 105 92 /** Interface descriptor the endpoint belongs to. */ 106 93 const usb_standard_interface_descriptor_t *interface; … … 110 97 111 98 int usb_pipe_initialize(usb_pipe_t *, usb_endpoint_t, usb_transfer_type_t, 112 size_t, usb_direction_t, unsigned, u sb_dev_session_t *);99 size_t, usb_direction_t, unsigned, unsigned, unsigned, usb_dev_session_t *); 113 100 int usb_pipe_initialize_default_control(usb_pipe_t *, usb_dev_session_t *); 114 101
Note:
See TracChangeset
for help on using the changeset viewer.