Changeset 889146e in mainline for uspace/drv/bus/usb/xhci/hc.h
- Timestamp:
- 2017-12-10T21:49:12Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 53db806
- Parents:
- 6ef407b
- git-author:
- Ondřej Hlavatý <aearsis@…> (2017-12-10 21:43:47)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2017-12-10 21:49:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.h
r6ef407b r889146e 45 45 46 46 #include "rh.h" 47 #include "commands.h" 47 48 #include "bus.h" 49 50 typedef struct xhci_command xhci_cmd_t; 48 51 49 52 typedef struct xhci_hc { … … 61 64 62 65 /* Structures in allocated memory */ 63 xhci_trb_ring_t command_ring;64 66 xhci_event_ring_t event_ring; 65 67 uint64_t *dcbaa; … … 67 69 dma_buffer_t scratchpad_array; 68 70 dma_buffer_t *scratchpad_buffers; 71 72 /* Command ring management */ 73 xhci_cmd_ring_t cr; 69 74 70 75 /* Root hub emulation */ … … 81 86 xhci_port_speed_t speeds [16]; 82 87 uint8_t speed_to_psiv [USB_SPEED_MAX]; 83 84 /* Command list */85 list_t commands;86 fibril_mutex_t commands_mtx;87 88 88 89 /* TODO: Hack. Figure out a better way. */
Note:
See TracChangeset
for help on using the changeset viewer.