aboutsummaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorKrishna Kurapati <[email protected]>2024-04-20 10:18:54 +0530
committerGreg Kroah-Hartman <[email protected]>2024-04-23 19:56:09 -0700
commit921e109c6200741499ad0136e41cca9d16431c92 (patch)
tree6af2c9fee687f17e915eefaeb82e8cccae2cf2a1 /rust/helpers/helpers.c
parent9cea6c1f54157fa64f7bbdfd236db281fce3e446 (diff)
usb: dwc3: core: Access XHCI address space temporarily to read port info
All DWC3 Multi Port controllers that exist today only support host mode. Temporarily map XHCI address space for host-only controllers and parse XHCI Extended Capabilities registers to read number of usb2 ports and usb3 ports present on multiport controller. Each USB Port is at least HS capable. The port info for usb2 and usb3 phy are identified as num_usb2_ports and num_usb3_ports and these are used as iterators for phy operations and for modifying GUSB2PHYCFG/ GUSB3PIPECTL registers accordingly. Signed-off-by: Krishna Kurapati <[email protected]> Reviewed-by: Bjorn Andersson <[email protected]> Acked-by: Thinh Nguyen <[email protected]> Reviewed-by: Johan Hovold <[email protected]> Tested-by: Johan Hovold <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions