Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/hc.c

    ra76b01b4 rda2f1c9e  
    5959        return EOK;
    6060}
    61 
     61/*----------------------------------------------------------------------------*/
    6262static int usb_hc_connection_del_ref(usb_hc_connection_t *connection)
    6363{
     
    125125        return rc;
    126126}
    127 
     127/*----------------------------------------------------------------------------*/
    128128void usb_hc_connection_deinitialize(usb_hc_connection_t *connection)
    129129{
     
    140140        fibril_mutex_unlock(&connection->guard);
    141141}
    142 
     142/*----------------------------------------------------------------------------*/
    143143/** Open connection to host controller.
    144144 *
     
    150150        return usb_hc_connection_add_ref(connection);
    151151}
    152 
     152/*----------------------------------------------------------------------------*/
    153153/** Close connection to the host controller.
    154154 *
     
    160160        return usb_hc_connection_del_ref(connection);
    161161}
    162 
     162/*----------------------------------------------------------------------------*/
    163163/** Ask host controller for free address assignment.
    164164 *
     
    182182        return ret == EOK ? address : ret;
    183183}
    184 
     184/*----------------------------------------------------------------------------*/
    185185int usb_hc_bind_address(usb_hc_connection_t * connection,
    186186    usb_address_t address, devman_handle_t handle)
     
    194194        return ret;
    195195}
    196 
     196/*----------------------------------------------------------------------------*/
    197197/** Get handle of USB device with given address.
    198198 *
     
    213213        return ret;
    214214}
    215 
     215/*----------------------------------------------------------------------------*/
    216216int usb_hc_release_address(usb_hc_connection_t *connection,
    217217    usb_address_t address)
     
    225225        return ret;
    226226}
    227 
     227/*----------------------------------------------------------------------------*/
    228228int usb_hc_register_endpoint(usb_hc_connection_t *connection,
    229229    usb_address_t address, usb_endpoint_t endpoint, usb_transfer_type_t type,
     
    239239        return ret;
    240240}
    241 
     241/*----------------------------------------------------------------------------*/
    242242int usb_hc_unregister_endpoint(usb_hc_connection_t *connection,
    243243    usb_address_t address, usb_endpoint_t endpoint, usb_direction_t direction)
     
    252252        return ret;
    253253}
    254 
     254/*----------------------------------------------------------------------------*/
    255255int usb_hc_read(usb_hc_connection_t *connection, usb_address_t address,
    256256    usb_endpoint_t endpoint, uint64_t setup, void *data, size_t size,
     
    266266        return ret;
    267267}
    268 
     268/*----------------------------------------------------------------------------*/
    269269int usb_hc_write(usb_hc_connection_t *connection, usb_address_t address,
    270270    usb_endpoint_t endpoint, uint64_t setup, const void *data, size_t size)
Note: See TracChangeset for help on using the changeset viewer.