Skip to content
Commit f66e5c4c authored by Abhishek Shah's avatar Abhishek Shah Committed by Anas Nashif
Browse files

drivers: pcie_ep: Add API to achieve data transfer with system DMA



Introduce common API to achieve data transfer using system DMA.
"System DMA" uses the outbound memory mapped Host address,
it cannot understand Host/PCIe address.

This API will take of mapping the Host address, completing
the data transfer to/from Host memory and unmapping the window;
thus providing abstraction to the user.

Since v1:
- refactored code for the cases where we have valid mapped_addr
  to improve error management logic

Signed-off-by: default avatarAbhishek Shah <abhishek.shah@broadcom.com>
parent 077522e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment