Changes in uspace/drv/usbhub/usbhub_private.h [f40a1e2:5097bed4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub_private.h
rf40a1e2 r5097bed4 31 31 */ 32 32 /** @file 33 * @brief Hub driver private definitions33 * @brief Hub driver. 34 34 */ 35 35 … … 68 68 69 69 /** 70 * Create hub structure instance70 * create hub structure instance 71 71 * 72 72 * Set the address and port count information most importantly. … … 78 78 usb_hub_info_t * usb_create_hub_info(device_t * device, int hc); 79 79 80 /** List of hubs maanged by this driver */80 /** list of hubs maanged by this driver */ 81 81 extern usb_general_list_t usb_hub_list; 82 82 83 /** Lock for hub list*/83 /** lock for hub list*/ 84 84 extern futex_t usb_hub_list_lock; 85 85 86 86 87 87 /** 88 * Perform complete control read transaction88 * perform complete control read transaction 89 89 * 90 * Manages all three steps of transaction: setup, read and finalize90 * manages all three steps of transaction: setup, read and finalize 91 91 * @param phone 92 92 * @param target 93 * @param request Request packet94 * @param rcvd_buffer Received data93 * @param request request for data 94 * @param rcvd_buffer received data 95 95 * @param rcvd_size 96 * @param actual_size Actual size of received data96 * @param actual_size actual size of received data 97 97 * @return error code 98 98 */ … … 104 104 105 105 /** 106 * Perform complete control write transaction106 * perform complete control write transaction 107 107 * 108 * Manages all three steps of transaction: setup, write and finalize108 * manages all three steps of transaction: setup, write and finalize 109 109 * @param phone 110 110 * @param target 111 * @param request Request packet to send data111 * @param request request to send data 112 112 * @param sent_buffer 113 113 * @param sent_size … … 121 121 122 122 /** 123 * Set the device request to be a get hub descriptor request.123 * set the device request to be a get hub descriptor request. 124 124 * @warning the size is allways set to USB_HUB_MAX_DESCRIPTOR_SIZE 125 125 * @param request … … 137 137 } 138 138 139 /**140 * Clear feature on hub port.141 *142 * @param hc Host controller telephone143 * @param address Hub address144 * @param port_index Port145 * @param feature Feature selector146 * @return Operation result147 */148 139 static inline int usb_hub_clear_port_feature(int hc, usb_address_t address, 149 140 int port_index,
Note:
See TracChangeset
for help on using the changeset viewer.