Lines Matching refs:kfd
215 return (addr + adev->kfd.dev->pgmap.range.start) >> PAGE_SHIFT; in svm_migrate_addr_to_pfn()
245 return (addr - adev->kfd.dev->pgmap.range.start); in svm_migrate_addr()
436 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram()
438 0, adev->kfd.dev->id, prange->prefetch_loc, in svm_migrate_vma_to_vram()
469 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_vram()
471 0, adev->kfd.dev->id, trigger); in svm_migrate_vma_to_vram()
703 kfd_smi_event_migration_start(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram()
705 adev->kfd.dev->id, 0, prange->prefetch_loc, in svm_migrate_vma_to_ram()
739 kfd_smi_event_migration_end(adev->kfd.dev, p->lead_thread->pid, in svm_migrate_vma_to_ram()
741 adev->kfd.dev->id, 0, trigger); in svm_migrate_vma_to_ram()
993 struct kfd_dev *kfddev = adev->kfd.dev; in svm_migrate_init()