Home
last modified time | relevance | path

Searched refs:iommu_dom (Results 1 – 2 of 2) sorted by relevance

/drivers/media/platform/qcom/venus/
Dfirmware.c238 struct iommu_domain *iommu_dom; in venus_firmware_init() local
271 iommu_dom = iommu_domain_alloc(&platform_bus_type); in venus_firmware_init()
272 if (!iommu_dom) { in venus_firmware_init()
278 ret = iommu_attach_device(iommu_dom, core->fw.dev); in venus_firmware_init()
284 core->fw.iommu_domain = iommu_dom; in venus_firmware_init()
291 iommu_domain_free(iommu_dom); in venus_firmware_init()
/drivers/net/wireless/ath/ath10k/
Dsnoc.c1528 struct iommu_domain *iommu_dom; in ath10k_fw_init() local
1561 iommu_dom = iommu_domain_alloc(&platform_bus_type); in ath10k_fw_init()
1562 if (!iommu_dom) { in ath10k_fw_init()
1568 ret = iommu_attach_device(iommu_dom, ar_snoc->fw.dev); in ath10k_fw_init()
1574 ar_snoc->fw.iommu_domain = iommu_dom; in ath10k_fw_init()
1577 ret = iommu_map(iommu_dom, ar_snoc->fw.fw_start_addr, in ath10k_fw_init()
1590 iommu_detach_device(iommu_dom, ar_snoc->fw.dev); in ath10k_fw_init()
1593 iommu_domain_free(iommu_dom); in ath10k_fw_init()