Changeset fb28cde in mainline for uspace/drv/bus/usb/xhci/hc.c
- Timestamp:
- 2018-01-18T17:12:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8fe29a7c
- Parents:
- e7f21884
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/hc.c
re7f21884 rfb28cde 477 477 XHCI_REG_WR(hc->op_regs, XHCI_OP_MAX_SLOTS_EN, hc->max_slots); 478 478 479 uint64_t crcr = xhci_trb_ring_get_dequeue_ptr(&hc->cr.trb_ring); 480 if (hc->cr.trb_ring.pcs) 481 crcr |= XHCI_REG_MASK(XHCI_OP_RCS); 479 uintptr_t crcr; 480 xhci_trb_ring_reset_dequeue_state(&hc->cr.trb_ring, &crcr); 482 481 XHCI_REG_WR(hc->op_regs, XHCI_OP_CRCR_LO, LOWER32(crcr)); 483 482 XHCI_REG_WR(hc->op_regs, XHCI_OP_CRCR_HI, UPPER32(crcr));
Note:
See TracChangeset
for help on using the changeset viewer.