Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/iface.c

    ra76b01b4 rcbd568b  
    9898        return ret;
    9999}
    100 
     100/*----------------------------------------------------------------------------*/
    101101/** Calls ep_add_hook upon endpoint registration.
    102102 * @param ep Endpoint to be registered.
     
    113113        return EOK;
    114114}
    115 
     115/*----------------------------------------------------------------------------*/
    116116/** Calls ep_remove_hook upon endpoint removal.
    117117 * @param ep Endpoint to be unregistered.
     
    126126                hcd->ep_remove_hook(hcd, ep);
    127127}
    128 
     128/*----------------------------------------------------------------------------*/
    129129/** Calls ep_remove_hook upon endpoint removal. Prints warning.
    130130 * @param ep Endpoint to be unregistered.
     
    141141                hcd->ep_remove_hook(hcd, ep);
    142142}
    143 
     143/*----------------------------------------------------------------------------*/
    144144/** Request address interface function.
    145145 *
     
    164164            &hcd->dev_manager, address, strict, speed);
    165165}
    166 
     166/*----------------------------------------------------------------------------*/
    167167/** Bind address interface function.
    168168 *
     
    183183            &hcd->dev_manager, address, handle);
    184184}
    185 
     185/*----------------------------------------------------------------------------*/
    186186/** Find device handle by address interface function.
    187187 *
     
    200200            &hcd->dev_manager, address, handle, NULL);
    201201}
    202 
     202/*----------------------------------------------------------------------------*/
    203203/** Release address interface function.
    204204 *
     
    218218        return EOK;
    219219}
    220 
     220/*----------------------------------------------------------------------------*/
    221221/** Register endpoint interface function.
    222222 * @param fun DDF function.
     
    254254            register_helper, hcd);
    255255}
    256 
     256/*----------------------------------------------------------------------------*/
    257257/** Unregister endpoint interface function.
    258258 * @param fun DDF function.
     
    274274            endpoint, direction, unregister_helper, hcd);
    275275}
    276 
     276/*----------------------------------------------------------------------------*/
    277277/** Inbound communication interface function.
    278278 * @param fun DDF function.
     
    292292            setup_data, callback, NULL, arg, "READ");
    293293}
    294 
     294/*----------------------------------------------------------------------------*/
    295295/** Outbound communication interface function.
    296296 * @param fun DDF function.
     
    310310            setup_data, NULL, callback, arg, "WRITE");
    311311}
    312 
     312/*----------------------------------------------------------------------------*/
    313313/** usbhc Interface implementation using hcd_t from libusbhost library. */
    314314usbhc_iface_t hcd_iface = {
Note: See TracChangeset for help on using the changeset viewer.