Changeset b8a3cda in mainline for uspace/srv/hw/bus/usb/hcd/virtual/hc.h
- Timestamp:
- 2010-10-22T14:57:03Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a7bfeb3
- Parents:
- 954ea70
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hw/bus/usb/hcd/virtual/hc.h
r954ea70 rb8a3cda 37 37 38 38 #include <usb/hcd.h> 39 #include <usbvirt/ids.h> 39 40 40 41 /** Callback after transaction is sent to USB. … … 52 53 /** Linked-list link. */ 53 54 link_t link; 55 /** Transaction type. */ 56 usbvirt_transaction_type_t type; 54 57 /** Device address. */ 55 58 usb_target_t target; 56 59 /** Direction of the transaction. */ 57 60 usb_direction_t direction; 58 /** Transfer type. */59 usb_transfer_type_t type;60 61 /** Transaction data buffer. */ 61 62 void * buffer; … … 70 71 void hc_manager(void); 71 72 72 void hc_add_transaction_to_device( usb_transfer_type_t type, usb_target_t target,73 void hc_add_transaction_to_device(bool setup, usb_target_t target, 73 74 void * buffer, size_t len, 74 75 hc_transaction_done_callback_t callback, void * arg); 75 76 76 void hc_add_transaction_from_device(usb_t ransfer_type_t type, usb_target_t target,77 void hc_add_transaction_from_device(usb_target_t target, 77 78 void * buffer, size_t len, 78 79 hc_transaction_done_callback_t callback, void * arg); 79 80 80 int hc_fillin_transaction_from_device(usb_t ransfer_type_t type, usb_target_t target,81 int hc_fillin_transaction_from_device(usb_target_t target, 81 82 void * buffer, size_t len); 82 83
Note:
See TracChangeset
for help on using the changeset viewer.