Lines Matching refs:hub
139 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_setup_vm_pt_regs() local
142 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
146 hub->ctx_addr_distance * vmid, in mmhub_v3_0_setup_vm_pt_regs()
322 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_setup_vmid_config() local
354 i * hub->ctx_distance, tmp); in mmhub_v3_0_setup_vmid_config()
356 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
358 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_setup_vmid_config()
360 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
363 i * hub->ctx_addr_distance, in mmhub_v3_0_setup_vmid_config()
367 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_setup_vmid_config()
372 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_program_invalidation() local
377 i * hub->eng_addr_distance, 0xffffffff); in mmhub_v3_0_program_invalidation()
379 i * hub->eng_addr_distance, 0x1f); in mmhub_v3_0_program_invalidation()
401 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_gart_disable() local
408 i * hub->ctx_distance, 0); in mmhub_v3_0_gart_disable()
480 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_init() local
482 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_init()
485 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_init()
488 hub->vm_inv_eng0_sem = in mmhub_v3_0_init()
490 hub->vm_inv_eng0_req = in mmhub_v3_0_init()
492 hub->vm_inv_eng0_ack = in mmhub_v3_0_init()
494 hub->vm_context0_cntl = in mmhub_v3_0_init()
496 hub->vm_l2_pro_fault_status = in mmhub_v3_0_init()
498 hub->vm_l2_pro_fault_cntl = in mmhub_v3_0_init()
501 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_init()
502 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_init()
504 hub->eng_distance = regMMVM_INVALIDATE_ENG1_REQ - in mmhub_v3_0_init()
506 hub->eng_addr_distance = regMMVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in mmhub_v3_0_init()
509 hub->vm_cntx_cntl_vm_fault = MMVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in mmhub_v3_0_init()
517 hub->vm_l2_bank_select_reserved_cid2 = in mmhub_v3_0_init()
520 hub->vm_contexts_disable = in mmhub_v3_0_init()
523 hub->vmhub_funcs = &mmhub_v3_0_vmhub_funcs; in mmhub_v3_0_init()