Searched refs:iommu_dom (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | ahb.c | 956 struct iommu_domain *iommu_dom; in ath11k_ahb_fw_resources_init() local 998 iommu_dom = iommu_domain_alloc(&platform_bus_type); in ath11k_ahb_fw_resources_init() 999 if (!iommu_dom) { in ath11k_ahb_fw_resources_init() 1005 ret = iommu_attach_device(iommu_dom, ab_ahb->fw.dev); in ath11k_ahb_fw_resources_init() 1011 ret = iommu_map(iommu_dom, ab_ahb->fw.msa_paddr, in ath11k_ahb_fw_resources_init() 1019 ret = iommu_map(iommu_dom, ab_ahb->fw.ce_paddr, in ath11k_ahb_fw_resources_init() 1028 ab_ahb->fw.iommu_domain = iommu_dom; in ath11k_ahb_fw_resources_init() 1034 iommu_unmap(iommu_dom, ab_ahb->fw.msa_paddr, ab_ahb->fw.msa_size); in ath11k_ahb_fw_resources_init() 1037 iommu_detach_device(iommu_dom, ab_ahb->fw.dev); in ath11k_ahb_fw_resources_init() 1040 iommu_domain_free(iommu_dom); in ath11k_ahb_fw_resources_init()
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | snoc.c | 1592 struct iommu_domain *iommu_dom; in ath10k_fw_init() local 1625 iommu_dom = iommu_domain_alloc(&platform_bus_type); in ath10k_fw_init() 1626 if (!iommu_dom) { in ath10k_fw_init() 1632 ret = iommu_attach_device(iommu_dom, ar_snoc->fw.dev); in ath10k_fw_init() 1638 ar_snoc->fw.iommu_domain = iommu_dom; in ath10k_fw_init() 1641 ret = iommu_map(iommu_dom, ar_snoc->fw.fw_start_addr, in ath10k_fw_init() 1654 iommu_detach_device(iommu_dom, ar_snoc->fw.dev); in ath10k_fw_init() 1657 iommu_domain_free(iommu_dom); in ath10k_fw_init()
|