Changeset 91ca111 in mainline for uspace/drv/bus/usb/xhci/hc.h
- Timestamp:
- 2017-06-23T11:18:50Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51b2693
- Parents:
- e4d7363
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.h
re4d7363 r91ca111 39 39 #include "trb_ring.h" 40 40 41 /** 42 * xHCI lets the controller define speeds of ports it controls. 43 */ 44 typedef struct xhci_port_speed { 45 uint64_t rx_bps, tx_bps; 46 } xhci_port_speed_t; 47 41 48 typedef struct xhci_hc { 49 /* MMIO range */ 50 addr_range_t mmio_range; 51 void *base; 52 53 /* Mapped register sets */ 42 54 xhci_cap_regs_t *cap_regs; 43 55 xhci_op_regs_t *op_regs; 44 56 xhci_rt_regs_t *rt_regs; 45 57 xhci_doorbell_t *db_arry; 58 xhci_extcap_t *xecp; /**< First extended capability */ 59 xhci_legsup_t *legsup; /**< Legacy support capability */ 46 60 47 addr_range_t mmio_range; 48 61 /* Structures in allocated memory */ 49 62 xhci_trb_ring_t command_ring; 50 63 xhci_event_ring_t event_ring; 51 52 64 xhci_device_ctx_t *dcbaa; 53 65 66 /* Cached capabilities */ 67 xhci_port_speed_t speeds [16]; 54 68 unsigned max_slots; 55 69 bool ac64; 56 57 70 } xhci_hc_t; 58 71
Note:
See TracChangeset
for help on using the changeset viewer.