Searched refs:cmd_sem (Results 1 – 3 of 3) sorted by relevance
382 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()995 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL, 1); in alloc_cwwb_sem()996 if (!iommu->cmd_sem) in alloc_cwwb_sem()998 iommu->cmd_sem_paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in alloc_cwwb_sem()1040 iommu->cmd_sem = iommu_memremap(paddr, PAGE_SIZE); in remap_or_alloc_cwwb_sem()1041 if (!iommu->cmd_sem) in remap_or_alloc_cwwb_sem()1082 if (iommu->cmd_sem) in free_cwwb_sem()1083 iommu_free_pages((void *)iommu->cmd_sem); in free_cwwb_sem()1087 if (iommu->cmd_sem) { in unmap_cwwb_sem()1089 memunmap((void *)iommu->cmd_sem); in unmap_cwwb_sem()[all …]
759 volatile u64 *cmd_sem; member
1205 while ((__s64)(READ_ONCE(*iommu->cmd_sem) - data) < 0 && in wait_on_sem()