Lines Matching refs:hub
141 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_1_setup_vm_pt_regs() local
144 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs()
148 hub->ctx_addr_distance * vmid, in mmhub_v3_0_1_setup_vm_pt_regs()
309 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_1_setup_vmid_config() local
341 i * hub->ctx_distance, tmp); in mmhub_v3_0_1_setup_vmid_config()
343 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config()
345 i * hub->ctx_addr_distance, 0); in mmhub_v3_0_1_setup_vmid_config()
347 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config()
350 i * hub->ctx_addr_distance, in mmhub_v3_0_1_setup_vmid_config()
354 hub->vm_cntx_cntl = tmp; in mmhub_v3_0_1_setup_vmid_config()
359 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_1_program_invalidation() local
364 i * hub->eng_addr_distance, 0xffffffff); in mmhub_v3_0_1_program_invalidation()
366 i * hub->eng_addr_distance, 0x1f); in mmhub_v3_0_1_program_invalidation()
388 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_1_gart_disable() local
395 i * hub->ctx_distance, 0); in mmhub_v3_0_1_gart_disable()
462 struct amdgpu_vmhub *hub = &adev->vmhub[AMDGPU_MMHUB0(0)]; in mmhub_v3_0_1_init() local
464 hub->ctx0_ptb_addr_lo32 = in mmhub_v3_0_1_init()
467 hub->ctx0_ptb_addr_hi32 = in mmhub_v3_0_1_init()
470 hub->vm_inv_eng0_sem = in mmhub_v3_0_1_init()
472 hub->vm_inv_eng0_req = in mmhub_v3_0_1_init()
474 hub->vm_inv_eng0_ack = in mmhub_v3_0_1_init()
476 hub->vm_context0_cntl = in mmhub_v3_0_1_init()
478 hub->vm_l2_pro_fault_status = in mmhub_v3_0_1_init()
480 hub->vm_l2_pro_fault_cntl = in mmhub_v3_0_1_init()
483 hub->ctx_distance = regMMVM_CONTEXT1_CNTL - regMMVM_CONTEXT0_CNTL; in mmhub_v3_0_1_init()
484 hub->ctx_addr_distance = regMMVM_CONTEXT1_PAGE_TABLE_BASE_ADDR_LO32 - in mmhub_v3_0_1_init()
486 hub->eng_distance = regMMVM_INVALIDATE_ENG1_REQ - in mmhub_v3_0_1_init()
488 hub->eng_addr_distance = regMMVM_INVALIDATE_ENG1_ADDR_RANGE_LO32 - in mmhub_v3_0_1_init()
491 hub->vm_cntx_cntl_vm_fault = MMVM_CONTEXT1_CNTL__RANGE_PROTECTION_FAULT_ENABLE_INTERRUPT_MASK | in mmhub_v3_0_1_init()
499 hub->vmhub_funcs = &mmhub_v3_0_1_vmhub_funcs; in mmhub_v3_0_1_init()