Changeset 309d9865 in mainline
- Timestamp:
- 2018-01-15T20:44:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d2c3dcd
- Parents:
- 957ea3a
- Location:
- uspace/drv/bus/usb/xhci
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/transfers.c
r957ea3a r309d9865 267 267 xhci_endpoint_t *ep = xhci_endpoint_get(ep_base); 268 268 269 /* FIXME: This is racy. Do we care? */ 270 ep->ring.dequeue = addr; 269 xhci_trb_ring_update_dequeue(&ep->ring, addr); 271 270 272 271 if (ep->base.transfer_type == USB_TRANSFER_ISOCHRONOUS) { -
uspace/drv/bus/usb/xhci/trb_ring.h
r957ea3a r309d9865 91 91 * pointer inside the ring. Otherwise, the ring will soon show up as full. 92 92 */ 93 static inline void xhci_trb_ring_update_dequeue(xhci_trb_ring_t *ring, uintptr_t phys) {} 93 static inline void xhci_trb_ring_update_dequeue(xhci_trb_ring_t *ring, uintptr_t phys) { 94 ring->dequeue = phys; 95 } 96 94 97 uintptr_t xhci_trb_ring_get_dequeue_ptr(xhci_trb_ring_t *); 95 98
Note:
See TracChangeset
for help on using the changeset viewer.