Changes in uspace/drv/ohci/batch.h [f98b8269:1387692] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/batch.h
rf98b8269 r1387692 26 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 */ 28 /** @addtogroup drvusb uhcihc28 /** @addtogroup drvusbohci 29 29 * @{ 30 30 */ 31 31 /** @file 32 * @brief UHCI driver USB transaction structure32 * @brief OHCI driver USB transaction structure 33 33 */ 34 #ifndef DRV_UHCI_BATCH_H 35 #define DRV_UHCI_BATCH_H 34 #ifndef DRV_OHCI_BATCH_H 35 #define DRV_OHCI_BATCH_H 36 36 37 37 38 #include <usbhc_iface.h> 38 39 #include <usb/usb.h> 39 40 #include <usb/host/device_keeper.h> 40 #include <usb/host/endpoint.h>41 41 #include <usb/host/batch.h> 42 42 43 #include "hw_struct/endpoint_descriptor.h"44 45 43 usb_transfer_batch_t * batch_get( 46 ddf_fun_t *fun, endpoint_t *ep, char *buffer, size_t size, 47 char *setup_buffer, size_t setup_size, 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, 48 53 usbhc_iface_transfer_in_callback_t func_in, 49 54 usbhc_iface_transfer_out_callback_t func_out, 50 void *arg); 55 void *arg, 56 usb_device_keeper_t *manager 57 ); 51 58 52 59 void batch_dispose(usb_transfer_batch_t *instance); 53 54 bool batch_is_complete(usb_transfer_batch_t *instance);55 60 56 61 void batch_control_write(usb_transfer_batch_t *instance); … … 65 70 66 71 void batch_bulk_out(usb_transfer_batch_t *instance); 67 68 ed_t * batch_ed(usb_transfer_batch_t *instance);69 72 #endif 70 73 /**
Note:
See TracChangeset
for help on using the changeset viewer.