summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/sitecustomize.py
diff options
context:
space:
mode:
authorJack Pham <jackp@qti.qualcomm.com>2025-03-05 19:07:20 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-03-18 20:29:20 +0000
commit70db6510d1b40978dcb8877de55bc6915fa1145a (patch)
tree11ce068cad827cfe43f8d6b52bf59fa27fa9d771 /BaseTools/Source/Python/sitecustomize.py
parent17cdc512f02a2dfd1b9e24133da56fdda099abda (diff)
downloadedk2-70db6510d1b40978dcb8877de55bc6915fa1145a.zip
edk2-70db6510d1b40978dcb8877de55bc6915fa1145a.tar.gz
edk2-70db6510d1b40978dcb8877de55bc6915fa1145a.tar.bz2
MdeModulePkg/XhciDxe: Refactor endpoint interval calculation
Currently the bInterval value must be calculated differently based on whether the endpoint type is isochronous or interrupt, and whether the device is low, full, high or super speed. Plus, this is duplicated for both XhcInitializeEndpointContext() and XhcInitializeEndpointContext64(). To reduce code complexity and duplication, and for future ease of maintenance, factor this logic out to a separate CalculateInterval() helper function. Signed-off-by: Jack Pham <jackp@qti.qualcomm.com>
Diffstat (limited to 'BaseTools/Source/Python/sitecustomize.py')
0 files changed, 0 insertions, 0 deletions