Changes in uspace/drv/usbhub/usbhub_private.h [c1693dae:f35b294] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
rc1693dae rf35b294 113 113 114 114 usb_device_request_setup_packet_t clear_request = { 115 .request_type = USB_HUB_REQ_TYPE_ SET_PORT_FEATURE,115 .request_type = USB_HUB_REQ_TYPE_CLEAR_PORT_FEATURE, 116 116 .request = USB_DEVREQ_SET_FEATURE, 117 117 .length = 0, … … 166 166 } 167 167 168 /** 169 * create uint8_t array with serialized descriptor 170 * 171 * @param descriptor 172 * @return newly created serializd descriptor pointer 173 */ 174 void * usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor); 168 175 169 void * usb_create_serialized_hub_descriptor(usb_hub_descriptor_t * descriptor); 170 171 void usb_serialize_hub_descriptor(usb_hub_descriptor_t * descriptor, 172 void * serialized_descriptor);173 174 usb_hub_descriptor_t * usb_create_deserialized_hub_desriptor( 175 void * serialized_descriptor);176 177 void usb_deserialize_hub_desriptor(void * serialized_descriptor, 178 usb_hub_descriptor_t *descriptor);176 /** 177 * create deserialized desriptor structure out of serialized descriptor 178 * 179 * The serialized descriptor must be proper usb hub descriptor, 180 * otherwise an eerror might occur. 181 * 182 * @param sdescriptor serialized descriptor 183 * @return newly created deserialized descriptor pointer 184 */ 185 usb_hub_descriptor_t * usb_deserialize_hub_desriptor(void * sdescriptor); 179 186 180 187
Note:
See TracChangeset
for help on using the changeset viewer.