summaryrefslogtreecommitdiff
path: root/sys/dev/usb/xhci.c
AgeCommit message (Expand)Author
2020-04-03Move the responsibility of syncing the data buffers from the USBPatrick Wildt
2020-03-02Fix endian swapping of trb_flags and trb_status in xhci(4).Visa Hankala
2020-02-22use the UE_GET_XFERTYPE macro where applicableJasper Lievisse Adriaanse
2020-01-22Add a zero length TD, rather than adding a zero length TRB to theKenneth R Westerback
2020-01-13Ensure XHCI_SCTX_DCI() always contains a valid number, i.e. the DCI ofKenneth R Westerback
2019-11-28On short transfers with multiple TRBs in a TD we get two events.Patrick Wildt
2019-11-18Fix off-by-one TRB issue in bulk transfers larger than 64k.Marcus Glocker
2019-11-18Fix actual length calculation of short transfers in xhci(4). So farPatrick Wildt
2019-10-06Use MSEC_TO_NSEC() to define XHCI_CMD_TIMEOUT & use it w/ tsleep_nsec(9).Martin Pieuchot
2019-06-13Do not consider the pipe as halted if the device is gone.Martin Pieuchot
2019-05-21Fix NULL check with wrong pointer in xhci_event_xfer_isoc(); CID 1480287Stefan Sperling
2019-04-30Decrease verbosity when XHCI_DEBUG is defined.Alexandre Ratchov
2019-04-10Handle missed service errors, specific to isochronous transfers.Alexandre Ratchov
2019-03-17Since an isoc endpoint never halts, move to remaining error handlingMarcus Glocker
2019-03-17Move the handler code in the xhci_event_xfer() switch case in two separateMarcus Glocker
2019-03-17Remove obsolete semicolon at end of case switch.Marcus Glocker
2019-03-16Merge the duplicate code to handle isoc SHORT and SUCCESS xfer eventsMarcus Glocker
2019-03-15Improve and enable isochronous transfers in xhci(4). Each isochronousPatrick Wildt
2019-03-15The max burst size that is encoded in wMaxPacketSize is zero based,Patrick Wildt
2019-03-12Fix typo in debug print: wih -> withPatrick Wildt
2019-03-11Add missing bus powered bit, from aalm@Martin Pieuchot
2019-03-01Since ring->index points to the next free slot, once we reach index zeroPatrick Wildt
2019-02-27Make xhci_ring_produce() check the previous TRB to find out if itPatrick Wildt
2019-02-21Transfers that span multiple TRBs which wrap around the ring andPatrick Wildt
2019-02-01Print xhci version in hex, from sc.dying at gmail.Martin Pieuchot
2018-09-06If we cannot stop the endpoint when aborting a transfer assume thatMartin Pieuchot
2018-09-05Serialize synchronous commands with a rwlock.Martin Pieuchot
2018-07-16typos, from Michael W. Bombardieri.Martin Pieuchot
2018-05-13Add bus DMA barriers to ensure the hardware does not see a TRB cycle bitVisa Hankala
2018-05-08Print xHCI revision in dmesg.Martin Pieuchot
2018-04-29Unsigned values are always >= 0, fix Coverity 1468443.Martin Pieuchot
2018-04-28Print more debug informations in the event xfer handler.Martin Pieuchot
2018-04-27Introduce an helper function to extract endpoint's max burst value.Martin Pieuchot
2018-04-27Print index as unsigned.Martin Pieuchot
2018-04-27Fix an off-by-one in xhci_xfer_tdsize().Martin Pieuchot
2018-04-26Reduce differences between isoch & bulk/intr routines.Martin Pieuchot
2018-04-26Follows section 6.2.3.6 to compute endpoint interval.Martin Pieuchot
2017-09-08Add support for isochronous transfers to xhci(4).Stefan Sperling
2017-09-04Revert previous: "Fix a remaining length miscalculation in xhci(4)."Stefan Sperling
2017-09-01Fix a remaining length miscalculation in xhci(4).Stefan Sperling
2017-07-30Use memcpy instead of casts to copy 8 bytes of data to avoid unalignedMark Kettenis
2017-06-22double ;;. xhci one found by geoffhillTheo de Raadt
2017-03-10Fix a use-after-free when sending root hub control transfers.Martin Pieuchot
2017-03-10Move per HC polling code to the stack.Martin Pieuchot
2016-11-08Remove superfluous DMA synchronization now that the stack is doing it forMartin Pieuchot
2016-10-03Fix some bus_dmamap_sync(9) calls.Martin Pieuchot
2016-09-21Remove a hack now that the USB stack correctly set the maximum packetMartin Pieuchot
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2015-12-02Do not change the status of a transfer before giving it back to theMartin Pieuchot
2015-11-29Unconnected xhci(4) super speed ports may come up with the XHCI_PS_WRC,Mark Kettenis