Changes in uspace/lib/usbhost/src/iface.c [cbd568b:a76b01b4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/iface.c
rcbd568b ra76b01b4 98 98 return ret; 99 99 } 100 /*----------------------------------------------------------------------------*/ 100 101 101 /** Calls ep_add_hook upon endpoint registration. 102 102 * @param ep Endpoint to be registered. … … 113 113 return EOK; 114 114 } 115 /*----------------------------------------------------------------------------*/ 115 116 116 /** Calls ep_remove_hook upon endpoint removal. 117 117 * @param ep Endpoint to be unregistered. … … 126 126 hcd->ep_remove_hook(hcd, ep); 127 127 } 128 /*----------------------------------------------------------------------------*/ 128 129 129 /** Calls ep_remove_hook upon endpoint removal. Prints warning. 130 130 * @param ep Endpoint to be unregistered. … … 141 141 hcd->ep_remove_hook(hcd, ep); 142 142 } 143 /*----------------------------------------------------------------------------*/ 143 144 144 /** Request address interface function. 145 145 * … … 164 164 &hcd->dev_manager, address, strict, speed); 165 165 } 166 /*----------------------------------------------------------------------------*/ 166 167 167 /** Bind address interface function. 168 168 * … … 183 183 &hcd->dev_manager, address, handle); 184 184 } 185 /*----------------------------------------------------------------------------*/ 185 186 186 /** Find device handle by address interface function. 187 187 * … … 200 200 &hcd->dev_manager, address, handle, NULL); 201 201 } 202 /*----------------------------------------------------------------------------*/ 202 203 203 /** Release address interface function. 204 204 * … … 218 218 return EOK; 219 219 } 220 /*----------------------------------------------------------------------------*/ 220 221 221 /** Register endpoint interface function. 222 222 * @param fun DDF function. … … 254 254 register_helper, hcd); 255 255 } 256 /*----------------------------------------------------------------------------*/ 256 257 257 /** Unregister endpoint interface function. 258 258 * @param fun DDF function. … … 274 274 endpoint, direction, unregister_helper, hcd); 275 275 } 276 /*----------------------------------------------------------------------------*/ 276 277 277 /** Inbound communication interface function. 278 278 * @param fun DDF function. … … 292 292 setup_data, callback, NULL, arg, "READ"); 293 293 } 294 /*----------------------------------------------------------------------------*/ 294 295 295 /** Outbound communication interface function. 296 296 * @param fun DDF function. … … 310 310 setup_data, NULL, callback, arg, "WRITE"); 311 311 } 312 /*----------------------------------------------------------------------------*/ 312 313 313 /** usbhc Interface implementation using hcd_t from libusbhost library. */ 314 314 usbhc_iface_t hcd_iface = {
Note:
See TracChangeset
for help on using the changeset viewer.