source: mainline/uspace/drv/bus/usb/xhci/hc.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @bd41ac52   6 years jakub Get rid of sys/time.h This commit moves the POSIX-like time … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5f97ef44   6 years jiri.zarevucky Sleep is more natural as part of the fibril API. (the implementation … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7c3fb9b   7 years jiri Fix block comment formatting (ccheck). lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8ebe212   7 years jiri ccheck-fix a few files with for loops. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @3bacee1   7 years jiri Make ccheck-fix again and commit more good files. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e2172284   7 years jiri Too much magic. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eadaeae8   7 years jakub Make capability handles type-safe Define distinct pointer types for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e0a5d4c   7 years aearsis usb: update copyrights The data was generated by a script, guided … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1d758fc   7 years aearsis usb: rethinking DMA buffers lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c21e6a5   7 years aearsis usbhost: prepare buffers for transfers in library lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eb862fd   7 years jenda.jzqk73 cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @45457265   7 years jenda.jzqk73 errno_t all the things! lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @77ded647   7 years aearsis xhci: do not avoid 64-bit writes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @19f0048   7 years aearsis xhci: reinitialize in case of HC error lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @73a5857   7 years aearsis usbhost: add joinable_fibril utility lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0247bd2   7 years aearsis xhci: updated obsolete comment lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @132ab5d1   7 years jenda.jzqk73 Merge commit '6a5d05bd2551e64111bea4f9332dd7448c26ce84' into … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @047fbc8   7 years aearsis xhci rh: have standalone buffer for events lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @629255a   7 years jenda.jzqk73 Revert "xhci: transfer events must be fast" No, it brings another … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4d12eda   7 years aearsis xhci: transfer events must be fast When a roothub connected device is … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8033f89   7 years aearsis xhci: cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @998773d   7 years aearsis xhci trb_ring: make initial ring size variable lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @defaab2   7 years aearsis xhci: tune log levels lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @51c1d500   7 years aearsis xhci: move HC semantics from endpoint/device to hc module lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @abb5d08   7 years aearsis xhci: free context in case of an error lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7ec7b7e   7 years jenda.jzqk73 Handling HCs with 32 or 64-bytes context size lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @69b2dfee   7 years aearsis xhci: satisfy picky Intel xHC lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @7e5a12b   7 years aearsis xhci: make enable/disable slot symmetric Previously, device slot … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2833bb4   7 years aearsis xhci: recognise hubs lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a4e7e6e1   7 years aearsis xhci: setup also slot context where needed lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fb28cde   7 years aearsis xhci: changed api to get dequeue state of trb ring lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @05770666   7 years aearsis xhci rh: try to detect hidden connected devices at startup lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2c0564c   7 years aearsis xhci: handle potentially blocking events in separate fibril lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a9fcd73   7 years aearsis xhci: rewrite RH to use usb/port lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @feabe163   7 years salmelu xhci: common transfer errors detected and logged lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a1732929   7 years aearsis usb: unified logging Use logger instead of printf. Logger adds … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8a98e4a   7 years aearsis xhci: implemented TT lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @001778c   7 years aearsis xhci: set slot context entries to maximum lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @598733c9   7 years jenda.jzqk73 fix broken debug messages && make it compile lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @837581fd   7 years aearsis xhci: logging changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @94e9c29   7 years salmelu xhci: Isoch mfindex epoch counting Isochronous mfindex is now saved … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0e7380f   7 years aearsis xhci: wait for conditions to hold in a systematic way lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @fb154e13   7 years aearsis xhci: revised roothub event handling According to the xHCI … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5d25984   7 years aearsis xhci: removed misleading debug log lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a75f9cbc   7 years aearsis xhci: try to identify custom speeds lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f3baab1   7 years aearsis xhci: do not rely on internal fibril quirks Previousy, we abused the … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @665368c   7 years salmelu xhci: Start tracking mfindex wraps lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @30fc56f   7 years aearsis xhci: stop endpoint on unregister lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @53a9d02   7 years aearsis usb: fix errors introduced by recent changes lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @708d8fcd   7 years aearsis xhci: rewritten isochronous transfers There was a fundamental problem … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @eb928c4   7 years aearsis xhci: documentation & cleanup Also, a simple refactoring to remove … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @63431db   7 years aearsis xhci: remove unnecessary field lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b60944b   7 years aearsis xhci: inline hc_dcbaa_fini lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @deb2e55   7 years petr.manek usbhost: refactoring Moved the "online" attribute from xhci_device_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f543804   7 years aearsis xhci: fix 32-bit write of EHB not being noticed lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @503086d8   7 years aearsis xhci: get IRQ when an error occures lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4abb134   7 years aearsis xhci: fix not setting RCS flag lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @15f8079   7 years aearsis xhci: Program max_slots correctly lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @32fb6bce   7 years aearsis usbhost: refactoring This commit moves interrupt, status and schedule … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @6832245   7 years aearsis usbhost bus: refactor the bus ops This way, method names better … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @889146e   7 years aearsis xhci: commands shall not just timeout Previous behavior was breaking … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @306a36d   7 years Hlavaty.Ondrej xhci: configuration of endpoint 0 Moved fetching of the first 8B of … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e76c0ea   7 years petr.manek Renamed and simplified static method for input context allocation. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b80c1ab   7 years Hlavaty.Ondrej xhci: use dma_buffers instead of malloc32 util A bit of refactoring … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9620a54   7 years petr.manek Small changes. Temporarily fixed no device problem for endpoint … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @928afc8d   7 years aearsis xhci: unleash the full power of xhci_cmd_sync_inline lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2cf28b9   7 years aearsis xhci: connecting devices deeper than to roothub It still does not … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f668d60   7 years aearsis xhci: moved speed back to HC, keeping usb speed → port speed mapping lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a5b3de6   7 years aearsis usbhost endpoint: removed target The reasons for having usb_target_t … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c3d926f   7 years petr.manek Big command refactoring. Unified and encapsulated command function … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0206d35   7 years aearsis Moving things around to improve isolation of responsibilities Bus … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @b724494   7 years petr.manek Moved some code from RH to HC. Simplified device address process. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2b61945   7 years aearsis xhci: use device_t for bookkeeping This started as a little … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5fd9c30   7 years aearsis usbhost refactoring: let transfer_batch be initialized by bus … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @f270ecb   7 years petr.manek Implemented disable slot for device detachment. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @8ea7459   7 years petr.manek Refactored some parts of RH to HC. Also moved some bus ops around. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @1252e81   7 years petr.manek Added boilerplate function for isoch transfers. Some more checks. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2896ff6   7 years petr.manek Vaguer log level. Extracted timeout constant from command completion … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @0f6b50f   7 years petr.manek Added DDF device to HCD initialization to prepare RH data structures … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dbf32b1   7 years aearsis xhci: cleanup And by the way… the USB mouse is now working :) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @9b2f69e   7 years petr.manek Setting up endpoint contexts (almost) properly. Boilerplate for … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @2770b66   7 years petr.manek Fixed few bugs related to control transfers and some deadlocks. … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @20eaa82   7 years aearsis usbhost refactoring: introduced bus→enumerate_device lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @dcf0597   7 years aearsis xhci rh: move away from virthub xHC's root hub is too different from … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e6b9182   7 years aearsis WIP usbhost refactoring: ohci completed Along with that we noticed … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @41924f30   7 years aearsis WIP usbhost refactoring This commit replaces callbacks with more … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @42bc933   7 years salmelu Dummy for bulk transfers (need to support streams) lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @a0be5d0   7 years salmelu Moved ring_doorbell, added address check lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e9e24f2   7 years salmelu Basic commands transfer implementation lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @078e0e6   7 years Jaroslav Jindrak Removed unnecessary calls to malloc32 and free32. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @816335c   7 years aearsis xhci: port speed detected properly The correct way to determine … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @5c5c9407   7 years petr.manek Implemented GetPortStatus request using XHCI port registers. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @472235a   7 years aearsis xhci: refactoring Revise error paths, refactor some code. lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @efe9463   7 years aearsis xhci: fix the irq code once again Previous code unintentionally … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @adb4e683   7 years Jaroslav Jindrak Refactored the way event handling works, now we fetch all of the event … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @370a1c8   7 years salmelu Extcap fix, not correctly determine if port is USB 2/3 lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @4d28d86   7 years jenda cstyle lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @c9d905f   7 years jenda macros for handoff delay lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @e6b0dba   7 years jenda BIOS handover lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
(edit) @ab5a0830   7 years aearsis Handle interrupts correctly Now, irq_commands asserts all flags in … lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Note: See TracRevisionLog for help on using the revision log.