|
|
@09187c6e
|
8 years |
aearsis |
xhci: fix off-by-one in rh
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36e8a0c8
|
8 years |
aearsis |
usbhub: fix mistakenly negated condition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6d5d3ae2
|
8 years |
jenda.jzqk73 |
debug: fix off-by-one copypaste error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@defaab2
|
8 years |
aearsis |
xhci: tune log levels
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58f4c0f
|
8 years |
aearsis |
xhci: reset also USB 3 ports
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26beeda
|
8 years |
aearsis |
xhci: simplify context macros and make them check types
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24fcb8b
|
8 years |
jenda.jzqk73 |
fix XHCI_SLOT_HUB_SET wrong bit offset
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21885c92
|
8 years |
aearsis |
usbhost: handle superspeed hubs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2aaba7e
|
8 years |
aearsis |
libusbhost: manage (and report) depth of the device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6271a34
|
8 years |
jenda.jzqk73 |
handle HS/SS max_packet_size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@51c1d500
|
8 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
|
|
|
@abb5d08
|
8 years |
aearsis |
xhci: free context in case of an error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@682c9354
|
8 years |
aearsis |
xhci: move all real functionality from bus to device/endpoint/transfers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60d3f35
|
8 years |
jenda.jzqk73 |
hw_structs: explaining comment
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@609f3f73
|
8 years |
aearsis |
xhci: reset endpoint on ClearFeature(ENDPOINT_HALT) request
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@726af29
|
8 years |
jenda.jzqk73 |
debug.h: remove unused include, use the struct that is already declared
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ec7b7e
|
8 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
|
|
|
@69b2dfee
|
8 years |
aearsis |
xhci: satisfy picky Intel xHC
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e5a12b
|
8 years |
aearsis |
xhci: make enable/disable slot symmetric
Previously, device slot …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2833bb4
|
8 years |
aearsis |
xhci: recognise hubs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@944f8fdd
|
8 years |
aearsis |
libusbhost: move utility functions to new header utility.h
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@861b5d6
|
8 years |
jenda.jzqk73 |
context: fix indentation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4e7e6e1
|
8 years |
aearsis |
xhci: setup also slot context where needed
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@41abf3c
|
8 years |
aearsis |
xhci: various debugging changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8fe29a7c
|
8 years |
aearsis |
xhci: clear endpoint halted condition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb28cde
|
8 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
|
|
|
@e7f21884
|
8 years |
aearsis |
xhci: fixed field named wrong
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05770666
|
8 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
|
|
|
@2c0564c
|
8 years |
aearsis |
xhci: handle potentially blocking events in separate fibril
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2bff2cc2
|
8 years |
aearsis |
xhci: implement sw trb ring
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f79283b
|
8 years |
aearsis |
usb: remove speed storing (and fix that misuse in xhci rh)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a9fcd73
|
8 years |
aearsis |
xhci: rewrite RH to use usb/port
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@feabe163
|
8 years |
salmelu |
xhci: common transfer errors detected and logged
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4cc0c2e0
|
8 years |
salmelu |
xhci: handle missing ring for invalid stream ID
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1af4c00
|
8 years |
salmelu |
xhci: fixed transition to and from streams
Added remove streams …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61e27e80
|
8 years |
salmelu |
xhci: streams: documentation comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dab9ef0
|
8 years |
salmelu |
xhci: stream dealocation after encountering errors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f803831
|
8 years |
salmelu |
xhci: more stream validity checks
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d218bf
|
8 years |
petr.manek |
xhci: decrease message log level
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eeca8a6
|
8 years |
aearsis |
usb: speed moved from default address reservation to enumeration callback
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47e9494
|
8 years |
salmelu |
xhci: stub for streams support
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c3dcd
|
8 years |
aearsis |
xhci commands: wait if the ring is full
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@309d9865
|
8 years |
aearsis |
xhci: update dequeue ptr also for cmd ring
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ff99e8
|
8 years |
aearsis |
xhci: unlock mutex on error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1732929
|
8 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
|
|
|
@8a98e4a
|
8 years |
aearsis |
xhci: implemented TT
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c25c2fb
|
8 years |
aearsis |
usbhost: move managing TT to the library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ed3eb4
|
8 years |
aearsis |
usbhost: endpoint is identified also by its direction
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@001778c
|
8 years |
aearsis |
xhci: set slot context entries to maximum
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36fb6d7
|
8 years |
aearsis |
xhci: add debug functions to dump contexts
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b56e528
|
8 years |
aearsis |
xhci rh: better not disable port on any event
The result of a long …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37b13175
|
8 years |
aearsis |
xhci rh: removed unnecessary mutex locking
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@93757c5
|
8 years |
aearsis |
xhci rh: device tree is built by bus already
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bf601313
|
8 years |
aearsis |
xhci rh: another corner case prevented
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@598733c9
|
8 years |
jenda.jzqk73 |
fix broken debug messages && make it compile
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@837581fd
|
8 years |
aearsis |
xhci: logging changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@230ef1c
|
8 years |
aearsis |
xhci rh: fixed broken event system
The previous one broke when two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@94e9c29
|
8 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
|
|
|
@0e7380f
|
8 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
|
|
|
@fb154e13
|
8 years |
aearsis |
xhci: revised roothub event handling
According to the xHCI …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d25984
|
8 years |
aearsis |
xhci: removed misleading debug log
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba2e17f
|
8 years |
aearsis |
xhci: retry addressing device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e7e99bf
|
8 years |
aearsis |
xhci: return ESTALL for USB Transaction Error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a75f9cbc
|
8 years |
aearsis |
xhci: try to identify custom speeds
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50be3c61
|
8 years |
aearsis |
xhci: removed leftover function
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49e62998
|
8 years |
aearsis |
xhci: defer roothub events processing
There are two new generic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3baab1
|
8 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
|
|
|
@665368c
|
8 years |
salmelu |
xhci: Start tracking mfindex wraps
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69a93d02
|
8 years |
salmelu |
xhci: Fixed isoch failing to start
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4ed803f1
|
8 years |
salmelu |
xhci: Rewritten isoch event handling
Traversing loop looking for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@30fc56f
|
8 years |
aearsis |
xhci: stop endpoint on unregister
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@53a9d02
|
8 years |
aearsis |
usb: fix errors introduced by recent changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17783bf
|
8 years |
aearsis |
xhci: short transfer is a normal condition
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9848c77
|
8 years |
aearsis |
usbhost: renamed bus_device_remove to bus_device_gone
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0892663a
|
8 years |
aearsis |
usbhost: device removal and off/onlining moved into the library
Also, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bad4a05
|
8 years |
aearsis |
usbhost: made device_remove and endpoint_unregister noexcept
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@398a94c
|
8 years |
aearsis |
xhci isoch: bug fixing
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a00bc9
|
8 years |
aearsis |
xhci: fix errors reported by clang
Asserts were unnecessary, because …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f92f6b1
|
8 years |
aearsis |
xhci isoch: made buffer count variable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@708d8fcd
|
8 years |
aearsis |
xhci: rewritten isochronous transfers
There was a fundamental problem …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cf5cbac4
|
8 years |
petr.manek |
xhci: check if endpoint is NULL before retrieving it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0eadfd1e
|
8 years |
petr.manek |
xhci: allocate/free transfer ring internally in endpoint init/fini
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17c5e62
|
8 years |
aearsis |
xhci: make isoch part of endpoint optional
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bdd8842c
|
8 years |
aearsis |
xhci: revised handling of max_burst, mult and max_streams
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eb928c4
|
8 years |
aearsis |
xhci: documentation & cleanup
Also, a simple refactoring to remove …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5e2b1ae6
|
8 years |
aearsis |
usbhost: reserve default speed in library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@63431db2
|
8 years |
aearsis |
xhci: remove unnecessary field
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56257ba
|
8 years |
aearsis |
usbhost: manage endpoints by library + get/set_toggle → reset_toggle
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9efad54
|
8 years |
aearsis |
usb: move endpoint descriptor parsing to HC
This better separates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b60944b
|
8 years |
aearsis |
xhci: inline hc_dcbaa_fini
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11d4c747
|
8 years |
jenda.jzqk73 |
scratchpad: fix overlapping and swapped register fields as per 5.3.4
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c75456
|
8 years |
salmelu |
xhci: isochronous transfers made working
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@deb2e55
|
8 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
|
|
|
@67d58e8
|
8 years |
petr.manek |
xhci: fix typo in device_online
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95a62dc
|
8 years |
petr.manek |
xhci: add [some] docstrings in bus.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e2af3a
|
8 years |
petr.manek |
xhci: add docstrings in endpoint.c
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@74c0de0
|
8 years |
aearsis |
xhci: add memory barrier to event ring
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f543804
|
8 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
|
|
|
@503086d8
|
8 years |
aearsis |
xhci: get IRQ when an error occures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4abb134
|
8 years |
aearsis |
xhci: fix not setting RCS flag
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|