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.c388 u64 start = iommu_virt_to_phys((void *)iommu->cmd_sem); in iommu_set_cwwb_range()
963 iommu->cmd_sem = iommu_alloc_4k_pages(iommu, GFP_KERNEL, 1); in alloc_cwwb_sem()
965 return iommu->cmd_sem ? 0 : -ENOMEM; in alloc_cwwb_sem()
970 if (iommu->cmd_sem) in free_cwwb_sem()
971 iommu_free_page((void *)iommu->cmd_sem); in free_cwwb_sem()
3855 ret = iommu_make_shared((void *)iommu->cmd_sem, PAGE_SIZE); in amd_iommu_snp_disable()
H A Damd_iommu_types.h781 volatile u64 *cmd_sem; member
H A Diommu.c994 while (*iommu->cmd_sem != data && i < LOOP_TIMEOUT) { in wait_on_sem()
1029 u64 paddr = iommu_virt_to_phys((void *)iommu->cmd_sem); in build_completion_wait()