Commit 6496f6cf authored by Howard Yen's avatar Howard Yen Committed by Greg Kroah-Hartman
Browse files

ANDROID: usb: host: export symbols for xhci hooks usage



Export symbols for xhci hooks usage:
xhci_ring_free
	- Allow xhci hook to free xhci_ring.
xhci_get_slot_ctx
	- Allow xhci hook to get slot_ctx from the xhci_container_ctx
	for getting the slot_ctx information to know which slot is
	offloading and compare the context in remote subsystem memory
	if needed.
xhci_get_ep_ctx
	- Allow xhci hook to get ep_ctx from the xhci_container_ctx for
	getting the ep_ctx information to know which ep is offloading and
	comparing the context in remote subsystem memory if needed.

Export below xhci symbols for vendor modules to manage additional secondary rings.
These will be used to manage the secondary ring for usb audio offload.

xhci_segment_free
	- Free a segment struct.
xhci_remove_stream_mapping
	- Free for sram
xhci_link_segments
	- Make the prev segment point to the next segment.
xhci_initialze_ring_info
	- Initialze a ring struct.
xhci_check_trb_in_td_math
	- Check TRB math for validation.
xhci_address_device
	- Issue an address device command
xhci_bus_suspend
xhci_bus_resume
	- Suspend and resume for power scenario

Change-Id: I2d99bded67024b2a7c625f934567e39ac03a6e5f
Signed-off-by: default avatarHoward Yen <howardyen@google.com>
Bug: 175358363
Bug: 183761108
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Signed-off-by: default avatarDaehwan Jung <dh10.jung@samsung.com>
Signed-off-by: default avatarJaeHun Jung <jh0801.jung@samsung.com>
parent 90ab8e7f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment