qcacmn: Add APIs to get IPA SMMU status

Add APIs to get the IPA SMMU status

Change-Id: I5889f35739b220bd4ad38f4278c133cd97141b22
CRs-Fixed: 2176318
This commit is contained in:
Sravan Kumar Kairam
2018-02-28 17:03:24 +05:30
committed by nshrivas
parent 58e0adfb53
commit 4e417e0ad0
2 changed files with 32 additions and 0 deletions

View File

@@ -646,5 +646,18 @@ static inline int qdf_ipa_broadcast_wdi_quota_reach_ind(uint32_t index,
return __qdf_ipa_broadcast_wdi_quota_reach_ind(index, quota_bytes);
}
#endif
#ifdef ENABLE_SMMU_S1_TRANSLATION
/**
* qdf_get_ipa_smmu_enabled() - to get IPA SMMU enable status
*
* Return: true when IPA SMMU enabled, otherwise false
*/
static inline bool qdf_get_ipa_smmu_enabled(void)
{
return __qdf_get_ipa_smmu_enabled();
}
#endif
#endif /* IPA_OFFLOAD */
#endif /* _QDF_IPA_H */