Lines Matching full:hub

122 	struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0];  in gfxhub_v3_0_setup_vm_pt_regs()  local
125 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs()
129 hub->ctx_addr_distance * vmid, in gfxhub_v3_0_setup_vm_pt_regs()
292 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_setup_vmid_config() local
323 i * hub->ctx_distance, tmp); in gfxhub_v3_0_setup_vmid_config()
325 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config()
327 i * hub->ctx_addr_distance, 0); in gfxhub_v3_0_setup_vmid_config()
329 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config()
332 i * hub->ctx_addr_distance, in gfxhub_v3_0_setup_vmid_config()
336 hub->vm_cntx_cntl = tmp; in gfxhub_v3_0_setup_vmid_config()
341 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_program_invalidation() local
346 i * hub->eng_addr_distance, 0xffffffff); in gfxhub_v3_0_program_invalidation()
348 i * hub->eng_addr_distance, 0x1f); in gfxhub_v3_0_program_invalidation()
382 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_gart_disable() local
389 i * hub->ctx_distance, 0); in gfxhub_v3_0_gart_disable()
487 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_GFXHUB_0]; in gfxhub_v3_0_init() local
489 hub->ctx0_ptb_addr_lo32 = in gfxhub_v3_0_init()
492 hub->ctx0_ptb_addr_hi32 = in gfxhub_v3_0_init()
495 hub->vm_inv_eng0_sem = in gfxhub_v3_0_init()
497 hub->vm_inv_eng0_req = in gfxhub_v3_0_init()
499 hub->vm_inv_eng0_ack = in gfxhub_v3_0_init()
501 hub->vm_context0_cntl = in gfxhub_v3_0_init()
503 hub->vm_l2_pro_fault_status = in gfxhub_v3_0_init()
505 hub->vm_l2_pro_fault_cntl = in gfxhub_v3_0_init()
508 hub->ctx_distance = regGCVM_CONTEXT1_CNTL - regGCVM_CONTEXT0_CNTL; in gfxhub_v3_0_init()
509 hub->ctx_addr_distance = regGCVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in gfxhub_v3_0_init()
511 hub->eng_distance = regGCVM_INVALIDATE_ENG1_REQ - in gfxhub_v3_0_init()
513 hub->eng_addr_distance = regGCVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in gfxhub_v3_0_init()
516 hub->vm_cntx_cntl_vm_fault = GCVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in gfxhub_v3_0_init()
524 hub->vmhub_funcs = &gfxhub_v3_0_vmhub_funcs; in gfxhub_v3_0_init()