Lines Matching defs:kfd_dev
144 struct kfd_dev { struct
147 const struct kfd_device_info *device_info; argument
148 struct pci_dev *pdev;
150 unsigned int id; /* topology stub index */
152 phys_addr_t doorbell_base; /* Start of actual doorbells used by
156 size_t doorbell_id_offset; /* Doorbell offset (from KFD doorbell
160 size_t doorbell_process_limit; /* Number of processes we have doorbell
163 u32 __iomem *doorbell_kernel_ptr; /* This is a pointer for a doorbells
167 struct kgd2kfd_shared_resources shared_resources;
169 const struct kfd2kgd_calls *kfd2kgd;
170 struct mutex doorbell_mutex;
174 void *gtt_mem;
175 uint64_t gtt_start_gpu_addr;
176 void *gtt_start_cpu_ptr;
177 void *gtt_sa_bitmap;
178 struct mutex gtt_sa_lock;
179 unsigned int gtt_sa_chunk_size;
180 unsigned int gtt_sa_num_of_chunks;
206 struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, argument