Changeset 3b5d1535 in mainline for uspace/lib/drv/include/usbhc_iface.h
- Timestamp:
- 2011-02-23T10:28:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb48f61
- Parents:
- e936e8e (diff), eb1a2f4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhc_iface.h
re936e8e r3b5d1535 38 38 #define LIBDRV_USBHC_IFACE_H_ 39 39 40 #include "d river.h"40 #include "ddf/driver.h" 41 41 #include <usb/usb.h> 42 42 #include <bool.h> … … 171 171 172 172 /** Callback for outgoing transfer. */ 173 typedef void (*usbhc_iface_transfer_out_callback_t)(d evice_t *,173 typedef void (*usbhc_iface_transfer_out_callback_t)(ddf_fun_t *, 174 174 int, void *); 175 175 176 176 /** Callback for incoming transfer. */ 177 typedef void (*usbhc_iface_transfer_in_callback_t)(d evice_t *,177 typedef void (*usbhc_iface_transfer_in_callback_t)(ddf_fun_t *, 178 178 int, size_t, void *); 179 179 180 180 181 181 /** Out transfer processing function prototype. */ 182 typedef int (*usbhc_iface_transfer_out_t)(d evice_t *, usb_target_t, size_t,182 typedef int (*usbhc_iface_transfer_out_t)(ddf_fun_t *, usb_target_t, size_t, 183 183 void *, size_t, 184 184 usbhc_iface_transfer_out_callback_t, void *); … … 188 188 189 189 /** In transfer processing function prototype. */ 190 typedef int (*usbhc_iface_transfer_in_t)(d evice_t *, usb_target_t, size_t,190 typedef int (*usbhc_iface_transfer_in_t)(ddf_fun_t *, usb_target_t, size_t, 191 191 void *, size_t, 192 192 usbhc_iface_transfer_in_callback_t, void *); … … 194 194 /** USB host controller communication interface. */ 195 195 typedef struct { 196 int (*reserve_default_address)(d evice_t *, usb_speed_t);197 int (*release_default_address)(d evice_t *);198 int (*request_address)(d evice_t *, usb_speed_t, usb_address_t *);199 int (*bind_address)(d evice_t *, usb_address_t, devman_handle_t);200 int (*release_address)(d evice_t *, usb_address_t);196 int (*reserve_default_address)(ddf_fun_t *, usb_speed_t); 197 int (*release_default_address)(ddf_fun_t *); 198 int (*request_address)(ddf_fun_t *, usb_speed_t, usb_address_t *); 199 int (*bind_address)(ddf_fun_t *, usb_address_t, devman_handle_t); 200 int (*release_address)(ddf_fun_t *, usb_address_t); 201 201 202 202 usbhc_iface_transfer_out_t interrupt_out; … … 206 206 usbhc_iface_transfer_in_t bulk_in; 207 207 208 int (*control_write)(d evice_t *, usb_target_t,208 int (*control_write)(ddf_fun_t *, usb_target_t, 209 209 size_t, 210 210 void *, size_t, void *, size_t, 211 211 usbhc_iface_transfer_out_callback_t, void *); 212 212 213 int (*control_read)(d evice_t *, usb_target_t,213 int (*control_read)(ddf_fun_t *, usb_target_t, 214 214 size_t, 215 215 void *, size_t, void *, size_t,
Note:
See TracChangeset
for help on using the changeset viewer.