Changes in uspace/drv/bus/usb/ohci/hc.h [8d2dd7f2:e6b9182] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/hc.h
r8d2dd7f2 re6b9182 52 52 #include "ohci_regs.h" 53 53 #include "ohci_rh.h" 54 #include "ohci_bus.h" 54 55 #include "endpoint_list.h" 55 56 #include "hw_struct/hcca.h" … … 59 60 /** Memory mapped I/O registers area */ 60 61 ohci_regs_t *registers; 62 61 63 /** Host controller communication area structure */ 62 64 hcca_t *hcca; … … 64 66 /** Transfer schedules */ 65 67 endpoint_list_t lists[4]; 68 66 69 /** List of active transfers */ 67 70 list_t pending_batches; … … 78 81 /** USB hub emulation structure */ 79 82 ohci_rh_t rh; 83 84 /** USB bookkeeping */ 85 ohci_bus_t bus; 80 86 } hc_t; 81 87 82 extern int hc_init(hc_t *, const hw_res_list_parsed_t *, bool); 88 extern int hc_init(hc_t *, const hw_res_list_parsed_t *); 89 extern void hc_gain_control(hc_t *instance); 90 extern void hc_start(hc_t *instance); 83 91 extern void hc_fini(hc_t *); 84 92 … … 86 94 extern void hc_dequeue_endpoint(hc_t *, const endpoint_t *); 87 95 88 int ohci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res);96 int ohci_hc_gen_irq_code(irq_code_t *code, hcd_t *hcd, const hw_res_list_parsed_t *hw_res); 89 97 90 98 extern void ohci_hc_interrupt(hcd_t *, uint32_t);
Note:
See TracChangeset
for help on using the changeset viewer.