Changeset e4d7363 in mainline for uspace/drv/bus/usb/xhci/hc.h
- Timestamp:
- 2017-06-22T21:34:39Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 91ca111
- Parents:
- cb89430
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.h
rcb89430 re4d7363 34 34 */ 35 35 36 #include <usb/host/ ddf_helpers.h>36 #include <usb/host/usb_transfer_batch.h> 37 37 #include "hw_struct/regs.h" 38 38 #include "hw_struct/context.h" … … 44 44 xhci_rt_regs_t *rt_regs; 45 45 xhci_doorbell_t *db_arry; 46 47 addr_range_t mmio_range; 46 48 47 49 xhci_trb_ring_t command_ring; … … 55 57 } xhci_hc_t; 56 58 57 extern const ddf_hc_driver_t xhci_ddf_hc_driver; 58 59 int hc_init_mmio(xhci_hc_t *, const hw_res_list_parsed_t *); 60 int hc_init_memory(xhci_hc_t *); 61 int hc_claim(xhci_hc_t *, ddf_dev_t *); 62 int hc_irq_code_gen(irq_code_t *, xhci_hc_t *, const hw_res_list_parsed_t *); 63 int hc_start(xhci_hc_t *, bool); 64 int hc_schedule(xhci_hc_t *hc, usb_transfer_batch_t *batch); 65 int hc_status(xhci_hc_t *, uint32_t *); 66 void hc_interrupt(xhci_hc_t *, uint32_t); 67 void hc_fini(xhci_hc_t *); 59 68 60 69 /**
Note:
See TracChangeset
for help on using the changeset viewer.