Lines Matching refs:hub

132 	struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)];  in mmhub_v3_0_2_setup_vm_pt_regs()  local
135 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs()
139 hub->ctx_addr_distance * vmid, in mmhub_v3_0_2_setup_vm_pt_regs()
314 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_2_setup_vmid_config() local
346 i * hub->ctx_distance, tmp); in mmhub_v3_0_2_setup_vmid_config()
348 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config()
350 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_2_setup_vmid_config()
352 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config()
355 i * hub->ctx_addr_distance, in mmhub_v3_0_2_setup_vmid_config()
359 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_2_setup_vmid_config()
364 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_2_program_invalidation() local
369 i * hub->eng_addr_distance, 0xffffffff); in mmhub_v3_0_2_program_invalidation()
371 i * hub->eng_addr_distance, 0x1f); in mmhub_v3_0_2_program_invalidation()
393 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_2_gart_disable() local
400 i * hub->ctx_distance, 0); in mmhub_v3_0_2_gart_disable()
472 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_2_init() local
474 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_2_init()
477 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_2_init()
480 hub->vm_inv_eng0_sem = in mmhub_v3_0_2_init()
482 hub->vm_inv_eng0_req = in mmhub_v3_0_2_init()
484 hub->vm_inv_eng0_ack = in mmhub_v3_0_2_init()
486 hub->vm_context0_cntl = in mmhub_v3_0_2_init()
488 hub->vm_l2_pro_fault_status = in mmhub_v3_0_2_init()
490 hub->vm_l2_pro_fault_cntl = in mmhub_v3_0_2_init()
493 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_2_init()
494 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_2_init()
496 hub->eng_distance = regMMVM_INVALIDATE_ENG1_REQ - in mmhub_v3_0_2_init()
498 hub->eng_addr_distance = regMMVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in mmhub_v3_0_2_init()
501 hub->vm_cntx_cntl_vm_fault = MMVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in mmhub_v3_0_2_init()
509 hub->vm_l2_bank_select_reserved_cid2 = in mmhub_v3_0_2_init()
512 hub->vmhub_funcs = &mmhub_v3_0_2_vmhub_funcs; in mmhub_v3_0_2_init()