Searched refs:cmd_sem (Results 1 – 3 of 3) sorted by relevance
391 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()960 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL | __GFP_ZERO, 1); in alloc_cwwb_sem()962 return iommu->cmd_sem ? 0 : -ENOMEM; in alloc_cwwb_sem()967 if (iommu->cmd_sem) in free_cwwb_sem()968 free_page((unsigned long)iommu->cmd_sem); in free_cwwb_sem()
743 volatile u64 *cmd_sem; member
897 while (*iommu->cmd_sem != data && i < LOOP_TIMEOUT) { in wait_on_sem()932 u64 paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in build_completion_wait()