Searched refs:cmd_sem (Results 1 – 3 of 3) sorted by relevance
365 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()858 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL | __GFP_ZERO, 1); in alloc_cwwb_sem()860 return iommu->cmd_sem ? 0 : -ENOMEM; in alloc_cwwb_sem()865 if (iommu->cmd_sem) in free_cwwb_sem()866 free_page((unsigned long)iommu->cmd_sem); in free_cwwb_sem()
605 volatile u64 *cmd_sem; member
880 while (*iommu->cmd_sem != data && i < LOOP_TIMEOUT) { in wait_on_sem()915 u64 paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in build_completion_wait()