Changes in uspace/lib/usbdev/include/usb/dev/pipes.h [7a05ced0:b77931d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/pipes.h
r7a05ced0 rb77931d 141 141 typedef struct { 142 142 /** Endpoint pipe. */ 143 usb_pipe_t *pipe;143 usb_pipe_t pipe; 144 144 /** Endpoint description. */ 145 145 const usb_endpoint_description_t *description; … … 149 149 int interface_setting; 150 150 /** Found descriptor fitting the description. */ 151 usb_standard_endpoint_descriptor_t *descriptor;151 const usb_standard_endpoint_descriptor_t *descriptor; 152 152 /** Interface descriptor the endpoint belongs to. */ 153 usb_standard_interface_descriptor_t *interface;153 const usb_standard_interface_descriptor_t *interface; 154 154 /** Whether the endpoint was actually found. */ 155 155 bool present; … … 159 159 usb_device_connection_t *, usb_hc_connection_t *); 160 160 int usb_device_connection_initialize_from_device(usb_device_connection_t *, 161 ddf_dev_t *);161 const ddf_dev_t *); 162 162 int usb_device_connection_initialize(usb_device_connection_t *, 163 163 devman_handle_t, usb_address_t); 164 164 165 int usb_device_get_assigned_interface( ddf_dev_t *);165 int usb_device_get_assigned_interface(const ddf_dev_t *); 166 166 167 167 int usb_pipe_initialize(usb_pipe_t *, usb_device_connection_t *, … … 171 171 int usb_pipe_probe_default_control(usb_pipe_t *); 172 172 int usb_pipe_initialize_from_configuration(usb_endpoint_mapping_t *, 173 size_t, uint8_t *, size_t, usb_device_connection_t *); 174 int usb_pipe_register_with_speed(usb_pipe_t *, usb_speed_t, 175 unsigned int, usb_hc_connection_t *); 173 size_t, const uint8_t *, size_t, usb_device_connection_t *); 176 174 int usb_pipe_register(usb_pipe_t *, unsigned int, usb_hc_connection_t *); 177 175 int usb_pipe_unregister(usb_pipe_t *, usb_hc_connection_t *); … … 185 183 int usb_pipe_control_read(usb_pipe_t *, const void *, size_t, 186 184 void *, size_t, size_t *); 187 int usb_pipe_control_write(usb_pipe_t *, void *, size_t,188 void *, size_t);185 int usb_pipe_control_write(usb_pipe_t *, const void *, size_t, 186 const void *, size_t); 189 187 190 188 #endif
Note:
See TracChangeset
for help on using the changeset viewer.