diff options
author | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-05-26 11:02:04 -0700 |
---|---|---|
committer | Yuanyuan Liu <yuanliu@codeaurora.org> | 2016-08-11 15:47:30 -0700 |
commit | a207e02a1d022d39ae0d26dd08a8322552cf80fa (patch) | |
tree | e70628b371966b1e1a915845bf225c1b101df4d2 /include/soc | |
parent | 8d1b122a745229a1d3dda30f2d02d9850b605616 (diff) |
icnss: Provide APIs for getting SMMU mapping context
Provide APIs for getting SMMU mapping context to WLAN
driver.
CRs-Fixed: 1049889
Change-Id: Id7c6aa45608911ae2510e953e4c7d8ae19f8a111
Signed-off-by: Yuanyuan Liu <yuanliu@codeaurora.org>
Diffstat (limited to 'include/soc')
-rw-r--r-- | include/soc/qcom/icnss.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/soc/qcom/icnss.h b/include/soc/qcom/icnss.h index 6275e4536bc0..62f1ff65f273 100644 --- a/include/soc/qcom/icnss.h +++ b/include/soc/qcom/icnss.h @@ -106,5 +106,8 @@ extern int icnss_set_fw_debug_mode(bool enable_fw_log); extern int icnss_get_irq(int ce_id); extern int icnss_power_on(struct device *dev); extern int icnss_power_off(struct device *dev); +extern struct dma_iommu_mapping *icnss_smmu_get_mapping(struct device *dev); +extern int icnss_smmu_map(struct device *dev, phys_addr_t paddr, + uint32_t *iova_addr, size_t size); #endif /* _ICNSS_WLAN_H_ */ |