Ignore:
Timestamp:
2011-09-13T14:24:16Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5d915b7
Parents:
e3f6304
Message:

usb: remove unused functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/include/usbhc_iface.h

    re3f6304 r1e647c7d  
    123123        IPC_M_USBHC_RELEASE_ADDRESS,
    124124
    125 
    126         /** Send interrupt data to device.
    127          * See explanation at usb_iface_funcs_t (OUT transaction).
    128          */
    129         IPC_M_USBHC_INTERRUPT_OUT,
    130 
    131         /** Get interrupt data from device.
    132          * See explanation at usb_iface_funcs_t (IN transaction).
    133          */
    134         IPC_M_USBHC_INTERRUPT_IN,
    135 
    136         /** Send bulk data to device.
    137          * See explanation at usb_iface_funcs_t (OUT transaction).
    138          */
    139         IPC_M_USBHC_BULK_OUT,
    140 
    141         /** Get bulk data from device.
    142          * See explanation at usb_iface_funcs_t (IN transaction).
    143          */
    144         IPC_M_USBHC_BULK_IN,
    145 
    146         /** Issue control WRITE transfer.
    147          * See explanation at usb_iface_funcs_t (OUT transaction) for
    148          * call parameters.
    149          * This call is immediately followed by two IPC data writes
    150          * from the caller (setup packet and actual data).
    151          */
    152         IPC_M_USBHC_CONTROL_WRITE,
    153 
    154         /** Issue control READ transfer.
    155          * See explanation at usb_iface_funcs_t (IN transaction) for
    156          * call parameters.
    157          * This call is immediately followed by IPC data write from the caller
    158          * (setup packet) and IPC data read (buffer that was read).
    159          */
    160         IPC_M_USBHC_CONTROL_READ,
    161 
    162125        /** Register endpoint attributes at host controller.
    163126         * This is used to reserve portion of USB bandwidth.
     
    187150        IPC_M_USBHC_UNREGISTER_ENDPOINT,
    188151
     152        /** Issue control WRITE transfer.
     153         * See explanation at usb_iface_funcs_t (OUT transaction) for
     154         * call parameters.
     155         * This call is immediately followed by two IPC data writes
     156         * from the caller (setup packet and actual data).
     157         */
     158        IPC_M_USBHC_CONTROL_WRITE,
     159
     160        /** Issue control READ transfer.
     161         * See explanation at usb_iface_funcs_t (IN transaction) for
     162         * call parameters.
     163         * This call is immediately followed by IPC data write from the caller
     164         * (setup packet) and IPC data read (buffer that was read).
     165         */
     166        IPC_M_USBHC_CONTROL_READ,
     167
     168        /** Get data from device.
     169         * See explanation at usb_iface_funcs_t (IN transaction).
     170         */
    189171        IPC_M_USBHC_DATA_READ,
    190172
     173        /** Send data to device.
     174         * See explanation at usb_iface_funcs_t (OUT transaction).
     175         */
    191176        IPC_M_USBHC_DATA_WRITE,
    192177} usbhc_iface_funcs_t;
     
    199184typedef void (*usbhc_iface_transfer_in_callback_t)(ddf_fun_t *,
    200185    int, size_t, void *);
    201 
    202 
    203 /** Out transfer processing function prototype. */
    204 typedef int (*usbhc_iface_transfer_out_t)(ddf_fun_t *, usb_target_t,
    205     void *, size_t,
    206     usbhc_iface_transfer_out_callback_t, void *);
    207 
    208 /** Setup transfer processing function prototype. @deprecated */
    209 typedef usbhc_iface_transfer_out_t usbhc_iface_transfer_setup_t;
    210 
    211 /** In transfer processing function prototype. */
    212 typedef int (*usbhc_iface_transfer_in_t)(ddf_fun_t *, usb_target_t,
    213     void *, size_t,
    214     usbhc_iface_transfer_in_callback_t, void *);
    215186
    216187/** USB host controller communication interface. */
     
    227198            usb_direction_t);
    228199
    229         usbhc_iface_transfer_out_t interrupt_out;
    230         usbhc_iface_transfer_in_t interrupt_in;
    231 
    232         usbhc_iface_transfer_out_t bulk_out;
    233         usbhc_iface_transfer_in_t bulk_in;
    234 
    235         int (*control_write)(ddf_fun_t *, usb_target_t,
    236             void *, size_t, void *, size_t,
    237             usbhc_iface_transfer_out_callback_t, void *);
    238 
    239         int (*control_read)(ddf_fun_t *, usb_target_t,
    240             void *, size_t, void *, size_t,
    241             usbhc_iface_transfer_in_callback_t, void *);
    242 
    243200        int (*read)(ddf_fun_t *, usb_target_t, uint64_t, uint8_t *, size_t,
    244201            usbhc_iface_transfer_in_callback_t, void *);
Note: See TracChangeset for help on using the changeset viewer.