Lines Matching defs:offset
394 /* Return gpu_id as doorbell offset for mmap usage */
398 /* On SOC15 ASICs, include the doorbell offset within the
1066 uint64_t offset = args->mmap_offset;
1131 offset = kfd_get_process_doorbells(pdd);
1132 if (!offset) {
1141 offset = dev->adev->rmmio_remap.bus_addr;
1142 if (!offset) {
1150 pdd->drm_priv, (struct kgd_mem **) &mem, &offset,
1174 args->mmap_offset = offset;
1177 * Generate a kfd mmap offset
1956 bo_bucket->offset = KFD_MMAP_TYPE_DOORBELL |
1960 bo_bucket->offset = KFD_MMAP_TYPE_MMIO |
1963 bo_bucket->offset = amdgpu_bo_mmap_offset(dumper_bo);
1974 bo_bucket->offset,
2293 u64 offset;
2300 offset = kfd_get_process_doorbells(pdd);
2301 if (!offset)
2309 offset = pdd->dev->adev->rmmio_remap.bus_addr;
2310 if (!offset) {
2315 offset = bo_priv->user_addr;
2320 &offset, bo_bucket->alloc_flags, criu_resume);
2325 pr_debug("New BO created: size:0x%llx addr:0x%llx offset:0x%llx\n",
2326 bo_bucket->size, bo_bucket->addr, offset);
2345 bo_bucket->restored_offset = offset;
2347 bo_bucket->restored_offset = offset;