|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@a35b458
|
7 years |
zarevucky.jiri |
style: Remove trailing whitespace on _all_ lines, including empty …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@eb862fd
|
7 years |
jenda.jzqk73 |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@45457265
|
7 years |
jenda.jzqk73 |
errno_t all the things!
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@17d34a8
|
7 years |
aearsis |
xhci: finalize rh correctly
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f0048
|
7 years |
aearsis |
xhci: reinitialize in case of HC error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73a5857
|
7 years |
aearsis |
usbhost: add joinable_fibril utility
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b60ea0
|
7 years |
aearsis |
usb: moved dma_buffer from usbhost to usb library
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@047fbc8
|
8 years |
aearsis |
xhci rh: have standalone buffer for events
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8033f89
|
8 years |
aearsis |
xhci: cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@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
|
|
|
@58f4c0f
|
8 years |
aearsis |
xhci: reset also USB 3 ports
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@63431db2
|
8 years |
aearsis |
xhci: remove unnecessary field
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@32fb6bce
|
8 years |
aearsis |
usbhost: refactoring
This commit moves interrupt, status and schedule …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6832245
|
8 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
|
|
|
@b80c1ab
|
8 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
|
|
|
@d33dc780
|
8 years |
petr.manek |
Refactoring. Renamed device array to better reflect its indexing.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9620a54
|
8 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
|
|
|
@6b2930b
|
8 years |
petr.manek |
Issuing deconfigure / configure commands when offlining / onlining a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40a3bfa
|
8 years |
petr.manek |
Refactoring. Moved a lot of device deallocation from root hub to bus. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@25251bb
|
8 years |
aearsis |
xhci: move pointer to hc from device to bus
Also, fixes the bug of hc …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2cf28b9
|
8 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
|
8 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
|
8 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
|
|
|
@c3d926f3
|
8 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
|
8 years |
aearsis |
Moving things around to improve isolation of responsibilities
Bus …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56db65d
|
8 years |
aearsis |
usbhost: provide usb_endpoint_desc_t to bus when registering endpoint
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b724494
|
8 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
|
|
|
@31cca4f3
|
8 years |
petr.manek |
Corrected deadlock in IPC between USB remote interface and usbdev …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@89cefe78
|
8 years |
petr.manek |
Refactored transfer DS allocation in preparation for streams. Also, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4e26882
|
8 years |
petr.manek |
Very rudimentary support for device disconnection.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b61945
|
8 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
|
|
|
@766043c
|
8 years |
petr.manek |
Keeping track of root hub devices by port id.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f45c78f
|
8 years |
petr.manek |
Added boilerplate for device detach.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8ea7459
|
8 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
|
|
|
@913007f
|
8 years |
petr.manek |
Final change with respect to command timeouts. Because communication …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2896ff6
|
8 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
|
8 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
|
|
|
@60af4cdb
|
8 years |
salmelu |
Added get port bandwidth command
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b2f69e
|
8 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
|
8 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
|
8 years |
aearsis |
usbhost refactoring: introduced bus→enumerate_device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@867b375
|
8 years |
aearsis |
hcd_ddf_new_device refactoring
This long function is now split into …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d7869d7e
|
8 years |
petr.manek |
Reading assigned USB addresses, issuing Configure Endpoint commands to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2297fab
|
8 years |
petr.manek |
Reintroduced alloc_dev(), brought it up to speed with recent changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dcf0597
|
8 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
|
|
|
@41924f30
|
8 years |
aearsis |
WIP usbhost refactoring
This commit replaces callbacks with more …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eaf5e86
|
8 years |
aearsis |
xhci: whitespace fixes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e9e24f2
|
8 years |
salmelu |
Basic commands transfer implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@078e0e6
|
8 years |
Jaroslav Jindrak |
Removed unnecessary calls to malloc32 and free32.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4930b15
|
8 years |
petr.manek |
Better log message for the status change handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@916991b
|
8 years |
petr.manek |
Implemented SetStatusFeature request.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9876e34
|
8 years |
petr.manek |
Removed previous implementation, forwarding all events to hub, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@44063d17
|
8 years |
Jaroslav Jindrak |
TRB ring for EP 0 is now stored in the virtual dcbaa.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8afb485
|
8 years |
petr.manek |
Decreased buffer size. Printing warning when interrupt fails.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c4c6a2
|
8 years |
petr.manek |
Invoking virtual interrupt on the emulated root hub upon status change.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c68c713c
|
8 years |
petr.manek |
Cleanup in constants and other small adjustments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@816335c
|
8 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
|
8 years |
petr.manek |
Implemented GetPortStatus request using XHCI port registers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7776cb1
|
8 years |
petr.manek |
Setting correct port number on root hub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f8199ab4
|
8 years |
petr.manek |
Set PwrGood constant.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d14ca59
|
8 years |
petr.manek |
Removed GetHubStatus request implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d07b052
|
8 years |
petr.manek |
Setting root hub header upon init.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@65e079b
|
8 years |
Jaroslav Jindrak |
Fixed ADDRESS_DEVICE command by fixing the size of input control …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@472235a
|
8 years |
aearsis |
xhci: refactoring
Revise error paths, refactor some code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04df063
|
8 years |
aearsis |
xhci commands: enable (and encourage) keeping commands on the stack
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@370a1c8
|
8 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
|
|
|
@decfc8d1
|
8 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
|
|
|
@c33c40e
|
8 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
|
|
|
@07c08ea
|
8 years |
petr.manek |
Basic virtual implementation for the root hub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d32d51d
|
8 years |
petr.manek |
Updated RH implementation with virtual hub emulation structure.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ff9e1d
|
8 years |
Jaroslav Jindrak |
Converting, ep_ring→dequeue is nonsensical as it already is a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@706a3e2
|
8 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
|
|
|
@e4001f7
|
8 years |
petr.manek |
Added cast to make compiler happy.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d967aa1
|
8 years |
petr.manek |
Converting to physical address.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@40053529
|
8 years |
salmelu |
Fixed port reset.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d31705d
|
8 years |
Jaroslav Jindrak |
Added missing command deallocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ee13a7
|
8 years |
Jaroslav Jindrak |
Fixed deallocation, corrected cstyle, removed trailing whitespace, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6fa91e4c
|
8 years |
salmelu |
Added macros for device initialization for roothub.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@174788f
|
8 years |
Jaroslav Jindrak |
Started working on device allocation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66dcc24
|
8 years |
Jaroslav Jindrak |
Fixed port regs reading on port change event, new devices are now …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|