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.c363 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()
981 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL, 1); in alloc_cwwb_sem()
982 if (!iommu->cmd_sem) in alloc_cwwb_sem()
984 iommu->cmd_sem_paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in alloc_cwwb_sem()
1026 iommu->cmd_sem = iommu_memremap(paddr, PAGE_SIZE); in remap_or_alloc_cwwb_sem()
1027 if (!iommu->cmd_sem) in remap_or_alloc_cwwb_sem()
1068 if (iommu->cmd_sem) in free_cwwb_sem()
1069 iommu_free_pages((void *)iommu->cmd_sem); in free_cwwb_sem()
1073 if (iommu->cmd_sem) { in unmap_cwwb_sem()
1075 memunmap((void *)iommu->cmd_sem); in unmap_cwwb_sem()
[all …]
H A Damd_iommu_types.h736 volatile u64 *cmd_sem; member
H A Diommu.c1239 while ((__s64)(READ_ONCE(*iommu->cmd_sem) - data) < 0 && in wait_on_sem()