Lines Matching refs:kfd_node

211 struct kfd_node;
214 bool (*interrupt_isr)(struct kfd_node *dev,
217 void (*interrupt_wq)(struct kfd_node *dev,
238 unsigned int kfd_get_num_sdma_engines(struct kfd_node *kdev);
239 unsigned int kfd_get_num_xgmi_sdma_engines(struct kfd_node *kdev);
259 struct kfd_node { struct
361 struct kfd_node *nodes[MAX_KFD_NODES];
595 struct kfd_node *device;
732 struct kfd_node *dev;
1009 bool kfd_dev_is_large_bar(struct kfd_node *dev);
1020 int kfd_process_gpuid_from_node(struct kfd_process *p, struct kfd_node *node,
1044 struct kfd_process_device *kfd_bind_process_to_device(struct kfd_node *dev,
1046 struct kfd_process_device *kfd_get_process_device_data(struct kfd_node *dev,
1048 struct kfd_process_device *kfd_create_process_device_data(struct kfd_node *dev,
1053 int kfd_reserved_mem_mmap(struct kfd_node *dev, struct kfd_process *process,
1077 int kfd_doorbell_mmap(struct kfd_node *dev, struct kfd_process *process,
1095 int kfd_gtt_sa_allocate(struct kfd_node *node, unsigned int size,
1098 int kfd_gtt_sa_free(struct kfd_node *node, struct kfd_mem_obj *mem_obj);
1111 int kfd_topology_add_device(struct kfd_node *gpu);
1112 int kfd_topology_remove_device(struct kfd_node *gpu);
1118 struct kfd_node *kfd_device_by_id(uint32_t gpu_id);
1119 struct kfd_node *kfd_device_by_pci_dev(const struct pci_dev *pdev);
1120 static inline bool kfd_irq_is_from_node(struct kfd_node *node, uint32_t node_id, in kfd_irq_is_from_node()
1126 static inline struct kfd_node *kfd_node_by_irq_ids(struct amdgpu_device *adev, in kfd_node_by_irq_ids()
1140 int kfd_topology_enum_kfd_devices(uint8_t idx, struct kfd_node **kdev);
1149 int kfd_interrupt_init(struct kfd_node *dev);
1150 void kfd_interrupt_exit(struct kfd_node *dev);
1151 bool enqueue_ih_ring_entry(struct kfd_node *kfd, const void *ih_ring_entry);
1152 bool interrupt_is_wanted(struct kfd_node *dev,
1287 struct kfd_node *dev);
1289 struct kfd_node *dev);
1291 struct kfd_node *dev);
1293 struct kfd_node *dev);
1295 struct kfd_node *dev);
1296 struct device_queue_manager *device_queue_manager_init(struct kfd_node *dev);
1298 struct kernel_queue *kernel_queue_init(struct kfd_node *dev,
1315 struct kfd_node *dev,
1457 void kfd_signal_vm_fault_event(struct kfd_node *dev, u32 pasid,
1461 void kfd_signal_reset_event(struct kfd_node *dev);
1463 void kfd_signal_poison_consumed_event(struct kfd_node *dev, u32 pasid);
1480 void kfd_inc_compute_active(struct kfd_node *dev);
1481 void kfd_dec_compute_active(struct kfd_node *dev);
1485 static inline int kfd_devcgroup_check_permission(struct kfd_node *node) in kfd_devcgroup_check_permission()
1503 static inline bool kfd_is_first_node(struct kfd_node *node) in kfd_is_first_node()
1520 int kfd_debugfs_hang_hws(struct kfd_node *dev);