Home
last modified time | relevance | path

Searched defs:kfd (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c64 static void kfd_device_info_set_sdma_info(struct kfd_dev *kfd) in kfd_device_info_set_sdma_info()
124 static void kfd_device_info_set_event_interrupt_class(struct kfd_dev *kfd) in kfd_device_info_set_event_interrupt_class()
165 static void kfd_device_info_init(struct kfd_dev *kfd, in kfd_device_info_init()
228 struct kfd_dev *kfd = NULL; in kgd2kfd_probe() local
448 static void kfd_cwsr_init(struct kfd_dev *kfd) in kfd_cwsr_init()
485 static int kfd_gws_init(struct kfd_dev *kfd) in kfd_gws_init()
513 bool kgd2kfd_device_init(struct kfd_dev *kfd, in kgd2kfd_device_init()
684 void kgd2kfd_device_exit(struct kfd_dev *kfd) in kgd2kfd_device_exit()
701 int kgd2kfd_pre_reset(struct kfd_dev *kfd) in kgd2kfd_pre_reset()
722 int kgd2kfd_post_reset(struct kfd_dev *kfd) in kgd2kfd_post_reset()
[all …]
Dkfd_doorbell.c50 size_t kfd_doorbell_process_slice(struct kfd_dev *kfd) in kfd_doorbell_process_slice()
62 int kfd_doorbell_init(struct kfd_dev *kfd) in kfd_doorbell_init()
135 void kfd_doorbell_fini(struct kfd_dev *kfd) in kfd_doorbell_fini()
185 void __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd, in kfd_get_kernel_doorbell()
216 void kfd_release_kernel_doorbell(struct kfd_dev *kfd, u32 __iomem *db_addr) in kfd_release_kernel_doorbell()
246 unsigned int kfd_get_doorbell_dw_offset_in_bar(struct kfd_dev *kfd, in kfd_get_doorbell_dw_offset_in_bar()
268 uint64_t kfd_get_number_elems(struct kfd_dev *kfd) in kfd_get_number_elems()
291 int kfd_alloc_process_doorbells(struct kfd_dev *kfd, unsigned int *doorbell_index) in kfd_alloc_process_doorbells()
312 void kfd_free_process_doorbells(struct kfd_dev *kfd, unsigned int doorbell_index) in kfd_free_process_doorbells()
Dkfd_iommu.h46 static inline int kfd_iommu_check_device(struct kfd_dev *kfd) in kfd_iommu_check_device()
50 static inline int kfd_iommu_device_init(struct kfd_dev *kfd) in kfd_iommu_device_init()
68 static inline void kfd_iommu_suspend(struct kfd_dev *kfd) in kfd_iommu_suspend()
72 static inline int kfd_iommu_resume(struct kfd_dev *kfd) in kfd_iommu_resume()
Dkfd_iommu.c43 int kfd_iommu_check_device(struct kfd_dev *kfd) in kfd_iommu_check_device()
64 int kfd_iommu_device_init(struct kfd_dev *kfd) in kfd_iommu_device_init()
207 static int kfd_bind_processes_to_device(struct kfd_dev *kfd) in kfd_bind_processes_to_device()
248 static void kfd_unbind_processes_from_device(struct kfd_dev *kfd) in kfd_unbind_processes_from_device()
278 void kfd_iommu_suspend(struct kfd_dev *kfd) in kfd_iommu_suspend()
295 int kfd_iommu_resume(struct kfd_dev *kfd) in kfd_iommu_resume()
Dkfd_interrupt.c53 int kfd_interrupt_init(struct kfd_dev *kfd) in kfd_interrupt_init()
87 void kfd_interrupt_exit(struct kfd_dev *kfd) in kfd_interrupt_exit()
113 bool enqueue_ih_ring_entry(struct kfd_dev *kfd, const void *ih_ring_entry) in enqueue_ih_ring_entry()
132 static bool dequeue_ih_ring_entry(struct kfd_dev *kfd, void *ih_ring_entry) in dequeue_ih_ring_entry()
Dkfd_packet_manager_vi.c80 struct kfd_dev *kfd = pm->dqm->dev; in pm_runlist_vi() local
Dkfd_packet_manager_v9.c122 struct kfd_dev *kfd = pm->dqm->dev; in pm_runlist_v9() local
Dkfd_mqd_manager_v11.c84 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_v10.c77 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_cik.c77 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_v9.c86 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_vi.c80 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_events.c351 struct kfd_dev *kfd; in kfd_kmap_event_page() local
Dkfd_priv.h1365 static inline int kfd_devcgroup_check_permission(struct kfd_dev *kfd) in kfd_devcgroup_check_permission()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h386 bool kgd2kfd_device_init(struct kfd_dev *kfd, struct drm_device *ddev, in kgd2kfd_device_init()
392 static inline void kgd2kfd_device_exit(struct kfd_dev *kfd) in kgd2kfd_device_exit()
396 static inline void kgd2kfd_suspend(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_suspend()
400 static int __maybe_unused kgd2kfd_resume_iommu(struct kfd_dev *kfd) in kgd2kfd_resume_iommu()
405 static inline int kgd2kfd_resume(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_resume()
410 static inline int kgd2kfd_pre_reset(struct kfd_dev *kfd) in kgd2kfd_pre_reset()
415 static inline int kgd2kfd_post_reset(struct kfd_dev *kfd) in kgd2kfd_post_reset()
421 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt()
426 void kgd2kfd_set_sram_ecc_flag(struct kfd_dev *kfd) in kgd2kfd_set_sram_ecc_flag()
431 void kgd2kfd_smi_event_throttle(struct kfd_dev *kfd, uint64_t throttle_bitmask) in kgd2kfd_smi_event_throttle()
Damdgpu.h946 struct amdgpu_kfd_dev kfd; member
/linux-6.1.9/samples/bpf/
Dtask_fd_query_user.c234 int err = -1, res, kfd, efd; in test_debug_fs_uprobe() local
/linux-6.1.9/tools/perf/
Dbuiltin-probe.c425 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
/linux-6.1.9/tools/perf/util/
Dprobe-file.c152 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both()
Dprobe-event.c3698 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local