Changeset 17ceb72 in mainline for uspace/drv/uhci-hcd/uhci_hc.h


Ignore:
Timestamp:
2011-03-14T01:39:44Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6298d80
Parents:
3bd96bb
Message:

Doxygen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/uhci_hc.h

    r3bd96bb r17ceb72  
    2727 */
    2828
    29 /** @addtogroup drvusbuhci
     29/** @addtogroup drvusbuhcihc
    3030 * @{
    3131 */
    3232/** @file
    33  * @brief UHCI driver
     33 * @brief UHCI host controller driver structure
    3434 */
    3535#ifndef DRV_UHCI_UHCI_HC_H
     
    103103} uhci_hc_t;
    104104
    105 /* init uhci specifics in device.driver_data */
    106105int uhci_hc_init(uhci_hc_t *instance, ddf_fun_t *fun, void *regs, size_t reg_size);
    107 
    108 static inline void uhci_hc_fini(uhci_hc_t *instance) { /* TODO: implement*/ };
    109106
    110107int uhci_hc_schedule(uhci_hc_t *instance, batch_t *batch);
     
    112109void uhci_hc_interrupt(uhci_hc_t *instance, uint16_t status);
    113110
     111/** Safely dispose host controller internal structures
     112 *
     113 * @param[in] instance Host controller structure to use.
     114 */
     115static inline void uhci_hc_fini(uhci_hc_t *instance) { /* TODO: implement*/ };
     116
     117/** Get and cast pointer to the driver data
     118 *
     119 * @param[in] fun DDF function pointer
     120 * @return cast pointer to driver_data
     121 */
    114122static inline uhci_hc_t * fun_to_uhci_hc(ddf_fun_t *fun)
    115123        { return (uhci_hc_t*)fun->driver_data; }
Note: See TracChangeset for help on using the changeset viewer.