|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@f270ecb
|
7 years |
petr.manek |
Implemented disable slot for device detachment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@20eaa82
|
7 years |
aearsis |
usbhost refactoring: introduced bus→enumerate_device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@a0be5d0
|
7 years |
salmelu |
Moved ring_doorbell, added address check
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9e24f2
|
7 years |
salmelu |
Basic commands transfer implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@4d28d86
|
7 years |
jenda |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9d905f
|
7 years |
jenda |
macros for handoff delay
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b0dba
|
7 years |
jenda |
BIOS handover
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@3d8a3bd
|
7 years |
Jaroslav Jindrak |
Fixed the issue that cause waiting for command completion in alloc_dev …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@decfc8d1
|
7 years |
Jaroslav Jindrak |
Dcbaa_virt now contains the virtual device contexts instead of just …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b415cc
|
7 years |
Jaroslav Jindrak |
Fixed root hub interrupt detection logic.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee28ae66
|
7 years |
Jaroslav Jindrak |
Fixed deallocation in case of command init failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d271f78
|
7 years |
Jaroslav Jindrak |
Fixed deallocation incase of rh_init failure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c33c40e
|
7 years |
petr.manek |
Fixed infinite loop bug. Support non-zero address for RH.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17f24d9
|
7 years |
petr.manek |
Discovered correct way of determining RH address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60ac352
|
7 years |
petr.manek |
Better way to detect root hub interrupts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07c08ea
|
7 years |
petr.manek |
Basic virtual implementation for the root hub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d32d51d
|
7 years |
petr.manek |
Updated RH implementation with virtual hub emulation structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@706a3e2
|
7 years |
Jaroslav Jindrak |
Dcbaa_virt now points to virtual device contexts that contain pointers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@275f529
|
7 years |
petr.manek |
Detecting transfer types.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ee13a7
|
7 years |
Jaroslav Jindrak |
Fixed deallocation, corrected cstyle, removed trailing whitespace, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73e5b62
|
7 years |
Jaroslav Jindrak |
DCBAA now correctly holds physical addresses of the device contexts, a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9bec1c
|
7 years |
Jaroslav Jindrak |
Refactored the add_command function, the return of the cmd was meant …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eff60ca
|
7 years |
Jaroslav Jindrak |
Refactored the code to ease up the load of irrelevant information in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c46c356
|
7 years |
Jaroslav Jindrak |
Added command list deallocation during hc finalization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e50bdd92
|
7 years |
Jaroslav Jindrak |
Event handler now processes all event trbs that belong to us on the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a06fd64
|
7 years |
Jaroslav Jindrak |
Fixed the ERDP update, we were missing macro definitions for EHB and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@aee352c
|
7 years |
Jaroslav Jindrak |
Added a temporary workaround about faulty interrupts (IP being reset …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12fba858
|
7 years |
Jaroslav Jindrak |
Fixed the value of ERDP sent to the xHC, according to section 4.9.4 it …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@955e988
|
7 years |
Jaroslav Jindrak |
Fixed cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@37789b5f
|
7 years |
Jaroslav Jindrak |
Fixed the dcbaa pointer passed to the xHC.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7bd99bf
|
7 years |
salmelu |
Added roothub communication for adding devices.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ac5eb1
|
7 years |
Jaroslav Jindrak |
Added means to send & handle disable slot command, improved cstyle and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ee5408
|
7 years |
Jaroslav Jindrak |
Added a basic event handler that currently only calls the command …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fd9f4ffe
|
7 years |
Jaroslav Jindrak |
The xHC now properly gets the physical addresses (with correct …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c9c0e41
|
7 years |
Jaroslav Jindrak |
Moved commands into their own set of files (WIP).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a9ae994
|
7 years |
Jaroslav Jindrak |
Fixed label name and loop variable type.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3256a6c
|
7 years |
Jaroslav Jindrak |
Added deallocation of dcbaa and device contexts.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b19131c5
|
7 years |
Jaroslav Jindrak |
added scratchpad definition, allocation and deallocation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8cbc167
|
7 years |
Jaroslav Jindrak |
changed dcbaa to array of pointers, see section 6.1
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@91ca111
|
7 years |
aearsis |
xhci: extended capability handling
Currently, only detection of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4d7363
|
7 years |
aearsis |
usbhost: refactor the initialization
Before that, drivers had to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb89430
|
7 years |
aearsis |
xhci: event rings && hc initialization (WIP)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62ba2cbe
|
7 years |
aearsis |
xhci: dumping operational state
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5cbccd4
|
7 years |
aearsis |
xhci: register structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|