Home
last modified time | relevance | path

Searched refs:cmd_sem (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/iommu/amd/
H A Dinit.c379 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()
977 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL, 1); in alloc_cwwb_sem()
978 if (!iommu->cmd_sem) in alloc_cwwb_sem()
980 iommu->cmd_sem_paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in alloc_cwwb_sem()
1017 iommu->cmd_sem = iommu_memremap(paddr, PAGE_SIZE); in remap_or_alloc_cwwb_sem()
1018 if (!iommu->cmd_sem) in remap_or_alloc_cwwb_sem()
1067 if (iommu->cmd_sem) in free_cwwb_sem()
1068 iommu_free_pages((void *)iommu->cmd_sem); in free_cwwb_sem()
1072 if (iommu->cmd_sem) { in unmap_cwwb_sem()
1074 memunmap((void *)iommu->cmd_sem); in unmap_cwwb_sem()
[all …]
H A Damd_iommu_types.h754 volatile u64 *cmd_sem; member
H A Diommu.c1204 while ((__s64)(READ_ONCE(*iommu->cmd_sem) - data) < 0 && in wait_on_sem()