Searched refs:iommu_dom (Results 1 – 2 of 2) sorted by relevance
238 struct iommu_domain *iommu_dom; in venus_firmware_init() local271 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()
1528 struct iommu_domain *iommu_dom; in ath10k_fw_init() local1561 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()