[PATCH v3 0/3] add xhci hooks for USB offload
From: Albert Wang
Date: Tue Dec 13 2022 - 09:11:31 EST
This serial patches enable the xhci driver to support USB offload, add
hooks for vendor to have customized behavior for the initialization,
memory allocation. Details are in each patch commit message. Meanwhile,
the offload function implementations is uploaded as well.
Albert Wang (1):
usb: host: add the xhci offload hooks implementations
Howard Yen (2):
usb: host: add xhci hooks for USB offload
usb: xhci-plat: add xhci_plat_priv_overwrite
drivers/usb/host/aoc-usb.c | 198 ++++++++++++++
drivers/usb/host/aoc-usb.h | 108 ++++++++
drivers/usb/host/xhci-mem.c | 97 ++++++-
drivers/usb/host/xhci-offload-impl.c | 396 +++++++++++++++++++++++++++
drivers/usb/host/xhci-plat.c | 43 +++
drivers/usb/host/xhci-plat.h | 8 +
drivers/usb/host/xhci.c | 21 ++
drivers/usb/host/xhci.h | 31 +++
8 files changed, 889 insertions(+), 13 deletions(-)
create mode 100644 drivers/usb/host/aoc-usb.c
create mode 100644 drivers/usb/host/aoc-usb.h
create mode 100644 drivers/usb/host/xhci-offload-impl.c
---
Changes in v3:
- Add the offload implementation files
--
2.39.0.rc1.256.g54fd8350bd-goog