Changeset 6bec59b in mainline for uspace/drv/ohci/batch.h
- Timestamp:
- 2011-04-08T13:58:45Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f98b8269
- Parents:
- 6acc80f3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/batch.h
r6acc80f3 r6bec59b 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup drvusb ohci28 /** @addtogroup drvusbuhcihc 29 29 * @{ 30 30 */ 31 31 /** @file 32 * @brief OHCI driver USB transaction structure32 * @brief UHCI driver USB transaction structure 33 33 */ 34 #ifndef DRV_OHCI_BATCH_H 35 #define DRV_OHCI_BATCH_H 36 34 #ifndef DRV_UHCI_BATCH_H 35 #define DRV_UHCI_BATCH_H 37 36 38 37 #include <usbhc_iface.h> 39 38 #include <usb/usb.h> 40 39 #include <usb/host/device_keeper.h> 40 #include <usb/host/endpoint.h> 41 41 #include <usb/host/batch.h> 42 42 43 43 44 usb_transfer_batch_t * batch_get( 44 ddf_fun_t *fun, 45 usb_target_t target, 46 usb_transfer_type_t transfer_type, 47 size_t max_packet_size, 48 usb_speed_t speed, 49 char *buffer, 50 size_t size, 51 char *setup_buffer, 52 size_t setup_size, 45 ddf_fun_t *fun, endpoint_t *ep, char *buffer, size_t size, 46 char *setup_buffer, size_t setup_size, 53 47 usbhc_iface_transfer_in_callback_t func_in, 54 48 usbhc_iface_transfer_out_callback_t func_out, 55 void *arg, 56 usb_device_keeper_t *manager 57 ); 49 void *arg); 58 50 59 51 void batch_dispose(usb_transfer_batch_t *instance); 52 53 bool batch_is_complete(usb_transfer_batch_t *instance); 60 54 61 55 void batch_control_write(usb_transfer_batch_t *instance); … … 70 64 71 65 void batch_bulk_out(usb_transfer_batch_t *instance); 66 72 67 #endif 73 68 /**
Note:
See TracChangeset
for help on using the changeset viewer.