Lines Matching refs:hub
125 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vm_pt_regs() local
128 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs()
132 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_3_setup_vm_pt_regs()
298 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_setup_vmid_config() local
329 i * hub->ctx_distance, tmp); in gfxhub_v3_0_3_setup_vmid_config()
331 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config()
333 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_3_setup_vmid_config()
335 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config()
338 i * hub->ctx_addr_distance, in gfxhub_v3_0_3_setup_vmid_config()
342 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_3_setup_vmid_config()
347 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_program_invalidation() local
352 i * hub->eng_addr_distance, 0xffffffff); in gfxhub_v3_0_3_program_invalidation()
354 i * hub->eng_addr_distance, 0x1f); in gfxhub_v3_0_3_program_invalidation()
376 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_gart_disable() local
383 i * hub->ctx_distance, 0); in gfxhub_v3_0_3_gart_disable()
454 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB(0)]; in gfxhub_v3_0_3_init() local
456 hub->ctx0_ptb_addr_lo32 = in gfxhub_v3_0_3_init()
459 hub->ctx0_ptb_addr_hi32 = in gfxhub_v3_0_3_init()
462 hub->vm_inv_eng0_sem = in gfxhub_v3_0_3_init()
464 hub->vm_inv_eng0_req = in gfxhub_v3_0_3_init()
466 hub->vm_inv_eng0_ack = in gfxhub_v3_0_3_init()
468 hub->vm_context0_cntl = in gfxhub_v3_0_3_init()
470 hub->vm_l2_pro_fault_status = in gfxhub_v3_0_3_init()
472 hub->vm_l2_pro_fault_cntl = in gfxhub_v3_0_3_init()
475 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v3_0_3_init()
476 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v3_0_3_init()
478 hub->eng_distance = regGCVM_INVALIDATE_ENG1_REQ - in gfxhub_v3_0_3_init()
480 hub->eng_addr_distance = regGCVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in gfxhub_v3_0_3_init()
483 hub->vm_cntx_cntl_vm_fault = GCVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in gfxhub_v3_0_3_init()
491 hub->vmhub_funcs = &gfxhub_v3_0_3_vmhub_funcs; in gfxhub_v3_0_3_init()