Changeset 6bb0f43 in mainline for uspace/drv/ohci/hc.h
- Timestamp:
- 2011-04-13T10:36:09Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2759c52
- Parents:
- 3d932af6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/hc.h
r3d932af6 r6bb0f43 77 77 uintptr_t regs, size_t reg_size, bool interrupts); 78 78 79 int hc_schedule(hc_t *instance, usb_transfer_batch_t *batch);80 81 void hc_interrupt(hc_t *instance, uint32_t status);82 83 79 /** Safely dispose host controller internal structures 84 80 * … … 86 82 */ 87 83 static inline void hc_fini(hc_t *instance) { /* TODO: implement*/ }; 84 85 int hc_add_endpoint(hc_t *instance, usb_address_t address, usb_endpoint_t ep, 86 usb_speed_t speed, usb_transfer_type_t type, usb_direction_t direction, 87 size_t max_packet_size, size_t size, unsigned interval); 88 89 int hc_remove_endpoint(hc_t *instance, usb_address_t address, 90 usb_endpoint_t endpoint, usb_direction_t direction); 91 92 int hc_schedule(hc_t *instance, usb_transfer_batch_t *batch); 93 94 void hc_interrupt(hc_t *instance, uint32_t status); 88 95 89 96 /** Get and cast pointer to the driver data
Note:
See TracChangeset
for help on using the changeset viewer.