Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
Dkfd_device.c536 struct kfd_dev *kfd; in kgd2kfd_probe() local
591 static void kfd_cwsr_init(struct kfd_dev *kfd) in kfd_cwsr_init()
620 static int kfd_gws_init(struct kfd_dev *kfd) in kfd_gws_init()
646 bool kgd2kfd_device_init(struct kfd_dev *kfd, in kgd2kfd_device_init()
801 void kgd2kfd_device_exit(struct kfd_dev *kfd) in kgd2kfd_device_exit()
819 int kgd2kfd_pre_reset(struct kfd_dev *kfd) in kgd2kfd_pre_reset()
840 int kgd2kfd_post_reset(struct kfd_dev *kfd) in kgd2kfd_post_reset()
864 void kgd2kfd_suspend(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_suspend()
880 int kgd2kfd_resume(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_resume()
902 int kgd2kfd_resume_iommu(struct kfd_dev *kfd) in kgd2kfd_resume_iommu()
[all …]
Dkfd_doorbell.c49 size_t kfd_doorbell_process_slice(struct kfd_dev *kfd) in kfd_doorbell_process_slice()
57 int kfd_doorbell_init(struct kfd_dev *kfd) in kfd_doorbell_init()
120 void kfd_doorbell_fini(struct kfd_dev *kfd) in kfd_doorbell_fini()
168 void __iomem *kfd_get_kernel_doorbell(struct kfd_dev *kfd, in kfd_get_kernel_doorbell()
199 void kfd_release_kernel_doorbell(struct kfd_dev *kfd, u32 __iomem *db_addr) in kfd_release_kernel_doorbell()
229 unsigned int kfd_get_doorbell_dw_offset_in_bar(struct kfd_dev *kfd, in kfd_get_doorbell_dw_offset_in_bar()
245 uint64_t kfd_get_number_elems(struct kfd_dev *kfd) in kfd_get_number_elems()
261 int kfd_alloc_process_doorbells(struct kfd_dev *kfd, unsigned int *doorbell_index) in kfd_alloc_process_doorbells()
271 void kfd_free_process_doorbells(struct kfd_dev *kfd, unsigned int doorbell_index) in kfd_free_process_doorbells()
Dkfd_iommu.h45 static inline int kfd_iommu_check_device(struct kfd_dev *kfd) in kfd_iommu_check_device()
49 static inline int kfd_iommu_device_init(struct kfd_dev *kfd) in kfd_iommu_device_init()
67 static inline void kfd_iommu_suspend(struct kfd_dev *kfd) in kfd_iommu_suspend()
71 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()
218 static int kfd_bind_processes_to_device(struct kfd_dev *kfd) in kfd_bind_processes_to_device()
259 static void kfd_unbind_processes_from_device(struct kfd_dev *kfd) in kfd_unbind_processes_from_device()
289 void kfd_iommu_suspend(struct kfd_dev *kfd) in kfd_iommu_suspend()
306 int kfd_iommu_resume(struct kfd_dev *kfd) in kfd_iommu_resume()
Dkfd_interrupt.c52 int kfd_interrupt_init(struct kfd_dev *kfd) in kfd_interrupt_init()
86 void kfd_interrupt_exit(struct kfd_dev *kfd) in kfd_interrupt_exit()
112 bool enqueue_ih_ring_entry(struct kfd_dev *kfd, const void *ih_ring_entry) in enqueue_ih_ring_entry()
131 static bool dequeue_ih_ring_entry(struct kfd_dev *kfd, void *ih_ring_entry) in dequeue_ih_ring_entry()
Dkfd_mqd_manager_v9.c84 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
292 struct kfd_dev *kfd = mm->dev; in free_mqd() local
Dkfd_packet_manager_v9.c82 struct kfd_dev *kfd = pm->dqm->dev; in pm_runlist_v9() local
Dkfd_packet_manager_vi.c79 struct kfd_dev *kfd = pm->dqm->dev; in pm_runlist_vi() local
Dkfd_mqd_manager_cik.c75 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_v10.c75 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_mqd_manager_vi.c78 static struct kfd_mem_obj *allocate_mqd(struct kfd_dev *kfd, in allocate_mqd()
Dkfd_chardev.c1030 struct kfd_dev *kfd; in kfd_ioctl_create_event() local
Dkfd_priv.h1128 static inline int kfd_devcgroup_check_permission(struct kfd_dev *kfd) in kfd_devcgroup_check_permission()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_amdkfd.h334 bool kgd2kfd_device_init(struct kfd_dev *kfd, struct drm_device *ddev, in kgd2kfd_device_init()
340 static inline void kgd2kfd_device_exit(struct kfd_dev *kfd) in kgd2kfd_device_exit()
344 static inline void kgd2kfd_suspend(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_suspend()
348 static int __maybe_unused kgd2kfd_resume_iommu(struct kfd_dev *kfd) in kgd2kfd_resume_iommu()
353 static inline int kgd2kfd_resume(struct kfd_dev *kfd, bool run_pm) in kgd2kfd_resume()
358 static inline int kgd2kfd_pre_reset(struct kfd_dev *kfd) in kgd2kfd_pre_reset()
363 static inline int kgd2kfd_post_reset(struct kfd_dev *kfd) in kgd2kfd_post_reset()
369 void kgd2kfd_interrupt(struct kfd_dev *kfd, const void *ih_ring_entry) in kgd2kfd_interrupt()
374 void kgd2kfd_set_sram_ecc_flag(struct kfd_dev *kfd) in kgd2kfd_set_sram_ecc_flag()
379 void kgd2kfd_smi_event_throttle(struct kfd_dev *kfd, uint32_t throttle_bitmask) in kgd2kfd_smi_event_throttle()
Damdgpu.h917 struct amdgpu_kfd_dev kfd; member
/kernel/linux/linux-5.10/samples/bpf/
Dtask_fd_query_user.c223 int err, res, kfd, efd; in test_debug_fs_uprobe() local
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-probe.c422 int ret, ret2, ufd = -1, kfd = -1; in perf_del_probe_events() local
/kernel/linux/linux-5.10/tools/perf/util/
Dprobe-file.c117 int probe_file__open_both(int *kfd, int *ufd, int flag) in probe_file__open_both()
Dprobe-event.c3573 int ret, ret2, ufd = -1, kfd = -1; in del_perf_probe_events() local