mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
PCI: tegra: Add stop edma support
Add support for tegra_pcie_edma_stop to stop EDMA engine and abort any queued transfers. Once EDMA is stopped, any new transfer submits will fail. Bug 3626323 Bug 3868928 Change-Id: Id0e0a662f366e7b2b4d82465a9424037636ffd9c Signed-off-by: Nagarjuna Kristam <nkristam@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2708631 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2815924 Reviewed-by: Manikanta Maddireddy <mmaddireddy@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
59a116a6f8
commit
0c594b0c0b
@@ -151,6 +151,13 @@ void *tegra_pcie_edma_initialize(struct tegra_pcie_edma_init_info *info);
|
||||
edma_xfer_status_t tegra_pcie_edma_submit_xfer(void *cookie,
|
||||
struct tegra_pcie_edma_xfer_info *tx_info);
|
||||
|
||||
/**
|
||||
* @brief: API to stop EDMA engine,.
|
||||
* @param[in] cookie : cookie data returned in tegra_pcie_edma_initialize() call.
|
||||
* @retVal: Returns true on success and false on failure.
|
||||
*/
|
||||
bool tegra_pcie_edma_stop(void *cookie);
|
||||
|
||||
/**
|
||||
* @brief: API to perform de-init of EDMA library.
|
||||
* @param[in] cookie : cookie data returned in tegra_pcie_edma_initialize() call.
|
||||
|
||||
Reference in New Issue
Block a user