Changeset 58563585 in mainline for uspace/drv/bus/usb/uhci/hc.h
- Timestamp:
- 2016-08-31T11:15:39Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 10cb47e
- Parents:
- 7a67416
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.h
r7a67416 r58563585 33 33 * @brief UHCI host controller driver structure 34 34 */ 35 35 36 #ifndef DRV_UHCI_HC_H 36 37 #define DRV_UHCI_HC_H … … 123 124 } hc_t; 124 125 125 int hc_init(hc_t *instance, const hw_res_list_parsed_t *hw_res, bool interupts);126 void hc_fini(hc_t *instance);126 extern int hc_init(hc_t *, const hw_res_list_parsed_t *, bool); 127 extern void hc_fini(hc_t *); 127 128 128 int uhci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res);129 extern int uhci_hc_gen_irq_code(irq_code_t *, const hw_res_list_parsed_t *); 129 130 130 void uhci_hc_interrupt(hcd_t *hcd, uint32_t status);131 int uhci_hc_status(hcd_t *hcd, uint32_t *status);132 int uhci_hc_schedule(hcd_t *hcd, usb_transfer_batch_t *batch);131 extern void uhci_hc_interrupt(hcd_t *, uint32_t); 132 extern int uhci_hc_status(hcd_t *, uint32_t *); 133 extern int uhci_hc_schedule(hcd_t *, usb_transfer_batch_t *); 133 134 134 135 #endif
Note:
See TracChangeset
for help on using the changeset viewer.