Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/pipes.h

    r8d2dd7f2 rec700c7  
    5050 */
    5151typedef 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;
    6854        /** Whether to automatically reset halt on the endpoint.
    6955         * Valid only for control endpoint zero.
    7056         */
    7157        bool auto_reset_halt;
    72 
    7358        /** The connection used for sending the data. */
    7459        usb_dev_session_t *bus_session;
     
    10388        /** Found descriptor fitting the description. */
    10489        const usb_standard_endpoint_descriptor_t *descriptor;
     90        /** Relevant superspeed companion descriptor. */
     91        const usb_superspeed_endpoint_companion_descriptor_t *companion_descriptor;
    10592        /** Interface descriptor the endpoint belongs to. */
    10693        const usb_standard_interface_descriptor_t *interface;
     
    11097
    11198int usb_pipe_initialize(usb_pipe_t *, usb_endpoint_t, usb_transfer_type_t,
    112     size_t, usb_direction_t, unsigned, usb_dev_session_t *);
     99    size_t, usb_direction_t, unsigned, unsigned, unsigned, usb_dev_session_t *);
    113100int usb_pipe_initialize_default_control(usb_pipe_t *, usb_dev_session_t *);
    114101
Note: See TracChangeset for help on using the changeset viewer.