Searched refs:cmd_sem (Results 1 – 3 of 3) sorted by relevance
388 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()963 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL, 1); in alloc_cwwb_sem()965 return iommu->cmd_sem ? 0 : -ENOMEM; in alloc_cwwb_sem()970 if (iommu->cmd_sem) in free_cwwb_sem()971 iommu_free_page((void *)iommu->cmd_sem); in free_cwwb_sem()3855 ret = iommu_make_shared((void *)iommu->cmd_sem, PAGE_SIZE); in amd_iommu_snp_disable()
781 volatile u64 *cmd_sem; member
994 while (*iommu->cmd_sem != data && i < LOOP_TIMEOUT) { in wait_on_sem()1029 u64 paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in build_completion_wait()